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

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