\doxysection{WContamination\+Threshold.\+h}
\hypertarget{a00239_source}{}\label{a00239_source}\index{WContaminationThreshold.h@{WContaminationThreshold.h}}

\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{preprocessor}{\#pragma\ once}}
\DoxyCodeLine{00002\ \textcolor{preprocessor}{\#include\ <RawDataSensor.h>}}
\DoxyCodeLine{00006\ \textcolor{keyword}{public\ ref\ class}\ \mbox{\hyperlink{a00764}{WContaminationThreshold}}}
\DoxyCodeLine{00007\ \{}
\DoxyCodeLine{00008\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00009\ \ \ \ \ \mbox{\hyperlink{a00764_aa5d80781eb4ce242a11dca36cf90a99b}{WContaminationThreshold}}()\ \{}
\DoxyCodeLine{00010\ \ \ \ \ \ \ \ \ \_cont\ =\ \textcolor{keyword}{new}\ \mbox{\hyperlink{a00736}{ContaminationThreshold}}();}
\DoxyCodeLine{00011\ \ \ \ \ \}}
\DoxyCodeLine{00012\ }
\DoxyCodeLine{00013\ \ \ \ \ \mbox{\hyperlink{a00764_a8ed71658be5cddaccada865bcbc4622b}{WContaminationThreshold}}(\mbox{\hyperlink{a00764}{WContaminationThreshold}}\string^\ toCopy)\ \{}
\DoxyCodeLine{00014\ \ \ \ \ \ \ \ \ \_cont\ =\ \textcolor{keyword}{new}\ \mbox{\hyperlink{a00736}{ContaminationThreshold}}();}
\DoxyCodeLine{00015\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00764_a12d93fc5ad2ac6656bc04fbff2306d3e}{Warning}}\ =\ toCopy-\/>\mbox{\hyperlink{a00764_a12d93fc5ad2ac6656bc04fbff2306d3e}{Warning}};}
\DoxyCodeLine{00016\ \ \ \ \ \ \ \ \ Error\ =\ toCopy-\/>Error;}
\DoxyCodeLine{00017\ \ \ \ \ \}}
\DoxyCodeLine{00018\ }
\DoxyCodeLine{00019\ \ \ \ \ \mbox{\hyperlink{a00764_a6ab75c51cd2ce8f255cb3fb1130c89b7}{\string~WContaminationThreshold}}()\ \{}
\DoxyCodeLine{00020\ \ \ \ \ \ \ \ \ \textcolor{keyword}{delete}(\_cont);}
\DoxyCodeLine{00021\ \ \ \ \ \}}
\DoxyCodeLine{00022\ }
\DoxyCodeLine{00023\ \ \ \ \ \textcolor{keyword}{property}\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{a00764_a12d93fc5ad2ac6656bc04fbff2306d3e}{Warning}}\ \{}
\DoxyCodeLine{00024\ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{int}\ get()\ \{}
\DoxyCodeLine{00025\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \_cont-\/>GetWarning();}
\DoxyCodeLine{00026\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00027\ }
\DoxyCodeLine{00028\ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{void}\ set(\textcolor{keywordtype}{int}\ x)\ \{}
\DoxyCodeLine{00029\ \ \ \ \ \ \ \ \ \ \ \ \ \_cont-\/>SetWarning(x);}
\DoxyCodeLine{00030\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00031\ \ \ \ \ \}}
\DoxyCodeLine{00032\ }
\DoxyCodeLine{00033\ \ \ \ \ \textcolor{keyword}{property}\ \textcolor{keywordtype}{int}\ Error\ \{}
\DoxyCodeLine{00034\ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{int}\ get()\ \{}
\DoxyCodeLine{00035\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \_cont-\/>GetError();}
\DoxyCodeLine{00036\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00037\ }
\DoxyCodeLine{00038\ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{void}\ set(\textcolor{keywordtype}{int}\ x)\ \{}
\DoxyCodeLine{00039\ \ \ \ \ \ \ \ \ \ \ \ \ \_cont-\/>SetError(x);}
\DoxyCodeLine{00040\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00041\ \ \ \ \ \}}
\DoxyCodeLine{00042\ }
\DoxyCodeLine{00043\ }
\DoxyCodeLine{00044\ \ \ \ \ \textcolor{keyword}{property}\ \mbox{\hyperlink{a00736}{ContaminationThreshold}}*\ \_\_native\ \{}
\DoxyCodeLine{00045\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00736}{ContaminationThreshold}}*\ get()\ \{}
\DoxyCodeLine{00046\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \_cont;}
\DoxyCodeLine{00047\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00048\ \ \ \ \ \}}
\DoxyCodeLine{00049\ }
\DoxyCodeLine{00050\ \ \ \ \ \textcolor{keyword}{static}\ \textcolor{keywordtype}{bool}\ operator==\ (\mbox{\hyperlink{a00764}{WContaminationThreshold}}\string^\ pComp1,\ \mbox{\hyperlink{a00764}{WContaminationThreshold}}\string^\ pComp2)\ \{}
\DoxyCodeLine{00051\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (System::Object::ReferenceEquals(pComp1,\ pComp2))}
\DoxyCodeLine{00052\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \textcolor{keyword}{true};}
\DoxyCodeLine{00053\ }
\DoxyCodeLine{00054\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (System::Object::ReferenceEquals(pComp1,\ \textcolor{keyword}{nullptr})\ ||}
\DoxyCodeLine{00055\ \ \ \ \ \ \ \ \ \ \ \ \ System::Object::ReferenceEquals(pComp2,\ \textcolor{keyword}{nullptr}))\ \{}
\DoxyCodeLine{00056\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \textcolor{keyword}{false};}
\DoxyCodeLine{00057\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00058\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ pComp1-\/>\mbox{\hyperlink{a00764_a12d93fc5ad2ac6656bc04fbff2306d3e}{Warning}}\ ==\ pComp2-\/>\mbox{\hyperlink{a00764_a12d93fc5ad2ac6656bc04fbff2306d3e}{Warning}}\ \&\&\ pComp1-\/>Error\ ==\ pComp2-\/>Error;}
\DoxyCodeLine{00059\ \ \ \ \ \}}
\DoxyCodeLine{00060\ }
\DoxyCodeLine{00061\ \ \ \ \ \textcolor{keyword}{static}\ \textcolor{keywordtype}{bool}\ operator!=\ (\mbox{\hyperlink{a00764}{WContaminationThreshold}}\string^\ pComp1,\ \mbox{\hyperlink{a00764}{WContaminationThreshold}}\string^\ pComp2)\ \{}
\DoxyCodeLine{00062\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ !(pComp1\ ==\ pComp2);}
\DoxyCodeLine{00063\ \ \ \ \ \}}
\DoxyCodeLine{00064\ }
\DoxyCodeLine{00065\ }
\DoxyCodeLine{00066\ \textcolor{keyword}{private}:}
\DoxyCodeLine{00067\ \ \ \ \ \mbox{\hyperlink{a00736}{ContaminationThreshold}}*\ \_cont;}
\DoxyCodeLine{00068\ \};}
\DoxyCodeLine{00069\ }

\end{DoxyCode}
