Esempio n. 1
0
 public V45Setting(TreatmentSettingType type, string nameKey, TSettingsId settingId, Unit?unit, Func <double, string> formatter)
     : this(type, nameKey, (ushort)settingId, unit, formatter, 1.0, int.MinValue)
 {
 }
Esempio n. 2
0
 public V45Setting(TreatmentSettingType type, string nameKey, ushort settingId, Unit?unit, Func <double, string> formatter, double scale, int invalidValue)
     : base((ushort)(MeasurementKeyOffset + (settingId * 3) + (ushort)type), nameKey, unit, formatter, null, scale, invalidValue)
 {
     this.DeviceSettingId      = settingId;
     this.TreatmentSettingType = type;
 }