Beispiel #1
0
 public ChangeOfLifeSafety(uint timeDelay, ReadOnlyArray <LifeSafetyState> listOfLifeSafetyAlarmValues, ReadOnlyArray <LifeSafetyState> listOfAlarmValues, DeviceObjectPropertyReference modePropertyReference)
 {
     this.TimeDelay = timeDelay;
     this.ListOfLifeSafetyAlarmValues = listOfLifeSafetyAlarmValues;
     this.ListOfAlarmValues           = listOfAlarmValues;
     this.ModePropertyReference       = modePropertyReference;
 }
Beispiel #2
0
 public FloatingLimit(uint timeDelay, DeviceObjectPropertyReference setpointReference, float lowDiffLimit, float highDiffLimit, float deadband)
 {
     this.TimeDelay         = timeDelay;
     this.SetpointReference = setpointReference;
     this.LowDiffLimit      = lowDiffLimit;
     this.HighDiffLimit     = highDiffLimit;
     this.Deadband          = deadband;
 }
 public static void Save(IValueSink sink, DeviceObjectPropertyReference value)
 {
     sink.EnterSequence();
     Value<ObjectId>.Save(sink, value.ObjectIdentifier);
     Value<PropertyIdentifier>.Save(sink, value.PropertyIdentifier);
     Value<Option<uint>>.Save(sink, value.PropertyArrayIndex);
     Value<Option<ObjectId>>.Save(sink, value.DeviceIdentifier);
     sink.LeaveSequence();
 }
        public static void Save(IValueSink sink, DeviceObjectPropertyReference value)
        {
            sink.EnterSequence();
            Value <ObjectId> .Save(sink, value.ObjectIdentifier);

            Value <PropertyIdentifier> .Save(sink, value.PropertyIdentifier);

            Value <Option <uint> > .Save(sink, value.PropertyArrayIndex);

            Value <Option <ObjectId> > .Save(sink, value.DeviceIdentifier);

            sink.LeaveSequence();
        }
Beispiel #5
0
 public static EventParameter NewChangeOfLifeSafety(uint timeDelay, ReadOnlyArray <LifeSafetyState> listOfLifeSafetyAlarmValues, ReadOnlyArray <LifeSafetyState> listOfAlarmValues, DeviceObjectPropertyReference modePropertyReference)
 {
     return(new ChangeOfLifeSafety(timeDelay, listOfLifeSafetyAlarmValues, listOfAlarmValues, modePropertyReference));
 }
Beispiel #6
0
 public BufferReady(DeviceObjectPropertyReference bufferProperty, uint previousNotification, uint currentNotification)
 {
     this.BufferProperty       = bufferProperty;
     this.PreviousNotification = previousNotification;
     this.CurrentNotification  = currentNotification;
 }
 public static ExtendedParameter NewReference(DeviceObjectPropertyReference reference)
 {
     return(new ReferenceWrapper(reference));
 }
Beispiel #8
0
 public static EventParameter NewFloatingLimit(uint timeDelay, DeviceObjectPropertyReference setpointReference, float lowDiffLimit, float highDiffLimit, float deadband)
 {
     return(new FloatingLimit(timeDelay, setpointReference, lowDiffLimit, highDiffLimit, deadband));
 }
 public ReferenceWrapper(DeviceObjectPropertyReference item)
 {
     this.Item = item;
 }
Beispiel #10
0
 public static EventParameter NewCommandFailure(uint timeDelay, DeviceObjectPropertyReference feedbackPropertyReference)
 {
     return(new CommandFailure(timeDelay, feedbackPropertyReference));
 }
Beispiel #11
0
 public ReferenceWrapper(DeviceObjectPropertyReference item)
 {
     this.Item = item;
 }
Beispiel #12
0
 public static EventParameter NewCommandFailure(uint timeDelay, DeviceObjectPropertyReference feedbackPropertyReference)
 {
     return new CommandFailure(timeDelay, feedbackPropertyReference);
 }
Beispiel #13
0
 public FloatingLimit(uint timeDelay, DeviceObjectPropertyReference setpointReference, float lowDiffLimit, float highDiffLimit, float deadband)
 {
     this.TimeDelay = timeDelay;
     this.SetpointReference = setpointReference;
     this.LowDiffLimit = lowDiffLimit;
     this.HighDiffLimit = highDiffLimit;
     this.Deadband = deadband;
 }
 public static NotificationParameters NewBufferReady(DeviceObjectPropertyReference bufferProperty, uint previousNotification, uint currentNotification)
 {
     return new BufferReady(bufferProperty, previousNotification, currentNotification);
 }
Beispiel #15
0
 public CommandFailure(uint timeDelay, DeviceObjectPropertyReference feedbackPropertyReference)
 {
     this.TimeDelay = timeDelay;
     this.FeedbackPropertyReference = feedbackPropertyReference;
 }
Beispiel #16
0
 public ChangeOfLifeSafety(uint timeDelay, ReadOnlyArray<LifeSafetyState> listOfLifeSafetyAlarmValues, ReadOnlyArray<LifeSafetyState> listOfAlarmValues, DeviceObjectPropertyReference modePropertyReference)
 {
     this.TimeDelay = timeDelay;
     this.ListOfLifeSafetyAlarmValues = listOfLifeSafetyAlarmValues;
     this.ListOfAlarmValues = listOfAlarmValues;
     this.ModePropertyReference = modePropertyReference;
 }
Beispiel #17
0
 public static EventParameter NewFloatingLimit(uint timeDelay, DeviceObjectPropertyReference setpointReference, float lowDiffLimit, float highDiffLimit, float deadband)
 {
     return new FloatingLimit(timeDelay, setpointReference, lowDiffLimit, highDiffLimit, deadband);
 }
Beispiel #18
0
 public static NotificationParameters NewBufferReady(DeviceObjectPropertyReference bufferProperty, uint previousNotification, uint currentNotification)
 {
     return(new BufferReady(bufferProperty, previousNotification, currentNotification));
 }
Beispiel #19
0
 public CommandFailure(uint timeDelay, DeviceObjectPropertyReference feedbackPropertyReference)
 {
     this.TimeDelay = timeDelay;
     this.FeedbackPropertyReference = feedbackPropertyReference;
 }
Beispiel #20
0
 /// <summary>
 /// Determines the trend type for a trend log based
 /// on the object that it is monitoring
 /// </summary>
 /// <param name="reference">The reference to the monitored object</param>
 /// <returns>The trend type</returns>
 private TrendType _getTrendType(DeviceObjectPropertyReference reference)
 {
     switch ((ObjectType)reference.ObjectIdentifier.Type)
     {
         case ObjectType.AnalogInput:
         case ObjectType.AnalogOutput:
         case ObjectType.AnalogValue:
             return TrendType.Real;
         case ObjectType.BinaryInput:
         case ObjectType.BinaryOutput:
         case ObjectType.BinaryValue:
         case ObjectType.Schedule:
             return TrendType.Binary;
     }
     return TrendType.Unknown;
 }
Beispiel #21
0
 public static EventParameter NewChangeOfLifeSafety(uint timeDelay, ReadOnlyArray<LifeSafetyState> listOfLifeSafetyAlarmValues, ReadOnlyArray<LifeSafetyState> listOfAlarmValues, DeviceObjectPropertyReference modePropertyReference)
 {
     return new ChangeOfLifeSafety(timeDelay, listOfLifeSafetyAlarmValues, listOfAlarmValues, modePropertyReference);
 }
 public BufferReady(DeviceObjectPropertyReference bufferProperty, uint previousNotification, uint currentNotification)
 {
     this.BufferProperty = bufferProperty;
     this.PreviousNotification = previousNotification;
     this.CurrentNotification = currentNotification;
 }
Beispiel #23
0
 public static ExtendedParameter NewReference(DeviceObjectPropertyReference reference)
 {
     return new ReferenceWrapper(reference);
 }