\doxysection{WEthernet\+Settings.\+h}
\hypertarget{a00557_source}{}\label{a00557_source}\index{WEthernetSettings.h@{WEthernetSettings.h}}

\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{preprocessor}{\#pragma\ once}}
\DoxyCodeLine{00002\ \textcolor{preprocessor}{\#include\ "{}WBaseSettings.h"{}}}
\DoxyCodeLine{00003\ \textcolor{preprocessor}{\#include\ "{}WUtilities.h"{}}}
\DoxyCodeLine{00004\ \textcolor{preprocessor}{\#include\ <EthernetSettings.h>}}
\DoxyCodeLine{00005\ }
\DoxyCodeLine{00006\ \textcolor{keyword}{using\ namespace\ }System;}
\DoxyCodeLine{00007\ \textcolor{keyword}{using\ namespace\ }std;}
\DoxyCodeLine{00008\ \textcolor{keyword}{using\ namespace\ }\mbox{\hyperlink{a00635}{WBase}};}
\DoxyCodeLine{00009\ \textcolor{keyword}{using\ namespace\ }\mbox{\hyperlink{a00633}{WUtils}};}
\DoxyCodeLine{00010\ }
\DoxyCodeLine{00011\ \textcolor{keyword}{namespace\ }\mbox{\hyperlink{a00637}{WCommunication}}\ \{}
\DoxyCodeLine{00015\ \ \ \ \ \textcolor{keyword}{public\ ref\ class}\ \mbox{\hyperlink{a01004}{WEthernetSettings}}\ :\ \textcolor{keyword}{public}\ WBaseSettings}
\DoxyCodeLine{00016\ \ \ \ \ \{}
\DoxyCodeLine{00017\ \ \ \ \ \textcolor{keyword}{public}:}
\DoxyCodeLine{00018\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01004_ace9379304287f86349ea55a9e1f2915b}{WEthernetSettings}}()\ \{}
\DoxyCodeLine{00019\ \ \ \ \ \ \ \ \ \ \ \ \ \_settings\ =\ \textcolor{keyword}{new}\ \mbox{\hyperlink{a00876}{EthernetSettings}}();}
\DoxyCodeLine{00020\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00021\ }
\DoxyCodeLine{00022\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01004_a7b69ea5b56a3624a63c82ff7659d0a76}{WEthernetSettings}}(String\string^\ pIp,\ \textcolor{keywordtype}{int}\ pTcpPort,\ \textcolor{keywordtype}{int}\ pUdpPort)\ \{}
\DoxyCodeLine{00023\ \ \ \ \ \ \ \ \ \ \ \ \ \_settings\ =\ \textcolor{keyword}{new}\ \mbox{\hyperlink{a00876}{EthernetSettings}}(\textcolor{keywordtype}{string}(\mbox{\hyperlink{a01044_abd61f8446cca891042dd652174c59385}{WConverter::ConvertToNativeString}}(pIp)),\ pTcpPort,\ pUdpPort);}
\DoxyCodeLine{00024\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00025\ }
\DoxyCodeLine{00026\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01004_ad3a3acd0b8c1eea5fe96094bbf22b8d1}{WEthernetSettings}}(String\string^\ pIp,\ \textcolor{keywordtype}{int}\ pTcpPort,\ \textcolor{keywordtype}{int}\ pUdpPort,\ \textcolor{keywordtype}{int}\ pDataTimeout)\ \{}
\DoxyCodeLine{00027\ \ \ \ \ \ \ \ \ \ \ \ \ \_settings\ =\ \textcolor{keyword}{new}\ \mbox{\hyperlink{a00876}{EthernetSettings}}(\textcolor{keywordtype}{string}(\mbox{\hyperlink{a01044_abd61f8446cca891042dd652174c59385}{WConverter::ConvertToNativeString}}(pIp)),\ pTcpPort,\ pUdpPort,\ pDataTimeout);}
\DoxyCodeLine{00028\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00029\ }
\DoxyCodeLine{00030\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01004_aea8da7c9201580c9aaff39530bd122d1}{\string~WEthernetSettings}}()\ \{}
\DoxyCodeLine{00031\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{delete}(\_settings);}
\DoxyCodeLine{00032\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00033\ }
\DoxyCodeLine{00034\ \ \ \ \ \ \ \ \ \textcolor{keyword}{property}\ String\string^\ Ip\ \{}
\DoxyCodeLine{00035\ \ \ \ \ \ \ \ \ \ \ \ \ String\string^\ get()\ \{}
\DoxyCodeLine{00036\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ gcnew\ String(((\mbox{\hyperlink{a00876}{EthernetSettings}}*)\_settings)-\/>GetIp().c\_str());}
\DoxyCodeLine{00037\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00038\ }
\DoxyCodeLine{00039\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{void}\ set(String\string^\ x)\ \{}
\DoxyCodeLine{00040\ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00041\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((\mbox{\hyperlink{a00876}{EthernetSettings}}*)\_settings)-\/>SetIp(\textcolor{keywordtype}{string}(\mbox{\hyperlink{a01044_abd61f8446cca891042dd652174c59385}{WConverter::ConvertToNativeString}}(x)));}
\DoxyCodeLine{00042\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00043\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00044\ }
\DoxyCodeLine{00045\ \ \ \ \ \ \ \ \ \textcolor{keyword}{property}\ \textcolor{keywordtype}{int}\ TcpPort\ \{}
\DoxyCodeLine{00046\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{int}\ get()\ \{}
\DoxyCodeLine{00047\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ ((\mbox{\hyperlink{a00876}{EthernetSettings}}*)\_settings)-\/>GetTcpPort();}
\DoxyCodeLine{00048\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00049\ }
\DoxyCodeLine{00050\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{void}\ set(\textcolor{keywordtype}{int}\ x)\ \{}
\DoxyCodeLine{00051\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((\mbox{\hyperlink{a00876}{EthernetSettings}}*)\_settings)-\/>SetTcpPort(x);}
\DoxyCodeLine{00052\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00053\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00054\ }
\DoxyCodeLine{00055\ \ \ \ \ \ \ \ \ \textcolor{keyword}{property}\ \textcolor{keywordtype}{int}\ UdpPort\ \{}
\DoxyCodeLine{00056\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{int}\ get()\ \{}
\DoxyCodeLine{00057\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ ((\mbox{\hyperlink{a00876}{EthernetSettings}}*)\_settings)-\/>GetUdpPort();}
\DoxyCodeLine{00058\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00059\ }
\DoxyCodeLine{00060\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{void}\ set(\textcolor{keywordtype}{int}\ x)\ \{}
\DoxyCodeLine{00061\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((\mbox{\hyperlink{a00876}{EthernetSettings}}*)\_settings)-\/>SetUdpPort(x);}
\DoxyCodeLine{00062\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00063\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00064\ }
\DoxyCodeLine{00065\ \ \ \ \ \};}
\DoxyCodeLine{00066\ \}}

\end{DoxyCode}
