Esempio n. 1
0
 private static MetaValues UpdateTime(MetaValues source)
 {
     return(new MetaValues
     {
         ID = source.ID,
         Flags = source.Flags,
         Timestamp = source.Timestamp.AddSeconds(3.0D)
     });
 }
Esempio n. 2
0
 protected IMeasurement MakeMeasurement(MetaValues meta, double value)
 {
     return(new Measurement()
     {
         Metadata = MeasurementKey.LookUpBySignalID(meta.ID).Metadata,
         Timestamp = meta.Timestamp,
         Value = value,
         StateFlags = GetMeasurementStateFlags(meta.Flags)
     });
 }