blob: 1b365a7cbc6d85b0f6344bb3ccaea3fabad2a885 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
from awlsim.core.dynattrs cimport *
cdef class S7StatusWord(DynAttrs):
cdef public _Bool NER
cdef public _Bool VKE
cdef public _Bool STA
cdef public _Bool OR
cdef public _Bool OS
cdef public _Bool OV
cdef public _Bool A0
cdef public _Bool A1
cdef public _Bool BIE
cpdef reset(self)
cpdef uint16_t getWord(self)
cpdef setWord(self, uint16_t word)
cpdef dup(self)
cpdef setForFloatingPoint(self, pyFloat)
|