1
|
|
|
import asyncio |
2
|
|
|
|
3
|
|
|
from asyncua import Server, ua, Node |
4
|
|
|
from asyncua.common.instantiate_util import instantiate |
5
|
|
|
|
6
|
|
|
class StateMachineTypeClass(object): |
7
|
|
|
def __init__(self, server=None, parent=None): |
8
|
|
|
self._server = server |
9
|
|
|
self._parent = parent |
10
|
|
|
raise NotImplementedError |
11
|
|
|
|
12
|
|
|
class FiniteStateMachineTypeClass(StateMachineTypeClass): |
13
|
|
|
def __init__(self, server=None, parent=None): |
14
|
|
|
super().__init__(server, parent) |
15
|
|
|
raise NotImplementedError |
16
|
|
|
|
17
|
|
|
class ExclusiveLimitStateMachineTypeClass(FiniteStateMachineTypeClass): |
18
|
|
|
def __init__(self, server=None, parent=None): |
19
|
|
|
super().__init__(server, parent) |
20
|
|
|
raise NotImplementedError |
21
|
|
|
|
22
|
|
|
class FileTransferStateMachineTypeClass(FiniteStateMachineTypeClass): |
23
|
|
|
def __init__(self, server=None, parent=None): |
24
|
|
|
super().__init__(server, parent) |
25
|
|
|
raise NotImplementedError |
26
|
|
|
|
27
|
|
|
class ProgramStateMachineTypeClass(FiniteStateMachineTypeClass): |
28
|
|
|
def __init__(self, server=None, parent=None): |
29
|
|
|
super().__init__(server, parent) |
30
|
|
|
raise NotImplementedError |
31
|
|
|
|
32
|
|
|
class ShelvedStateMachineTypeClass(FiniteStateMachineTypeClass): |
33
|
|
|
def __init__(self, server=None, parent=None): |
34
|
|
|
super().__init__(server, parent) |
35
|
|
|
raise NotImplementedError |
36
|
|
|
|