Example #1
0
        private void 启动试验_Load(object sender, EventArgs e)
        {
            DataPvg.LoadDataPvg(-1);
            _重置标签 = new 重置标签(this.F_重置标签);
            // 毋需注销的控件
            this.grid1.InitViewLayout("试验表格配置\\启动试验.xml");
            string ip = System.Configuration.ConfigurationSettings.AppSettings["AnyWayIp"].ToString();

            // 需要人工注销的控件
            this.数显仪表集合1.f_初始化所有仪表("试验数显配置\\启动试验数显区配置.xml");
            //this.凯泉报表控制板1.f_初始化所有通道("试验数显配置\\凯泉项目控制板配置.xml");
            logic = new GatherLogic();
            logic.Load("启动试验", this, 当前试验组信息.试验ID, 20, 30000);
            logic.LoadGrid(this.grid1, "启动试验", string.Empty, "流量 desc", true);
            logic.GatherComplete(this, "启动试验");
            logic.LoginSurfaceGather("启动试验", ip);
            logic.GatherStorePattern("启动试验", DataStoreType.LastDB);
            构造波形();
            绘制波形();
        }