public MeasurementStandard(long?id, string name, MeasurementValueType pollutant, double limit, double percent, string averaging) { this.Id = id; this.Name = name; this.Pollutant = pollutant; this.Limit = limit; this.Percent = percent; this.Averaging = averaging; }
public static MeasurementValue Create(MeasurementValueTypeName typeName, double value) => new MeasurementValue(null, MeasurementValueType.GetForName(typeName), value);
public static MeasurementStandard Create(string name, MeasurementValueTypeName pollutantName, double limit, double percent, string averaging) => new MeasurementStandard(null, name, MeasurementValueType.GetForName(pollutantName), limit, percent, averaging);
public MeasurementValue(long?id, MeasurementValueType type, double value) { this.Id = id; this.Type = type; this.Value = Value; }