blob: 1c8137219568c9b6259f955e43ab14cf5f012e61 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
from awlsim.core.blocks cimport *
from awlsim.core.cpu cimport *
cdef class SystemBlock(StaticCodeBlock):
cdef public S7CPU cpu
cdef public dict __interfaceOpers
cdef public uint32_t __widthMaskAll
cdef object fetchInterfaceFieldByName(self, object name)
cdef storeInterfaceFieldByName(self, object name, object value)
cpdef run(self)
cdef class SFB(SystemBlock):
pass
cdef class SFC(SystemBlock):
pass
|