Visioscan Set SDK Libraries 1.0.14
Visioscan Set SDK Help documentation file for C++ and C++/CLI
 
Loading...
Searching...
No Matches
WHoldTime.h
1#pragma once
2#include "../AgvSensor/HoldTime.h"
3#include "../AgvSensor/Enumerations.h"
4namespace Bea {
5 namespace AgvSensorWrapper {
6 namespace Structs {
7 public ref class WHoldTime
8 {
9 public:
11 _holdTime = new HoldTime();
12 }
13
15 _holdTime = new HoldTime();
16 Protection = toCopy->Protection;
17 Warning1 = toCopy->Warning1;
18 Warning2 = toCopy->Warning2;
19 }
21 delete(_holdTime);
22 }
23
24 property unsigned int Protection {
25 unsigned int get() {
26 return _holdTime->GetProtection();
27 }
28 void set(unsigned int x) {
29 _holdTime->SetProtection(x);
30 }
31 }
32
33 property unsigned int Warning1 {
34 unsigned int get() {
35 return _holdTime->GetWarning1();
36 }
37 void set(unsigned int x) {
38 _holdTime->SetWarning1(x);
39 }
40 }
41
42 property unsigned int Warning2 {
43 unsigned int get() {
44 return _holdTime->GetWarning2();
45 }
46 void set(unsigned int x) {
47 _holdTime->SetWarning2(x);
48 }
49 }
50
51
52 property HoldTime* __native {
53 HoldTime* get() {
54 return _holdTime;
55 }
56 }
57
58 static bool operator== (WHoldTime^ pComp1, WHoldTime^ pComp2) {
59 return pComp1->Protection == pComp2->Protection
60 && pComp1->Warning1 == pComp2->Warning1
61 && pComp1->Warning2 == pComp2->Warning2;
62 }
63
64 static bool operator!= (WHoldTime^ pComp1, WHoldTime^ pComp2) {
65 return pComp1->Protection != pComp2->Protection
66 || pComp1->Warning1 != pComp2->Warning1
67 || pComp1->Warning2 != pComp2->Warning2;
68 }
69
70 private:
71 HoldTime* _holdTime;
72 };
73 }
74 }
75}
76
Definition WAgvSensor.h:26
Definition HoldTime.h:10
WHoldTime()
Definition WHoldTime.h:10
~WHoldTime()
Definition WHoldTime.h:20
property unsigned int Protection
Definition WHoldTime.h:24
WHoldTime(WHoldTime^ toCopy)
Definition WHoldTime.h:14