本文整理汇总了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);
}
示例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);
}
示例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);
}
示例4: setObj
public void setObj(string value)
{
curObj = valmoWin.dv.getObj(value);
if (curObj != null)
{
curObj.addHandle(handleState);
}
}
示例5: moldHeatingBtn
public moldHeatingBtn()
{
InitializeComponent();
curObj = valmoWin.dv.KeyPr[52];
curObj.addHandle(btnStateFunc, plcLstSpd.mapType);
}
示例6: emStopBtn
public emStopBtn()
{
InitializeComponent();
objKey = valmoWin.dv.KeyPr[51];
objKey.addHandle(btnStateFunc, plcLstSpd.mapType);
}
示例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;
}
}
示例8: motorOffBtn
public motorOffBtn()
{
InitializeComponent();
motorOffObj = valmoWin.dv.KeyPr[17];
motorOffObj.addHandle(handleState);
}
示例9: adjustBtn
public adjustBtn()
{
InitializeComponent();
curObj = valmoWin.dv.KeyPr[5];
curObj.addHandle(handleAdjust);
}
示例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());
}
}