AutoRun 진행 시, InitParam Skip
This commit is contained in:
parent
d8bdf5da81
commit
f6bc81c1c7
@ -304,12 +304,12 @@ namespace ILSOS_CCW_H52A.Sequences
|
|||||||
//Device Init
|
//Device Init
|
||||||
_Scanner = context.GetLaserScanner();
|
_Scanner = context.GetLaserScanner();
|
||||||
_Laser = context.GetLaser();
|
_Laser = context.GetLaser();
|
||||||
if (_InitParam.UseStream) {
|
//if (_InitParam.UseStream) {
|
||||||
_StreamLightLBAD = new StreamLightLBAD();
|
_StreamLightLBAD = new StreamLightLBAD();
|
||||||
_StreamLightLBAD._Client = context.GetStreamLightClient();
|
_StreamLightLBAD._Client = context.GetStreamLightClient();
|
||||||
_StreamLightLBAD._Sub = context.GetStreamLightSub();
|
_StreamLightLBAD._Sub = context.GetStreamLightSub();
|
||||||
ProcessManager.Instance.RegisterLbadStream(_StreamLightLBAD);
|
ProcessManager.Instance.RegisterLbadStream(_StreamLightLBAD);
|
||||||
}
|
//}
|
||||||
_CellTracker = context.GetCellTracker();
|
_CellTracker = context.GetCellTracker();
|
||||||
_PLC = context.Devices[DeviceIds.PLCDevice] as PLCControllerCCWH52A;
|
_PLC = context.Devices[DeviceIds.PLCDevice] as PLCControllerCCWH52A;
|
||||||
_IO = context.GetIOUnit();
|
_IO = context.GetIOUnit();
|
||||||
@ -321,10 +321,10 @@ namespace ILSOS_CCW_H52A.Sequences
|
|||||||
{
|
{
|
||||||
List<string> deviceListToCheck = new List<string>() { CommonDeviceIds.Scanner, CommonDeviceIds.Laser, CommonDeviceIds.PLCDevice, CommonDeviceIds.IODevice };
|
List<string> deviceListToCheck = new List<string>() { CommonDeviceIds.Scanner, CommonDeviceIds.Laser, CommonDeviceIds.PLCDevice, CommonDeviceIds.IODevice };
|
||||||
|
|
||||||
if (_InitParam.UseStream) {
|
//if (_InitParam.UseStream) {
|
||||||
deviceListToCheck.Add(CommonServiceIds.StreamLightLBADClient);
|
deviceListToCheck.Add(CommonServiceIds.StreamLightLBADClient);
|
||||||
deviceListToCheck.Add(CommonServiceIds.StreamLightLBADSub);
|
deviceListToCheck.Add(CommonServiceIds.StreamLightLBADSub);
|
||||||
}
|
//}
|
||||||
|
|
||||||
bool isAllDeviceActivated = true;
|
bool isAllDeviceActivated = true;
|
||||||
foreach (string item in deviceListToCheck) {
|
foreach (string item in deviceListToCheck) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user