/// <summary> /// 窗体操作接口 /// </summary> public void Run() { configArges cfa = new configArges(); cfa.msinterval = msinterval; cfa.webindex = webindex; onStartMoniter(null,cfa); //触发线程上的json //if (Ttimer == null) //{ // Ttimer = new System.Threading.Timer( // new System.Threading.TimerCallback(this.flush), // null, 0, msinterval); // Ttimer.Change(1, 0); //} //else //{ // Ttimer.Change(0, msinterval); //} }
/// <summary> /// /// </summary> public void writeConfig(List<TextBox> lotx) { configArges Cfa = new configArges(); //触发调用执行事务 onConfigWrite(lotx, Cfa); }
/// <summary> /// 窗体调用事件发出 /// 更新窗体 /// </summary> public void readConfig(List<TextBox> lotx) { configArges Cfa = new configArges(); //触发调用执行事务 onConfigRead(lotx, Cfa); }