コード例 #1
0
        /// <summary>
        /// 初始化主线程类
        /// </summary>
        private void InitalMainWork()
        {
            MainWork = new CMainWork(0, "<" + CLanguage.Lan("通电测试工位") + ">", _fatherGuid);
            MainWork.OnUILogArgs.OnEvent += new COnEvent <CUILogArgs> .OnEventHandler(OnLog);

            MainWork.OnPLCLogArgs.OnEvent += new COnEvent <CUILogArgs> .OnEventHandler(OnPLCLog);

            MainWork.OnUIGlobalArgs.OnEvent += new COnEvent <CUIGlobalArgs> .OnEventHandler(OnGlobal);

            MainWork.OnUIInidcatorArgs.OnEvent += new COnEvent <CUIInicatorArgs> .OnEventHandler(OnIndicator);

            MainWork.OnUISystemArgs.OnEvent += new COnEvent <CUIUserArgs <CUISystemArgs> > .OnEventHandler(OnSystem);

            MainWork.OnUIActionArgs.OnEvent += new COnEvent <CUIUserArgs <CUIActionAgrs> > .OnEventHandler(OnActionArgs);

            MainWork.OnUIModelArgs.OnEvent += new COnEvent <CUIUserArgs <CModelPara> > .OnEventHandler(OnModel);

            MainWork.OnUIBandSnArgs.OnEvent += new COnEvent <CUIUserArgs <CStatHub> > .OnEventHandler(OnBandSn);

            MainWork.OnUIScanSnArgs.OnEvent += new COnEvent <CUIUserArgs <CUIScanSnArgs> > .OnEventHandler(OnScanSn);

            MainWork.OnUIStatHubArgs.OnEvent += new COnEvent <CUIUserArgs <CStat> > .OnEventHandler(OnStatHub);

            MainWork.OnUIStatTestArgs.OnEvent += new COnEvent <CUIUserArgs <CStat> > .OnEventHandler(OnStatTest);

            MainWork.OnUIInBIArgs.OnEvent += new COnEvent <CUIUserArgs <CStatHub> > .OnEventHandler(OnInBI);

            MainWork.OnUIStatDataArgs.OnEvent += new COnEvent <CUIUserArgs <CUIStatDataArgs> > .OnEventHandler(OnStatData);

            MainWork.OnUIPassRateArgs.OnEvent += new COnEvent <CUIUserArgs <CWarnRate> > .OnEventHandler(OnPassRate);

            MainWork.InitialUI();
        }
コード例 #2
0
        /// <summary>
        /// 初始化主线程类
        /// </summary>
        private void InitalMainWork()
        {
            MainWork = new CMainWork(0, "<" + CLanguage.Lan("自动老化测试工位") + ">", _fatherGuid);
            MainWork.OnUILogArgs.OnEvent += new COnEvent <CUILogArgs> .OnEventHandler(OnLog);

            MainWork.OnPLCLogArgs.OnEvent += new COnEvent <CUILogArgs> .OnEventHandler(OnPLCLog);

            MainWork.OnUIGlobalArgs.OnEvent += new COnEvent <CUIGlobalArgs> .OnEventHandler(OnGlobal);

            MainWork.OnUIInidcatorArgs.OnEvent += new COnEvent <CUIInicatorArgs> .OnEventHandler(OnIndicator);

            MainWork.OnUISystemArgs.OnEvent += new COnEvent <CUIUserArgs <CUISystemArgs> > .OnEventHandler(OnSystem);

            MainWork.OnUIModelArgs.OnEvent += new COnEvent <CUIUserArgs <CModelPara> > .OnEventHandler(OnModel);

            MainWork.OnUIUUTArgs.OnEvent += new COnEvent <CUIUserArgs <CUUT> > .OnEventHandler(OnUUT);

            MainWork.OnUITemp.OnEvent += new COnEvent <CUITempArgs> .OnEventHandler(OnTemp);

            MainWork.OnUISignalArgs.OnEvent += new COnEvent <CUISignalArgs> .OnEventHandler(OnSignal);

            MainWork.OnUIMainlArgs.OnEvent += new COnEvent <CUIUserArgs <CUIMainArgs> > .OnEventHandler(OnMain);

            MainWork.OnActionArgs.OnEvent += new COnEvent <CUIActionArgs> .OnEventHandler(OnAction);

            MainWork.OnUIPassRateArgs.OnEvent += new COnEvent <CUIUserArgs <CWarnRate> > .OnEventHandler(OnPassRate);

            MainWork.OnUIActionArgs.OnEvent += new COnEvent <CUIUserArgs <CUIActionAgrs> > .OnEventHandler(OnActionArgs);

            MainWork.InitialUI();
        }
コード例 #3
0
        /// <summary>
        /// 初始化主线程类
        /// </summary>
        private void InitalMainWork()
        {
            MainWork = new CMainWork(0, "<ATE>", _fatherGuid);
            MainWork.OnUILogArgs.OnEvent += new COnEvent <CUILogArgs> .OnEventHandler(OnLog);

            MainWork.OnUIGlobalArgs.OnEvent += new COnEvent <CUIGlobalArgs> .OnEventHandler(OnGlobal);

            MainWork.OnUIInidcatorArgs.OnEvent += new COnEvent <CUIInicatorArgs> .OnEventHandler(OnIndicator);

            MainWork.OnUISystemArgs.OnEvent += new COnEvent <CUIUserArgs <CUISystemArgs> > .OnEventHandler(OnSystem);

            MainWork.OnUIMainArgs.OnEvent += new COnEvent <CUIUserArgs <CUIMainArgs> > .OnEventHandler(OnMain);

            MainWork.OnTCPLogArgs.OnEvent += new COnEvent <CUILogArgs> .OnEventHandler(OnTcpLog);

            MainWork.InitialUI();
        }
コード例 #4
0
        /// <summary>
        /// 初始化主线程类
        /// </summary>
        private void InitalMainWork()
        {
            MainWork = new CMainWork(0, "<" + CLanguage.Lan("人工/自动下机位") + ">", _fatherGuid);
            MainWork.OnUILogArgs.OnEvent += new COnEvent <CUILogArgs> .OnEventHandler(OnLog);

            MainWork.OnPLCLogArgs.OnEvent += new COnEvent <CUILogArgs> .OnEventHandler(OnPLCLog);

            MainWork.OnUIGlobalArgs.OnEvent += new COnEvent <CUIGlobalArgs> .OnEventHandler(OnGlobal);

            MainWork.OnUIInidcatorArgs.OnEvent += new COnEvent <CUIInicatorArgs> .OnEventHandler(OnIndicator);

            MainWork.OnUISystemArgs.OnEvent += new COnEvent <CUIUserArgs <CUISystemArgs> > .OnEventHandler(OnSystem);

            MainWork.OnUIMainArgs.OnEvent += new COnEvent <CUIUserArgs <CUIMainArgs> > .OnEventHandler(OnMain);

            MainWork.OnUIPassRateArgs.OnEvent += new COnEvent <CUIUserArgs <CWarnRate> > .OnEventHandler(OnPassRate);

            MainWork.InitialUI();
        }
コード例 #5
0
        /// <summary>
        /// 初始化主线程类
        /// </summary>
        private void InitalMainWork()
        {
            MainWork = new CMainWork(0, "<" + CLanguage.Lan("高压测试工位") + ">", _fatherGuid);
            MainWork.OnUILogArgs.OnEvent += new COnEvent <CUILogArgs> .OnEventHandler(OnLog);

            MainWork.OnUIGlobalArgs.OnEvent += new COnEvent <CUIGlobalArgs> .OnEventHandler(OnGlobal);

            MainWork.OnUIInidcatorArgs.OnEvent += new COnEvent <CUIInicatorArgs> .OnEventHandler(OnIndicator);

            MainWork.OnUISystemArgs.OnEvent += new COnEvent <CUIUserArgs <CUISystemArgs> > .OnEventHandler(OnSystem);

            MainWork.OnUIModelArgs.OnEvent += new COnEvent <CUIModelArgs> .OnEventHandler(OnModel);

            MainWork.OnUIMainArgs.OnEvent += new COnEvent <CUIUserArgs <CUIMainArgs> > .OnEventHandler(OnMain);

            MainWork.OnTCPLogArgs.OnEvent += new COnEvent <CUILogArgs> .OnEventHandler(OnTcpLog);

            MainWork.OnUIActionArgs.OnEvent += new COnEvent <CUIUserArgs <CUIActionAgrs> > .OnEventHandler(OnActionArgs);

            MainWork.InitialUI();
        }