46 lines
1.9 KiB
C#
46 lines
1.9 KiB
C#
/*
|
|
* Copyright (c) 2025 LG Electronics Inc.
|
|
* SPDX-License-Identifier: LicenseRef-LGE-Proprietary
|
|
*/
|
|
using Aurora.Api;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Reflection;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace VisionCommon {
|
|
public class EquipAdapter {
|
|
public IEquipMode EquipMode { get; set; }
|
|
public IEquipTrigger EquipTrigger { get; set; }
|
|
public IVisionSetup VisionSetup { get; set; }
|
|
public IVisionAlarm VisionAlarm { get; set; }
|
|
public MotionManager<FovInfo> TeachingMotionManager { get; set; }
|
|
public MotionManager<SubSysInfo> AlignMotionManager { get; set; }
|
|
public PositionManager<FovInfo> PositionManager { get; set; }
|
|
public IMachinePattern MachinePatternManager { get; set; }
|
|
public MachineSeqManager MachineSeqManager { get; set; }
|
|
|
|
private static EquipAdapter instance = null;
|
|
public static EquipAdapter Instance {
|
|
get {
|
|
if (instance == null) {
|
|
instance = new EquipAdapter();
|
|
instance.EquipMode = new DefaultEquipMode();
|
|
instance.EquipTrigger = new DefaultEquipTrigger();
|
|
instance.VisionSetup = new DefaultVisionSetup();
|
|
instance.VisionAlarm = new DefaultVisionAlarm();
|
|
instance.TeachingMotionManager = new DefaultFovMotionManager();
|
|
instance.AlignMotionManager = new DefaultSubSysMotionManager();
|
|
instance.PositionManager = new DefaultFovIPositionAdapterManager();
|
|
instance.MachinePatternManager = new DefaultMachinePatternManager();
|
|
instance.MachineSeqManager = new DefaultMachineSeqManager();
|
|
VersionChecker.Print(Assembly.GetExecutingAssembly().GetName());
|
|
}
|
|
return instance;
|
|
}
|
|
}
|
|
}
|
|
}
|