private void 启动试验_FormClosed(object sender, FormClosedEventArgs e) { logic.EndGather("启动试验"); logic.OffSurfaceGather("启动试验", "192.168.1.98"); this.数显仪表集合1.f_注销所有仪表(); //this.凯泉报表控制板1.f_注销控制通道(); //this.xyGraph1.f_注销绘制曲线(); }
private void grid1_Btn执行命令1Click(object sender, EventArgs e) { if (this.grid1.执行命令按钮CAPTION == "自动采集") { this.grid1.执行命令按钮CAPTION = "停止采集"; logic.StartGather("温升试验"); } else { logic.EndGather("温升试验"); } }