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

Loading...
Searching...
No Matches
WOutputActiveLevel.h
1#pragma once
2#include "../AgvSensor/OutputActiveLevel.h"
3#include "../AgvSensor/Enumerations.h"
4
5 using namespace WEnumerations;
6
7 namespace Com {
8 namespace AgvSensorWrapper {
9 namespace Structs {
10 public ref class WOutputActiveLevel
11 {
12 public:
13 WOutputActiveLevel() {
14 _outputActiveLevel = new OutputActiveLevel();
15 }
16 WOutputActiveLevel(WOutputActiveLevel^ toCopy) {
17 _outputActiveLevel = new OutputActiveLevel();
18 Output1 = toCopy->Output1;
19 Output2 = toCopy->Output2;
20 Output3 = toCopy->Output3;
21 Output4 = toCopy->Output4;
22 }
23 ~WOutputActiveLevel() {
24 delete(_outputActiveLevel);
25 }
26
27
28 property ActiveLevelEnum Output1 {
29 ActiveLevelEnum get() {
30 return static_cast<ActiveLevelEnum>(_outputActiveLevel->GetOutput1());
31 }
32 void set(ActiveLevelEnum x) {
33 _outputActiveLevel->SetOutput1((NativeActiveLevelEnum)x);
34 }
35 }
36 property ActiveLevelEnum Output2 {
37 ActiveLevelEnum get() {
38 return static_cast<ActiveLevelEnum>(_outputActiveLevel->GetOutput2());
39 }
40 void set(ActiveLevelEnum x) {
41 _outputActiveLevel->SetOutput2((NativeActiveLevelEnum)x);
42 }
43 }
44 property ActiveLevelEnum Output3 {
45 ActiveLevelEnum get() {
46 return static_cast<ActiveLevelEnum>(_outputActiveLevel->GetOutput3());
47 }
48 void set(ActiveLevelEnum x) {
49 _outputActiveLevel->SetOutput3((NativeActiveLevelEnum)x);
50 }
51 }
52 property ActiveLevelEnum Output4 {
53 ActiveLevelEnum get() {
54 return static_cast<ActiveLevelEnum>(_outputActiveLevel->GetOutput4());
55 }
56 void set(ActiveLevelEnum x) {
57 _outputActiveLevel->SetOutput4((NativeActiveLevelEnum)x);
58 }
59 }
60
61 property OutputActiveLevel* __native {
62 OutputActiveLevel* get() {
63 return _outputActiveLevel;
64 }
65 }
66
67 static bool operator== (WOutputActiveLevel^ pComp1, WOutputActiveLevel^ pComp2) {
68 return pComp1->Output1 == pComp2->Output1
69 && pComp1->Output2 == pComp2->Output2
70 && pComp1->Output3 == pComp2->Output3
71 && pComp1->Output4 == pComp2->Output4;
72 }
73
74 static bool operator!= (WOutputActiveLevel^ pComp1, WOutputActiveLevel^ pComp2) {
75 return pComp1->Output1 != pComp2->Output1
76 || pComp1->Output2 != pComp2->Output2
77 || pComp1->Output3 != pComp2->Output3
78 || pComp1->Output4 != pComp2->Output4;
79 }
80
81 private:
82 OutputActiveLevel* _outputActiveLevel;
83 };
84 }
85 }
86}
Com
Definition WAgvSensor.h:26
WEnumerations
Definition WEnums.h:4
WEnumerations::ActiveLevelEnum
ActiveLevelEnum
Definition WEnums.h:22
OutputActiveLevel
Definition OutputActiveLevel.h:12
Com::AgvSensorWrapper::Structs::WOutputActiveLevel
Definition WOutputActiveLevel.h:11
Com::AgvSensorWrapper::Structs::WOutputActiveLevel::WOutputActiveLevel
WOutputActiveLevel(WOutputActiveLevel^ toCopy)
Definition WOutputActiveLevel.h:16
Com::AgvSensorWrapper::Structs::WOutputActiveLevel::WOutputActiveLevel
WOutputActiveLevel()
Definition WOutputActiveLevel.h:13
Com::AgvSensorWrapper::Structs::WOutputActiveLevel::Output1
property ActiveLevelEnum Output1
Definition WOutputActiveLevel.h:28
Com::AgvSensorWrapper::Structs::WOutputActiveLevel::~WOutputActiveLevel
~WOutputActiveLevel()
Definition WOutputActiveLevel.h:23