private static MetaValues UpdateTime(MetaValues source) { return(new MetaValues { ID = source.ID, Flags = source.Flags, Timestamp = source.Timestamp.AddSeconds(3.0D) }); }
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) }); }