Class definition
Station
Bases: PviObject
class representing station object
ANSL & INA2000: can be used but is not necessary SNMP specifies particular PLC see PVI documentation for more details
Source code in pvi\pvi_objects\Station.py
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | |
descriptor: dict
property
errorChanged: Union[Callable[[PviObject, int], None], Callable[[int], None]]
property
writable
name: str
property
objectName: str
property
status: dict
property
writable
type: T_POBJ_TYPE
property
__init__(parent, name, **objectDescriptor)
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
parent |
device object |
required | |
name |
name of station in PVI hierarchy |
required | |
objectDescriptor |
ANSL : '' INA2000 : '' SNMP : MAC address, e.g. CD="/CN=00-60-65-02-f0-2c" |
{}
|
Source code in pvi\pvi_objects\Station.py
35 36 37 38 39 40 41 42 43 44 45 46 47 | |
kill()
Source code in pvi\pvi_objects\Object.py
262 263 264 265 266 267 268 269 | |