예제 #1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="quality">quality enumeration as a bitfield</param>
 /// <param name="time">timestamp</param>
 public MeasurementBase(Flags quality, DNPTime time)
 {
     this.quality = quality;
     this.time    = time;
 }
예제 #2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="quality">quality enumeration as a bitfield</param>
 /// <param name="time">timestamp</param>
 public TypedMeasurementBase(T value, Flags quality, DNPTime time) :  base(quality, time)
 {
     this.value = value;
 }
예제 #3
0
 public AnalogCommandEvent(double value, CommandStatus status, DNPTime time)
 {
     this.value  = value;
     this.status = status;
     this.time   = time;
 }
예제 #4
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="value">value of the measurement</param>
 /// <param name="quality">quality enumeration as a bitfield</param>
 /// <param name="time">timestamp</param>
 public DoubleBitBinary(DoubleBit value, Flags quality, DNPTime time) :
     base(value, quality, time)
 {
 }
예제 #5
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="value">value of the measurement</param>
 /// <param name="quality">quality enumeration as a bitfield</param>
 /// <param name="time">timestamp</param>
 public Binary(bool value, Flags quality, DNPTime time) :
     base(value, quality, time)
 {
 }
예제 #6
0
 public BinaryCommandEvent(bool value, CommandStatus status, DNPTime time)
 {
     this.value  = value;
     this.status = status;
     this.time   = time;
 }
예제 #7
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="value">value of the measurement</param>
 /// <param name="quality">quality enumeration as a bitfield</param>
 /// <param name="time">timestamp</param>
 public SecurityStat(uint value, ushort assocId, Flags quality, DNPTime time)
     : base(value, quality, time)
 {
     this.assocId = assocId;
 }
예제 #8
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="value">value of the measurement</param>
 /// <param name="quality">quality enumeration as a bitfield</param>
 /// <param name="time">timestamp</param>
 public AnalogOutputStatus(double value, Flags quality, DNPTime time) : base(value, quality, time)
 {
 }
예제 #9
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="value">value of the measurement</param>
 /// <param name="quality">quality enumeration as a bitfield</param>
 /// <param name="time">timestamp</param>
 public BinaryOutputStatus(bool value, Flags quality, DNPTime time) :
     base(value, quality, time)
 {
 }
예제 #10
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="value">value of the measurement</param>
 /// <param name="quality">quality enumeration as a bitfield</param>
 /// <param name="time">timestamp</param>
 public FrozenCounter(System.UInt32 value, Flags quality, DNPTime time) : base(value, quality, time)
 {
 }
예제 #11
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="value">value of the measurement</param>
 /// <param name="quality">quality enumeration as a bitfield</param>
 /// <param name="time">timestamp</param>
 public Analog(double value, Flags quality, DNPTime time)
     : base(value, quality, time)
 {
 }