| Visioscan Set SDK Libraries 1.3.5 Visioscan Set SDK Help documentation file for C++ and C++/CLI |

Loading...
Searching...
No Matches
WOnOffDelay.h
1#pragma once
2#include "../AgvSensor/OnOffDelay.h"
3#include "../AgvSensor/Enumerations.h"
4 namespace Com {
5 namespace AgvSensorWrapper {
6 namespace Structs {
7 public ref class WOnOffDelay
8 {
9 public:
10 WOnOffDelay() {
11 _onOffDelay = new OnOffDelay();
12 }
13
14 WOnOffDelay(WOnOffDelay^ toCopy) {
15 _onOffDelay = new OnOffDelay();
16 Near = toCopy->Near;
17 Middle = toCopy->Middle;
18 Far = toCopy->Far;
19 }
20 ~WOnOffDelay() {
21 delete(_onOffDelay);
22 }
23
24 property unsigned int Near {
25 unsigned int get() {
26 return _onOffDelay->GetNear();
27 }
28 void set(unsigned int x) {
29 _onOffDelay->SetNear(x);
30 }
31 }
32
33 property unsigned int Middle {
34 unsigned int get() {
35 return _onOffDelay->GetMiddle();
36 }
37 void set(unsigned int x) {
38 _onOffDelay->SetMiddle(x);
39 }
40 }
41
42 property unsigned int Far {
43 unsigned int get() {
44 return _onOffDelay->GetFar();
45 }
46 void set(unsigned int x) {
47 _onOffDelay->SetFar(x);
48 }
49 }
50
51
52 property OnOffDelay* __native {
53 OnOffDelay* get() {
54 return _onOffDelay;
55 }
56 }
57
58 static bool operator== (WOnOffDelay^ pComp1, WOnOffDelay^ pComp2) {
59 if (System::Object::ReferenceEquals(pComp1, pComp2))
60 return true;
61
62 if (System::Object::ReferenceEquals(pComp1, nullptr) ||
63 System::Object::ReferenceEquals(pComp2, nullptr)) {
64 return false;
65 }
66 return pComp1->Near == pComp2->Near
67 && pComp1->Middle == pComp2->Middle
68 && pComp1->Far == pComp2->Far;
69 }
70
71 static bool operator!= (WOnOffDelay^ pComp1, WOnOffDelay^ pComp2) {
72 return !(pComp1 == pComp2);
73 }
74
75 private:
76 OnOffDelay* _onOffDelay;
77 };
78 }
79 }
80}
Com
Definition WActiveLevel.h:7
OnOffDelay
Definition OnOffDelay.h:10
Com::AgvSensorWrapper::Structs::WOnOffDelay
Definition WOnOffDelay.h:8
Com::AgvSensorWrapper::Structs::WOnOffDelay::~WOnOffDelay
~WOnOffDelay()
Definition WOnOffDelay.h:20
Com::AgvSensorWrapper::Structs::WOnOffDelay::WOnOffDelay
WOnOffDelay()
Definition WOnOffDelay.h:10
Com::AgvSensorWrapper::Structs::WOnOffDelay::WOnOffDelay
WOnOffDelay(WOnOffDelay^ toCopy)
Definition WOnOffDelay.h:14
Com::AgvSensorWrapper::Structs::WOnOffDelay::Near
property unsigned int Near
Definition WOnOffDelay.h:24