Visioscan Set SDK Libraries 1.3.5
Visioscan Set SDK Help documentation file for C++ and C++/CLI
 
Loading...
Searching...
No Matches
WDefaultValues.h
1#pragma once
2#include "../AgvSensor/DefaultValues.h"
3#include "../AgvSensor/Enumerations.h"
4#include "WObjectSize.h"
5#include "WWarningSpot.h"
6#include "WOnOffDelay.h"
7#include "WActiveLevel.h"
8#include "WOutputFunction.h"
9#include "WAgvSensorLeds.h"
10
11using namespace WEnumerations;
12using namespace System;
13using namespace std;
14using namespace WUtils;
15using namespace System::Collections::Generic;
16using namespace Com::AgvSensorWrapper::Structs;
17
18namespace Com {
19 namespace AgvSensorWrapper {
20 namespace Structs {
21 public ref class WDefaultValues
22 {
23 public:
25
26 }
27
29 if (toCopy == nullptr)
30 return;
31 _deviceName = toCopy->_deviceName;
32 _angleRange = toCopy->_angleRange != nullptr ? gcnew WAngleRange(toCopy->_angleRange) : nullptr;
34 _objectSize = toCopy->_objectSize != nullptr ? gcnew WObjectSize(toCopy->_objectSize) : nullptr;
35 _warningSpot = toCopy->_warningSpot != nullptr ? gcnew WWarningSpot(toCopy->_warningSpot) : nullptr;
36 _onDelays = toCopy->_onDelays != nullptr ? gcnew WOnOffDelay(toCopy->_onDelays) : nullptr;
37 _offDelays = toCopy->_offDelays != nullptr ? gcnew WOnOffDelay(toCopy->_offDelays) : nullptr;
38 _outputFunction = toCopy->_outputFunction != nullptr ? gcnew WOutputFunction(toCopy->_outputFunction) : nullptr;
39 _outputActiveLevel = toCopy->_outputActiveLevel != nullptr ? gcnew WActiveLevel(toCopy->_outputActiveLevel) : nullptr;
40 _sensorLeds = toCopy->_sensorLeds != nullptr ? gcnew WAgvSensorLeds(toCopy->_sensorLeds) : nullptr;
41 _zoneMode = toCopy->_zoneMode;
42 }
43
46
47 property String^ DeviceName {
48 String^ get() { return _deviceName; }
49 void set(String^ value) { _deviceName = value; }
50 }
51
52 property WAngleRange^ AngleRange {
53 WAngleRange^ get() { return _angleRange; }
54 void set(WAngleRange^ value) { _angleRange = value; }
55 }
56
59 void set(WContaminationThreshold^ value) { _contaminationThreshold = value; }
60 }
61
62 property WObjectSize^ ObjectSize {
63 WObjectSize^ get() { return _objectSize; }
64 void set(WObjectSize^ value) { _objectSize = value; }
65 }
66
67 property WWarningSpot^ WarningSpot {
68 WWarningSpot^ get() { return _warningSpot; }
69 void set(WWarningSpot^ value) { _warningSpot = value; }
70 }
71
72 property WOnOffDelay^ OnDelays {
73 WOnOffDelay^ get() { return _onDelays; }
74 void set(WOnOffDelay^ value) { _onDelays = value; }
75 }
76
77 property WOnOffDelay^ OffDelays {
78 WOnOffDelay^ get() { return _offDelays; }
79 void set(WOnOffDelay^ value) { _offDelays = value; }
80 }
81
83 WOutputFunction^ get() { return _outputFunction; }
84 void set(WOutputFunction^ value) { _outputFunction = value; }
85 }
86
87 property WActiveLevel^ OutputActiveLevel {
88 WActiveLevel^ get() { return _outputActiveLevel; }
89 void set(WActiveLevel^ value) { _outputActiveLevel = value; }
90 }
91
92 property WAgvSensorLeds^ SensorLeds {
93 WAgvSensorLeds^ get() { return _sensorLeds; }
94 void set(WAgvSensorLeds^ value) { _sensorLeds = value; }
95 }
96 property ZoneModeEnum ZoneMode {
97 ZoneModeEnum get() { return _zoneMode; }
98 void set(ZoneModeEnum value) { _zoneMode = value; }
99 }
100
101 private:
102 String^ _deviceName;
113
114 };
115 }
116 }
117}
118
Definition WActiveLevel.h:7
Definition WActiveLevel.h:9
Definition WAvailableResolution.h:7
Definition WEnums.h:4
ZoneModeEnum
Definition WEnums.h:32
Definition ObjectSize.h:13
Definition OutputFunction.h:12
Definition WarningSpot.h:13
WObjectSize _objectSize
Definition WDefaultValues.h:105
WOnOffDelay _offDelays
Definition WDefaultValues.h:108
ZoneModeEnum _zoneMode
Definition WDefaultValues.h:112
WWarningSpot _warningSpot
Definition WDefaultValues.h:106
WOnOffDelay _onDelays
Definition WDefaultValues.h:107
WOutputFunction _outputFunction
Definition WDefaultValues.h:109
WActiveLevel _outputActiveLevel
Definition WDefaultValues.h:110
WAgvSensorLeds _sensorLeds
Definition WDefaultValues.h:111
~WDefaultValues()
Definition WDefaultValues.h:44
property String DeviceName
Definition WDefaultValues.h:47
WDefaultValues(WDefaultValues^ toCopy)
Definition WDefaultValues.h:28
WDefaultValues()
Definition WDefaultValues.h:24
WContaminationThreshold _contaminationThreshold
Definition WDefaultValues.h:104
WAngleRange _angleRange
Definition WDefaultValues.h:103
Helper to encapsulate the Angle range data.
Definition AngleRange.h:13
Helper to encapsulate the contamination threshold.
Definition ContaminationThreshold.h:12
Helper to encapsulate the sensor leds state.
Definition SensorLeds.h:11
A wrapper on the AngleRange data encapsulation.
Definition WAngleRange.h:7
A wrapper on the ContaminationThreshold data encapsulation.
Definition WContaminationThreshold.h:7