public void SetMostRecentMeterValue(WorkingData meter, RepresentationValue value) { if (_meterToPreviousValue.ContainsKey(meter)) { _meterToPreviousValue[meter] = value; } else { _meterToPreviousValue.Add(meter, value); } }
public void SetMeterValue(Meter meter, RepresentationValue value) { _meterValues.Add(meter.Id.ReferenceId, value); }
public void SetMeterValue(WorkingData workingData, RepresentationValue value) { _meterValues.Add(workingData.Id.ReferenceId, value); }