示例#1
0
文件: IsCfgForm.cs 项目: oisy/scada
 protected override object BuildSettings(DeviceEntry entry)
 {
     AisSettings settings = new AisSettings();
     settings.Factor = (StringValue)entry["factor1"];
     settings.Frequence = (StringValue)entry[DeviceEntry.RecordInterval];
     return settings;
 }
示例#2
0
        protected override object BuildSettings(DeviceEntry entry)
        {
            AisSettings settings = new AisSettings();

            settings.Factor    = (StringValue)entry["factor1"];
            settings.Frequence = (StringValue)entry[DeviceEntry.RecordInterval];
            return(settings);
        }
示例#3
0
 public void Apply()
 {
     this.settings = (AisSettings)this.Apply(new Dictionary <string, string>
     {
         { "factor1", this.settings.Factor.ToString() },
         { DeviceEntry.RecordInterval, this.settings.Frequence.ToString() }
     });
 }
示例#4
0
 public void Apply()
 {
     this.settings = (AisSettings)this.Apply(new Dictionary<string, string>
     {
         {"factor1", this.settings.Factor.ToString()},
         {DeviceEntry.RecordInterval, this.settings.Frequence.ToString()}
     });
 }
示例#5
0
 private void IsCfgForm_Load(object sender, EventArgs e)
 {
     this.Loaded();
     this.settings = (AisSettings)this.Reset();
 }
示例#6
0
 public void Cancel()
 {
     this.settings = (AisSettings)this.Reset();
 }
示例#7
0
文件: IsCfgForm.cs 项目: oisy/scada
 private void IsCfgForm_Load(object sender, EventArgs e)
 {
     this.Loaded();
     this.settings = (AisSettings)this.Reset();
 }
示例#8
0
文件: IsCfgForm.cs 项目: oisy/scada
 public void Cancel()
 {
     this.settings = (AisSettings)this.Reset();
 }