public ChangeOfLifeSafety(uint timeDelay, ReadOnlyArray <LifeSafetyState> listOfLifeSafetyAlarmValues, ReadOnlyArray <LifeSafetyState> listOfAlarmValues, DeviceObjectPropertyReference modePropertyReference) { this.TimeDelay = timeDelay; this.ListOfLifeSafetyAlarmValues = listOfLifeSafetyAlarmValues; this.ListOfAlarmValues = listOfAlarmValues; this.ModePropertyReference = modePropertyReference; }
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(); }
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; }
public static ExtendedParameter NewReference(DeviceObjectPropertyReference reference) { return(new ReferenceWrapper(reference)); }
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; }
public static EventParameter NewCommandFailure(uint timeDelay, DeviceObjectPropertyReference feedbackPropertyReference) { return(new CommandFailure(timeDelay, feedbackPropertyReference)); }
public static EventParameter NewCommandFailure(uint timeDelay, DeviceObjectPropertyReference feedbackPropertyReference) { return new CommandFailure(timeDelay, feedbackPropertyReference); }
public static NotificationParameters NewBufferReady(DeviceObjectPropertyReference bufferProperty, uint previousNotification, uint currentNotification) { return new BufferReady(bufferProperty, previousNotification, currentNotification); }
public CommandFailure(uint timeDelay, DeviceObjectPropertyReference feedbackPropertyReference) { this.TimeDelay = timeDelay; this.FeedbackPropertyReference = feedbackPropertyReference; }
public ChangeOfLifeSafety(uint timeDelay, ReadOnlyArray<LifeSafetyState> listOfLifeSafetyAlarmValues, ReadOnlyArray<LifeSafetyState> listOfAlarmValues, DeviceObjectPropertyReference modePropertyReference) { this.TimeDelay = timeDelay; this.ListOfLifeSafetyAlarmValues = listOfLifeSafetyAlarmValues; this.ListOfAlarmValues = listOfAlarmValues; this.ModePropertyReference = modePropertyReference; }
public static EventParameter NewFloatingLimit(uint timeDelay, DeviceObjectPropertyReference setpointReference, float lowDiffLimit, float highDiffLimit, float deadband) { return new FloatingLimit(timeDelay, setpointReference, lowDiffLimit, highDiffLimit, deadband); }
public static NotificationParameters NewBufferReady(DeviceObjectPropertyReference bufferProperty, uint previousNotification, uint currentNotification) { return(new BufferReady(bufferProperty, previousNotification, currentNotification)); }
/// <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; }
public static EventParameter NewChangeOfLifeSafety(uint timeDelay, ReadOnlyArray<LifeSafetyState> listOfLifeSafetyAlarmValues, ReadOnlyArray<LifeSafetyState> listOfAlarmValues, DeviceObjectPropertyReference modePropertyReference) { return new ChangeOfLifeSafety(timeDelay, listOfLifeSafetyAlarmValues, listOfAlarmValues, modePropertyReference); }
public static ExtendedParameter NewReference(DeviceObjectPropertyReference reference) { return new ReferenceWrapper(reference); }