示例#1
0
 def __init__(self, identifier):
     if _debug: RandomValueProperty._debug("__init__ %r", identifier)
     Property.__init__(self,
                       identifier,
                       Real,
                       default=None,
                       optional=True,
                       mutable=False)
示例#2
0
 def __init__(self, identifier):
     if _debug: ModbusValueProperty._debug("__init__ %r", identifier)
     self.register_reader = None
     Property.__init__(self,
                       identifier,
                       Real,
                       default=None,
                       optional=True,
                       mutable=False)
示例#3
0
 def __init__(self, identifier):
     if _debug:
         BIPresentValue._debug("__init__ %r", identifier)
     Property.__init__(self,
                       identifier,
                       BinaryPV,
                       default=False,
                       optional=False,
                       mutable=False)
示例#4
0
    def __init__(self, identifier):
        if _debug: RandomValueProperty._debug("__init__ %r", identifier)
        Property.__init__(self,
                          identifier,
                          Real,
                          default=None,
                          optional=True,
                          mutable=False)

        # writing to this property changes the multiplier
        self.multiplier = 100.0
示例#5
0
 def __init__(self):
     if _debug:
         ChannelValueProperty._debug("__init__")
     Property.__init__(
         self,
         "presentValue",
         ChannelValue,
         default=None,
         optional=False,
         mutable=True,
     )
 def __init__(self, identifier):
     if _debug: RandomValueProperty._debug("__init__ %r", identifier)
     Property.__init__(self, identifier, Real, default=None, optional=True, mutable=False)
示例#7
0
    def __init__(self, identifier):
        if _debug: RandomValueProperty._debug("__init__ %r", identifier)
        Property.__init__(self, identifier, Real, default=None, optional=True, mutable=False)

        # writing to this property changes the multiplier
        self.multiplier = 100.0
 def __init__(self, identifier):
     if _debug: CurrentDateTimeProperty._debug("__init__ %r", identifier)
     Property.__init__(self, identifier, DateTime, default=None, optional=True, mutable=False)
示例#9
0
 def __init__(self, identifier):
     if _debug:
         DOPresentValue._debug("__init__ %r", identifier)
     Property.__init__(
         self, identifier, BinaryPV, default=BinaryPV("inactive"), optional=False, mutable=True
     )
 def __init__(
     self, identifier, datatype, default=None, optional=True, mutable=False
 ):
     Property.__init__(self, identifier, datatype, default, optional, mutable)
示例#11
0
 def __init__(self, identifier):
     if _debug: CurrentDateTimeProperty._debug("__init__ %r", identifier)
     Property.__init__(self, identifier, DateTime, default=None, optional=True, mutable=False)
示例#12
0
 def __init__(self, identifier):
     Property.__init__(
         self, identifier, SequenceOf(COVSubscription),
         default=None, optional=True, mutable=False,
         )