Esempio n. 1
0
        private void errorTimer_Tick(object sender, EventArgs e)
        {
            if (errorList.Count > 0)
            {
                if (errorId >= errorList.Count)
                {
                    errorId = 0;
                }

                infoLbl.Text = errorList[errorId];

                errorId++;
            }
            else
            {
                infoLbl.Text = "";
            }

            #region 门套机器
            this.Invoke((EventHandler)(delegate
            {
                if (evokWork != null && evokWork.DeviceId == Constant.xzjDeivceId)
                {
                    showScKaoshan(evokWork.GetScView());
                    showHyMode(evokWork.GetHyCountView());
                    showHyPic(evokWork.GetHyView);
                }
            }));

            #endregion
        }