コード例 #1
0
 public V45MMVSetting(TSettingsId settingsId, string nameKey, Unit?unit, Func <double, string> formatter)
     : base(settingsId, nameKey, unit)
 {
     this.ValueSetting = new V45Setting(TreatmentSettingType.Value, nameKey, settingsId, unit, formatter);
     this.MinSetting   = new V45Setting(TreatmentSettingType.MinLimit, nameKey, settingsId, unit, formatter);
     this.MaxSetting   = new V45Setting(TreatmentSettingType.MaxLimit, nameKey, settingsId, unit, formatter);
 }
コード例 #2
0
 public V45MMVSetting(TSettingsId settingsId, string nameKey, Unit?unit)
     : this(settingsId, nameKey, unit, null)
 {
 }
コード例 #3
0
 public V45Setting(TSettingsId settingId, string nameKey, Unit?unit)
     : this((ushort)settingId, nameKey, unit)
 {
 }
コード例 #4
0
 public V45Setting(TSettingsId settingId, string nameKey, Unit?unit, Func <double, string> formatter)
     : this((ushort)settingId, nameKey, unit, formatter, 1.0, int.MinValue)
 {
 }
コード例 #5
0
 public V45Setting(TSettingsId settingId, string nameKey, Unit?unit, Func <double, string> formatter, double scale, int invalidValue)
     : this((ushort)settingId, nameKey, unit, formatter, scale, invalidValue)
 {
 }
コード例 #6
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)
 {
 }