示例#1
0
 public BufferReady(DeviceObjectPropertyReference bufferProperty, UnsignedInteger previousNotification,
                    UnsignedInteger currentNotification)
 {
     BufferProperty       = bufferProperty;
     PreviousNotification = previousNotification;
     CurrentNotification  = currentNotification;
 }
 public ChangeOfLifeSafety(UnsignedInteger timeDelay, SequenceOf listOfLifeSafetyAlarmValues,
                           SequenceOf listOfAlarmValues, DeviceObjectPropertyReference modePropertyReference)
 {
     TimeDelay = timeDelay;
     ListOfLifeSafetyAlarmValues = listOfLifeSafetyAlarmValues;
     ListOfAlarmValues           = listOfAlarmValues;
     ModePropertyReference       = modePropertyReference;
 }
示例#3
0
 public FloatingLimit(UnsignedInteger timeDelay, DeviceObjectPropertyReference setpointReference,
                      Real lowDiffLimit,
                      Real highDiffLimit, Real deadband)
 {
     TimeDelay         = timeDelay;
     SetpointReference = setpointReference;
     LowDiffLimit      = lowDiffLimit;
     HighDiffLimit     = highDiffLimit;
     Deadband          = deadband;
 }
示例#4
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);
            }
示例#5
0
 public Parameter(DeviceObjectPropertyReference reference)
 {
     _reference = reference;
 }
示例#6
0
 public CommandFailure(UnsignedInteger timeDelay, DeviceObjectPropertyReference feedbackPropertyReference)
 {
     TimeDelay = timeDelay;
     FeedbackPropertyReference = feedbackPropertyReference;
 }