55class StateMachine :
66 """
77 This is a class defines state machine operations.
8-
8+
99 Attributes:
1010 xml_file (str): The name of the xml that defines the state machine.
1111 states (list): list of possible states of the machine.
@@ -16,7 +16,7 @@ class StateMachine:
1616 def __init__ (self , xml_file : str ):
1717 """
1818 The constructor for StateMachine class.
19-
19+
2020 Parameters:
2121 xml_file (str): The name of the xml that defines the state machine.
2222 """
@@ -31,7 +31,7 @@ def __init__(self, xml_file: str):
3131 def __CheckConditions (self , conditions ):
3232 """
3333 This Function checks the conditions passed as argument
34-
34+
3535 Parameters:
3636 conditions (list): List of condition to check.
3737 Returns:
@@ -69,7 +69,7 @@ def __CheckConditions(self, conditions):
6969 def __ExecActions (self , actions ):
7070 """
7171 This Function executes the actions passed as argument
72-
72+
7373 Parameters:
7474 actions (list): List of actions to execute.
7575 Returns:
@@ -115,7 +115,7 @@ def __RestoreState(self):
115115 def __PrepareExpression (expression ):
116116 """
117117 This Function split expression in module and expression
118-
118+
119119 Parameters:
120120 expression (str): complete expression.
121121 Returns:
@@ -148,7 +148,7 @@ def LoadStateMachine(self):
148148 def addModuleToContext (self , module : str ):
149149 """
150150 This Function adds a module to the context of state machine
151-
151+
152152 Parameters:
153153 module (str): The module to add.
154154 """
@@ -158,7 +158,7 @@ def addModuleToContext(self, module: str):
158158 def InjectEvent (self , event : str ):
159159 """
160160 This Function execute the event injected
161-
161+
162162 Parameters:
163163 event (str): Event injected
164164 """
0 commit comments