123456789101112131415161718192021222324252627282930313233343536373839404142 |
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows.Forms;
- using HZY.Framework.DependencyInjection;
- using Sunny.UI;
- namespace Scada.Page
- {
- public partial class PageSystemParameterSet : UIPage, ISingletonSelfDependency
- {
- public PageSystemParameterSet()
- {
- InitializeComponent();
- this.Load += PageSystemParameterSet_Load;
- }
- private void PageSystemParameterSet_Load(object sender, EventArgs e)
- {
- InitSystemParameter();
- }
- private void InitSystemParameter()
- {
- this.txt_plcConfig.Text = Globals.PlcVarConfigPath;
- this.txt_ConnectTimeOut.Text = Globals.ConnectTimeOut.ToString();
- this.txt_ReadTimeInterval.Text = Globals.ReadTimeInterval.ToString();
- this.txt_ReConnectTimeInterval.Text = Globals.ReConnectTimeInterval.ToString();
- this.txt_IPAddress.Text = Globals.IpAddress;
- this.txt_Port.Text = Globals.Port.ToString();
- this.cb_CPUType.Text = Globals.CpuType.ToString();
- this.txt_Slot.Text = Globals.Slot.ToString();
- this.txt_Rack.Text = Globals.Rack.ToString();
-
- }
- }
- }
|