public MeasurementPoco(int row, string sValue, MeasurementBase meas, UInt16 index, MeasType type)
 {
     this.sValue = sValue;
     this.index = index;
     this.flags = meas.Quality.ToString("X2");
     this.timeStamp = meas.Timestamp;
     this.row = row;
     this.type = type;
 }
Exemple #2
0
 public MeasurementPoco(int row, string sValue, MeasurementBase meas, UInt16 index, MeasType type)
 {
     this.sValue    = sValue;
     this.index     = index;
     this.flags     = meas.Quality.ToString("X2");
     this.timeStamp = meas.Timestamp;
     this.row       = row;
     this.type      = type;
 }
 public Measurement(string displayValue, MeasurementBase meas, TimestampMode tsmode, MeasType type, UInt16 index, IQualityBitInfo info)
 {
     this.valueAsString = displayValue;
     this.timeStamp = (tsmode == TimestampMode.INVALID) ? DateTime.Now : meas.Timestamp;
     this.tsmode = tsmode;
     this.type = type;
     this.index = index;
     this.info = info;
     this.quality = meas.Quality;
 }
Exemple #4
0
 public Measurement(string displayValue, MeasurementBase meas, TimestampMode tsmode, MeasType type, UInt16 index, IQualityBitInfo info)
 {
     this.valueAsString = displayValue;
     this.timeStamp     = (tsmode == TimestampMode.INVALID) ? DateTime.Now : meas.Timestamp;
     this.tsmode        = tsmode;
     this.type          = type;
     this.index         = index;
     this.info          = info;
     this.quality       = meas.Quality;
 }
Exemple #5
0
 private void UpdateBitmap(MeasurementBase m)
 {
     if (InvokeRequired)
     {
         BeginInvoke((Action)(() => { UpdateBitmap(m); }));
     }
     else
     {
         RiBitmapCtl1.Measurement = m;
     }
 }
 public void Update(string sValue, MeasurementBase meas)
 {
     Value = sValue;
     Flags = meas.Quality.ToString("X2");
     TimeStamp = meas.Timestamp;
 }
Exemple #7
0
 public void Update(string sValue, MeasurementBase meas)
 {
     Value     = sValue;
     Flags     = meas.Quality.ToString("X2");
     TimeStamp = meas.Timestamp;
 }