Repository navigation
Expand file tree
/
Copy pathProperties.cs
More file actions
125 lines (112 loc) · 2.38 KB
/
Copy pathProperties.cs
File metadata and controls
125 lines (112 loc) · 2.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO.Ports;
using System.Windows.Forms;
namespace term
{
public static class Props
{
public static Panel PanelToEdit;
public static bool
previewMode = false,
resizeMode = false;
public static PreviewObjectIndex previewIndex;
public static bool shallClose = false;
}
/// <summary>
/// The way the keyword is checked by a rule.
/// </summary>
public enum KeywordCheckOperation
{
Contains,
ContainsNot,
IsEqual,
ExecuteAlways,
LAST_INDEX
}
/// <summary>
/// Kind of ControlObject.
/// </summary>
public enum PreviewObjectIndex
{
Label,
Button,
Combo,
Textbox,
Invalid,
LAST_INDEX
}
/// <summary>
/// What shall be displayed in the targetobject?
/// </summary>
public enum DisplayOperation
{
Keyword,
DisplayText,
YesNo,
RawData,
LAST_INDEX
}
/// <summary>
/// Choice of the pressed mouse button.
/// </summary>
public enum MouseClickIndex
{
SingleClick,
DoubleClick,
LAST_INDEX
}
/// <summary>
/// Which action shall be executed by a button?
/// </summary>
public enum ButtonActionIndex
{
OpenClosePort,
SendSerial,
ShowHideObject,
AddToComboBox,
LAST_INDEX
}
/// <summary>
/// When shall a rule send a serial answer?
/// </summary>
public enum SendOperationIndex
{
YesNo,
Always,
LAST_INDEX
}
/// <summary>
/// Return if a function shall be executed or not.
/// </summary>
public enum FunctionResultIndex
{
ResultYes,
ResultNo,
LAST_INDEX
}
/// <summary>
/// What kind of output shall a function create?
/// </summary>
public enum RuleOutputType
{
Serial,
Visual,
Both,
None,
LAST_INDEX
}
/// <summary>
/// Where shall the message to send come from when the button is pressed?
/// </summary>
public enum SendOnClickMessageSourceIndex
{
HardSetMessage,
FromComboBox,
FromTextBox,
LAST_INDEX
}
}