Exemple #1
0
        /// <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);
            //}
        }
Exemple #2
0
        /// <summary>
        /// 
        /// </summary>
        public void writeConfig(List<TextBox> lotx)
        {
            configArges Cfa = new configArges();

            //触发调用执行事务
            onConfigWrite(lotx, Cfa);
        }
Exemple #3
0
        /// <summary>
        /// 窗体调用事件发出
        /// 更新窗体
        /// </summary>
        public void readConfig(List<TextBox> lotx)
        {
            configArges Cfa = new configArges();

            //触发调用执行事务
            onConfigRead(lotx, Cfa);
        }