-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclassmisc.py
More file actions
executable file
·40 lines (36 loc) · 1.12 KB
/
classmisc.py
File metadata and controls
executable file
·40 lines (36 loc) · 1.12 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
#!/usr/bin/env python
class Activity(object):
Active=True
ActivityName=""
EnableActionsVariablesDependenciesControl=False
TargetApplication=""
def __init__(self,Active,ActivityName):
self.Active=Active
self.ActivityName=ActivityName
def convertToRobotCode(self):
return "| " + self.ActivityName+"\n"
class FlowControl(object):
Active=True
Condition=""
FlowControlAction=""
Value=""
def __init__(self,Condition,FlowControlAction,Value):
# self.Active=Active
self.Condition=Condition
self.FlowControlAction=FlowControlAction
self.Value=Value
def convertToRobotCode(self):
return
class VariableString(object):
Name=""
ParentType=""
InitialStringValue=""
ParentType=""
Value=""
def __init__(self,Name,ParentType,InitialStringValue,Value):
self.Name=Name
self.ParentType=ParentType
self.InitialStringValue=InitialStringValue
self.Value=Value
def convertToRobotCode(self):
return self.Name + "=" +self.InitialStringValue