增加海康相关device
This commit is contained in:
parent
0019e2f6ca
commit
e887fc7a04
@ -2196,6 +2196,22 @@
|
||||
<config default="10" name="AlignerTimeout" description="ALigner time out" max="600" min="1" paramter="" tag="" unit="s" type="Integer" />
|
||||
<config default="10" name="AlignerMoveToCenterTimeOut" description="ALigner time out" max="600" min="1" paramter="" tag="" unit="s" type="Integer" />
|
||||
</configs>
|
||||
<configs name="HikGigeCamera">
|
||||
<config default="false" name="EnableDevice" description="是否使能HikGigeCamera" max="" min="" paramter="" tag="" unit="" type="Bool" />
|
||||
<config default="D:\VMImage\" name="ImageFilePath" description="原图像保存位置" max="" min="" paramter="" tag="" unit="" type="String" />
|
||||
<config default="00C19213367" name="Address" description="HikGigeCamera SerialNumber" max="" min="" paramter="" tag="" unit="" type="String" />
|
||||
<config default="1280" name="Width" description="HikGigeCamera Width" max="10000" min="0" paramter="" tag="" unit="" type="Integer" />
|
||||
<config default="960" name="Height" description="HikGigeCamera Height" max="10000" min="0" paramter="" tag="" unit="" type="Integer" />
|
||||
</configs>
|
||||
<configs name="HikVisionMaster">
|
||||
<config default="false" name="EnableDevice" description="是否使能HikVisionMaster" max="" min="" paramter="" tag="" unit="" type="Bool" />
|
||||
<config default="D:\VMImage\Input" name="LocalImageFilePath" description="本地测试图像路径" max="" min="" paramter="" tag="" unit="" type="String" />
|
||||
<config default="D:\VMSolution\123.sol" name="VMSolutionAddress" description="Solution local address" max="" min="" paramter="" tag="" unit="" type="String" />
|
||||
<config default="100,200,200,300,300,100" name="SampleData" description="Load腔Group检查的模板" max="" min="" paramter="" tag="" unit="" type="String" visible="false"/>
|
||||
<config default="100,200,200,300,300,100" name="SampleData2" description="Load腔Place检查的模板" max="" min="" paramter="" tag="" unit="" type="String" visible="false"/>
|
||||
<config default="10" name="Tolerance" description="Load腔Group后圆心偏移上下限,超出此值NG" max="900" min="0" paramter="" tag="" unit="" type="Double" />
|
||||
<config default="10" name="Tolerance2" description="Load腔PlaceWafer后圆心偏移上下限,超出此值NG" max="900" min="0" paramter="" tag="" unit="" type="Double" />
|
||||
</configs>
|
||||
<configs name="P116PIDTC" visible="false">
|
||||
<config default="false" name="EnableDevice" description="Temp Omron install" max="" min="" paramter="" tag="" unit="" type="Bool" />
|
||||
<config default="COM36" name="Address" description="Temp Omron address" max="" min="" paramter="" tag="" unit="" type="String" />
|
||||
|
||||
@ -3,6 +3,7 @@ using Aitex.Core.RT.SCCore;
|
||||
using MECF.Framework.RT.EquipmentLibrary.HardwareUnits.Breakers.NSXCOM;
|
||||
using MECF.Framework.RT.EquipmentLibrary.HardwareUnits.UPS;
|
||||
using MECF.Framework.RT.EquipmentLibrary.HardwareUnits.Temps;
|
||||
using MECF.Framework.RT.EquipmentLibrary.HardwareUnits.MachineVision.HikVision;
|
||||
|
||||
namespace SicRT.Instances
|
||||
{
|
||||
@ -79,6 +80,19 @@ namespace SicRT.Instances
|
||||
QueueDevice(EATONUPS2);
|
||||
}
|
||||
|
||||
//强制构造vm类,是否加载放入构造函数中
|
||||
var hikvm = new HikVisionMasterSDK("LoadLock", "HikVisionMaster", "HikVisionMaster",
|
||||
SC.GetConfigItem("HikVisionMaster.EnableDevice").BoolValue);
|
||||
hikvm.Initialize();
|
||||
QueueDevice(hikvm);
|
||||
|
||||
if (SC.GetConfigItem("HikGigeCamera.EnableDevice").BoolValue)
|
||||
{
|
||||
var hikc = new HikGigeCamera("LoadLock", "HikGigeCamera", "HikGigeCamera");
|
||||
hikc.Initialize();
|
||||
QueueDevice(hikc);
|
||||
}
|
||||
|
||||
//if (SC.GetConfigItem("AKunTemp.EnableDevice").BoolValue)
|
||||
//{
|
||||
// var AkOptics = new AKunTemp("PM1", "AKunTemp");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user