Describes the translation of a set of values into a name and is
intendend to facilitate cusom translations. Each ValueAliasSet has a
name, description etc. A specific Measurement may represent a discrete
state like Open, Closed, Intermediate etc. This requires a translation
from the MeasurementValue.value number to a string, e.g. 0->'Invalid',
1->'Open', 2->'Closed', 3->'Intermediate'. Each ValueToAlias
member in ValueAliasSet.Value describe a mapping for one particular value
to a name.
|
|
__init__(self,
Commands=None,
Values=None,
Discretes=None,
*args,
**kw_args)
Initialises a new 'ValueAliasSet' instance. |
|
|
|
|
| addCommands(self,
*Commands) |
|
|
|
|
| addDiscretes(self,
*Discretes) |
|
|
|
|
|
|
|
getCommands(self)
The ValueAliasSet used for translation of a Control value to a name. |
|
|
|
|
getDiscretes(self)
The Measurements using the set for translation |
|
|
|
|
getValues(self)
The ValueToAlias mappings included in the set |
|
|
|
|
| removeCommands(self,
*Commands) |
|
|
|
|
| removeDiscretes(self,
*Discretes) |
|
|
|
|
| removeValues(self,
*Values) |
|
|
|
|
|
|
|
| setDiscretes(self,
value) |
|
|
|
|
|
|
Inherited from Core.IdentifiedObject'.IdentifiedObject:
getModelingAuthoritySet,
setModelingAuthoritySet
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|