| Visioscan Set SDK Libraries 1.0.28 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 return pComp1->ContaminationLed == pComp2->ContaminationLed
58 && pComp1->StatusLed == pComp2->StatusLed
59 && pComp1->LogoLed == pComp2->LogoLed;
60 }
61
62 static bool operator!= (WAgvSensorLeds^ pComp1, WAgvSensorLeds^ pComp2) {
63 return pComp1->ContaminationLed != pComp2->ContaminationLed
64 || pComp1->StatusLed != pComp2->StatusLed
65 || pComp1->LogoLed != pComp2->LogoLed;
66 }
67
68 private:
69 AgvSensorLeds* _AgvSensorLeds;
70 };
71 }
72 }
73}
Com
Definition WAgvSensor.h:26
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