當前位置: 首頁>>代碼示例>>C#>>正文


C# objUnit.addHandle方法代碼示例

本文整理匯總了C#中nsDataMgr.objUnit.addHandle方法的典型用法代碼示例。如果您正苦於以下問題:C# objUnit.addHandle方法的具體用法?C# objUnit.addHandle怎麽用?C# objUnit.addHandle使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在nsDataMgr.objUnit的用法示例。


在下文中一共展示了objUnit.addHandle方法的10個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。

示例1: motorOnBtn

        public motorOnBtn()
        {
            InitializeComponent();

            rateObj = valmoWin.dv.SysPr[186];
            motorOnObj = valmoWin.dv.KeyPr[16];
            rateObj.addHandle(handleSysPr186);
            rate.Opacity = 0;
            motorOnObj.addHandle(handleState);
        }
開發者ID:hehaiyang7133862,項目名稱:VICO_Current,代碼行數:10,代碼來源:motorOnBtn.xaml.cs

示例2: manualBtn

        public manualBtn()
        {
            InitializeComponent();
            objManual = valmoWin.dv.KeyPr[2];
            objSemiAuto = valmoWin.dv.KeyPr[3];
            objAuto = valmoWin.dv.KeyPr[4];

            objManual.addHandle(handleManual);
            objSemiAuto.addHandle(handleSemiAuto);
            objAuto.addHandle(handleAuto);
        }
開發者ID:hehaiyang7133862,項目名稱:VICO_Current,代碼行數:11,代碼來源:manualBtn.xaml.cs

示例3: machionStatePage

        public machionStatePage()
        {
            InitializeComponent();

            string addr = Properties.Settings.Default.IPAddr;
            Lasal32.Online("TCP:" + addr, 1, 0, 0, 0);
            MachineName.Content = Lasal32.getString("SR_MachineName");

            valmoWin.dv.SysPr[66].addHandle(handleSysPr_66);
            valmoWin.dv.SysPr[67].addHandle(handleSysPr_67);
            valmoWin.dv.SysPr[105].addHandle(handleSysPr_105);
            //valmoWin.dv.MldPr[560].addHandle(handleMldPr_560);

            valmoWin.dv.SysPr[106].addHandle(updateMachineAction1);
            valmoWin.dv.SysPr[107].addHandle(updateMachineAction2);

            valmoWin.dv.SysPr[152].addHandle(updateCore1);
            valmoWin.dv.SysPr[153].addHandle(updateCore2);

            valmoWin.dv.InjPr[280].addHandle(InjUnitVisiableOrHidden);
            valmoWin.dv.MldPr[560].addHandle(TuneTableVisiableOrHidden);
            valmoWin.dv.SysPr[176].addHandle(SetDEE_USE);

            objOpAction1 = valmoWin.dv.SysPr[106];
            objOpAction1.addHandle(handleSysPr_106);
            objOpAction2 = valmoWin.dv.SysPr[107];
            objOpAction2.addHandle(handleSysPr_106);
            reorder();

            valmoWin.lstLanRefresh.Add(refushlan);

            valmoWin.dv.SysPr[260].addHandle(InjectionSlveVisiableOrHidden);
            valmoWin.dv.SysPr[259].addHandle(InjectionSlve2VisiableOrHidden);
            valmoWin.dv.SysPr[261].addHandle(MoldSlveVisiableOrHidden);
            valmoWin.dv.SysPr[262].addHandle(PlasticSlveVisiableOrHidden);
            valmoWin.dv.SysPr[251].addHandle(SetMachineType);
            valmoWin.dv.SysPr[252].addHandle(SetAutoFeed);
            valmoWin.dv.SysPr[253].addHandle(setScrewType);
            valmoWin.dv.SysPr[254].addHandle(setInterRob);
            valmoWin.dv.MldPr[157].addHandle(SetSensorClamp);
        }
開發者ID:hehaiyang7133862,項目名稱:VICO_Current,代碼行數:41,代碼來源:machionStatePage.xaml.cs

示例4: setObj

 public void setObj(string value)
 {
     curObj = valmoWin.dv.getObj(value);
     if (curObj != null)
     {
         curObj.addHandle(handleState);
     }
 }
開發者ID:hehaiyang7133862,項目名稱:VICO_Current,代碼行數:8,代碼來源:btnSwitch0.xaml.cs

示例5: moldHeatingBtn

 public moldHeatingBtn()
 {
     InitializeComponent();
     curObj = valmoWin.dv.KeyPr[52];
     curObj.addHandle(btnStateFunc, plcLstSpd.mapType);
 }
開發者ID:hehaiyang7133862,項目名稱:VICO_Current,代碼行數:6,代碼來源:moldHeatingBtn.xaml.cs

示例6: emStopBtn

 public emStopBtn()
 {
     InitializeComponent();
     objKey = valmoWin.dv.KeyPr[51];
     objKey.addHandle(btnStateFunc, plcLstSpd.mapType);
 }
開發者ID:hehaiyang7133862,項目名稱:VICO_Current,代碼行數:6,代碼來源:emStopBtn.xaml.cs

示例7: setObj

 public void setObj(string value)
 {
     curObj = valmoWin.dv.getObj(value);
     if (curObj != null)
     {
         //curObj.addLb(lbMain);
         curObj.addHandle(stateHandle);
         lbMain.Content = "--.-" + curObj.unit;
     }
 }
開發者ID:hehaiyang7133862,項目名稱:VICO_Current,代碼行數:10,代碼來源:lbCtrlUnit.xaml.cs

示例8: motorOffBtn

 public motorOffBtn()
 {
     InitializeComponent();
     motorOffObj = valmoWin.dv.KeyPr[17];
     motorOffObj.addHandle(handleState);
 }
開發者ID:hehaiyang7133862,項目名稱:VICO_Current,代碼行數:6,代碼來源:motorOffBtn.xaml.cs

示例9: adjustBtn

 public adjustBtn()
 {
     InitializeComponent();
     curObj = valmoWin.dv.KeyPr[5];
     curObj.addHandle(handleAdjust);
 }
開發者ID:hehaiyang7133862,項目名稱:VICO_Current,代碼行數:6,代碼來源:adjustBtn.xaml.cs

示例10: bdItemPage

        public bdItemPage()
        {
            try
            {
                InitializeComponent();

                for (int i = 0; i < 50; i++)
                {
                    bdItemBarCtrl bar = new bdItemBarCtrl();
                    lstBarCtrl.Add(bar);
                    cvsBars.Children.Add(bar);
                }

                valmoWin.dv.PrdPr[269].addHandle(updateRate);
                valmoWin.dv.PrdPr[270].addHandle(handleSetBase, plcLstSpd.mapType);
                valmoWin.dv.PrdPr[271].addHandle(handleRefreshBlock, plcLstSpd.mapType);
                valmoWin.dv.PrdPr[272].addHandle(handlePauseState, plcLstSpd.mapType);
                valmoWin.dv.PrdPr[267].addMap();
                valmoWin.dv.PrdPr[104].addHandle(TaskTimer);

                objOpAction1 = valmoWin.dv.SysPr[106];
                objOpAction1.addHandle(handleSysPr_106);
                objOpAction2 = valmoWin.dv.SysPr[107];
                objOpAction2.addHandle(handleSysPr_106);

                valmoWin.lstStartUpInit.Add(startUpInit);
            }
            catch (Exception ex)
            {
                vm.perror("[bdItemPage_init]" + ex.ToString());
            }
        }
開發者ID:hehaiyang7133862,項目名稱:VICO_Current,代碼行數:32,代碼來源:bdItemPage.xaml.cs


注:本文中的nsDataMgr.objUnit.addHandle方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。