/// <summary> /// Initializes a new instance of the <see cref="PrototypeBackend.DateTimeValue"/> struct. /// </summary> /// <param name="copy">Copy.</param> public DateTimeValue(DateTimeValue copy) { Value = copy.Value; Time = copy.Time; }
private void AddRawValue(DateTimeValue value) { RAWValues.Add (value); if (OnNewRAWValue != null) { OnNewRAWValue.Invoke ( this, new NewMeasurementValueArgs () { RAW = value.Value, Value = value.Value, Time = DateTime.FromOADate (value.Time) } ); } }