from .Control import Control
[docs]class AnalogControl(Control):
'''
An analog control used for supervisory control.
:maxValue: Normal value range maximum for any of the Control.value. Used for scaling, e.g. in bar graphs. Default: 0.0
:minValue: Normal value range minimum for any of the Control.value. Used for scaling, e.g. in bar graphs. Default: 0.0
:AnalogValue: The Control variable associated with the MeasurementValue. Default: None
'''
cgmesProfile = Control.cgmesProfile
possibleProfileList = {'class': [cgmesProfile.EQ.value, ],
'maxValue': [cgmesProfile.EQ.value, ],
'minValue': [cgmesProfile.EQ.value, ],
'AnalogValue': [cgmesProfile.EQ.value, ],
}
serializationProfile = {}
__doc__ += '\n Documentation of parent class Control: \n' + Control.__doc__
def __init__(self, maxValue = 0.0, minValue = 0.0, AnalogValue = None, *args, **kw_args):
super().__init__(*args, **kw_args)
self.maxValue = maxValue
self.minValue = minValue
self.AnalogValue = AnalogValue
def __str__(self):
str = 'class=AnalogControl\n'
attributes = self.__dict__
for key in attributes.keys():
str = str + key + '={}\n'.format(attributes[key])
return str