Visioscan Set SDK Libraries 1.3.5
Visioscan Set SDK Help documentation file for C++ and C++/CLI
 
Loading...
Searching...
No Matches
WActiveLevel.h
1#pragma once
2#include "../AgvSensor/ActiveLevel.h"
3#include "../AgvSensor/Enumerations.h"
4
5using namespace WEnumerations;
6
7namespace Com {
8 namespace AgvSensorWrapper {
9 namespace Structs {
10 public ref class WActiveLevel
11 {
12 public:
14 _outputActiveLevel = new ActiveLevel();
15 }
17 _outputActiveLevel = new ActiveLevel();
18 Level1 = toCopy->Level1;
19 Level2 = toCopy->Level2;
20 Level3 = toCopy->Level3;
21 Level4 = toCopy->Level4;
22 ErrorLevel = toCopy->ErrorLevel;
23 }
25 delete(_outputActiveLevel);
26 }
27
28
30 ActiveLevelEnum get() {
31 return static_cast<ActiveLevelEnum>(_outputActiveLevel->GetLevel1());
32 }
33 void set(ActiveLevelEnum x) {
34 _outputActiveLevel->SetLevel1((NativeActiveLevelEnum)x);
35 }
36 }
37 property ActiveLevelEnum Level2 {
38 ActiveLevelEnum get() {
39 return static_cast<ActiveLevelEnum>(_outputActiveLevel->GetLevel2());
40 }
41 void set(ActiveLevelEnum x) {
42 _outputActiveLevel->SetLevel2((NativeActiveLevelEnum)x);
43 }
44 }
45 property ActiveLevelEnum Level3 {
46 ActiveLevelEnum get() {
47 return static_cast<ActiveLevelEnum>(_outputActiveLevel->GetLevel3());
48 }
49 void set(ActiveLevelEnum x) {
50 _outputActiveLevel->SetLevel3((NativeActiveLevelEnum)x);
51 }
52 }
53 property ActiveLevelEnum Level4 {
54 ActiveLevelEnum get() {
55 return static_cast<ActiveLevelEnum>(_outputActiveLevel->GetLevel4());
56 }
57 void set(ActiveLevelEnum x) {
58 _outputActiveLevel->SetLevel4((NativeActiveLevelEnum)x);
59 }
60 }
61 property ActiveLevelEnum ErrorLevel{
62 ActiveLevelEnum get() {
63 return static_cast<ActiveLevelEnum>(_outputActiveLevel->GetErrorLevel());
64 }
65 void set(ActiveLevelEnum x) {
66 _outputActiveLevel->SetErrorLevel((NativeActiveLevelEnum)x);
67 }
68 }
69
70 property ActiveLevel* __native {
71 ActiveLevel* get() {
72 return _outputActiveLevel;
73 }
74 }
75
76 static bool operator== (WActiveLevel^ pComp1, WActiveLevel^ pComp2) {
77 if (System::Object::ReferenceEquals(pComp1, pComp2))
78 return true;
79
80 if (System::Object::ReferenceEquals(pComp1, nullptr) ||
81 System::Object::ReferenceEquals(pComp2, nullptr)) {
82 return false;
83 }
84 return pComp1->Level1 == pComp2->Level1
85 && pComp1->Level2 == pComp2->Level2
86 && pComp1->Level3 == pComp2->Level3
87 && pComp1->Level4 == pComp2->Level4
88 && pComp1->ErrorLevel == pComp2->ErrorLevel;
89 }
90
91 static bool operator!= (WActiveLevel^ pComp1, WActiveLevel^ pComp2) {
92 return !(pComp1 == pComp2);
93 }
94
95 private:
96 ActiveLevel* _outputActiveLevel;
97 };
98 }
99 }
100}
Definition WActiveLevel.h:7
Definition WEnums.h:4
ActiveLevelEnum
Definition WEnums.h:22
Definition ActiveLevel.h:12
property ActiveLevelEnum Level1
Definition WActiveLevel.h:29
~WActiveLevel()
Definition WActiveLevel.h:24
WActiveLevel(WActiveLevel^ toCopy)
Definition WActiveLevel.h:16
WActiveLevel()
Definition WActiveLevel.h:13