- WeldingCommon/Devices/ACS/ 에 ScannerACS 3개 파일 추가 (ScannerACS.cs / ScannerACS.Parameter.cs / MotionVariable.cs) - Gun 프로젝트 참조 제거, ScannerACS로 독립 분리 - WeldingCommon에 AuroraACS / AuroraMotor / ACS.SPiiPlusNET 참조 추가 - Scanner EquipmentSetup.RegisterDevices()에 ScannerACS 및 모터 등록 - EquipDef.cs에 MotorIds 추가 - AuroraEx.IsAutoActivation Device 네임스페이스 충돌 수정 - CommonEquipmentSetup.ActivateDevices() Aurora.Api.Device 타입 명시 TODO: 이정인 선임 ACS 변수 맵 수신 후 축 번호 및 변수명 검증 필요
223 lines
8.4 KiB
C#
223 lines
8.4 KiB
C#
namespace WeldingCommon
|
|
{
|
|
public enum eWorkingPosition
|
|
{
|
|
NONE = 0, // 시작전
|
|
CHECKING_CONDITION,
|
|
|
|
LOADING_CELL,
|
|
UPLOADING_WELD_LIST,
|
|
EXECUTING_WELD,
|
|
UNLOADING_CELL,
|
|
|
|
REPORTING_RESULT,
|
|
CHECKING_CYCLE,
|
|
|
|
DONE,
|
|
MAX
|
|
};
|
|
|
|
public enum eEqpStatus
|
|
{
|
|
Manual,
|
|
Auto,
|
|
}
|
|
|
|
internal class EquipDefCommon
|
|
{
|
|
}
|
|
|
|
public class CommonViewIds
|
|
{
|
|
// Recipe
|
|
public const string Recipe = "Recipe"; // Menu 1
|
|
public const string RecipeChangeHistory = "RecipeChangeHistory";
|
|
public const string RecipeEditor = "RecipeEditor";
|
|
public const string ModelEditor = "ModelEditor";
|
|
|
|
|
|
public const string AutoRun = "Auto Run";
|
|
public const string Setting = "Setting";
|
|
public const string AutoBackupView = "AutoBackupView";
|
|
public const string LogSetting = "LogSetting";
|
|
public const string Camera = "Camera";
|
|
public const string Manual = "Manual";
|
|
public const string Monitoring = "Monitoring";
|
|
public const string Device = "Device";
|
|
public const string Alarm = "Alarm";
|
|
public const string History = "History";
|
|
public const string Description = "Description";
|
|
public const string Laser = "Laser";
|
|
public const string Calibration = "Calibration";
|
|
public const string Scanner = "Scanner";
|
|
public const string Power = "Power";
|
|
public const string Teaching = "Teaching";
|
|
public const string PixelResolution = "PixelResolution";
|
|
|
|
//Manual
|
|
public const string ScannerCamera = "ScannerCamera/Operation";
|
|
public const string OCT = "OCT/Operation";
|
|
public const string LBAD = "LBAD";
|
|
//public const string PLCInterfaceView = "PLCInterfaceView";
|
|
public const string ConvEdgeObject = "RCC";
|
|
public const string ModelFinder = "ModelFinder";
|
|
public const string ScannerOperation = "ScannerOperation";
|
|
|
|
public const string TestDevice = "TestDevice"; // For Test Device
|
|
public const string TestSequence = "TestSequence"; // For Test Sequence
|
|
|
|
// Monitoring
|
|
public const string PLCBitMonitoring = "PLCBitMonitoring";
|
|
public const string PLCWordMonitoring = "PLCWordMonitoring";
|
|
public const string IOInterfaceView = "IOInterfaceView";
|
|
|
|
//calibration
|
|
public const string PowerCalProfile = "Power Profile";
|
|
public const string VisionLaserCal = "Vision/Laser Calibraion";
|
|
|
|
public const string StreamDevice = "StreamDevice";
|
|
}
|
|
|
|
public class CommonSettingIds
|
|
{
|
|
public const string Settings = "Settings";
|
|
public const string LaserSetting = "LaserSetting";
|
|
public const string SystemParameter = "SystemParameterILSOS";
|
|
public const string LaserPowerCalParam = "LaserPowerCalParam";
|
|
public const string DoorInterlock = "DoorInterlock";
|
|
|
|
public const string UploadDatas = "UploadDatas";
|
|
public const string RmsDatas = "RmsDatas";
|
|
|
|
public const string Sequence = "Sequence";
|
|
}
|
|
|
|
public class CommonRecipeIds
|
|
{
|
|
//public const string LaserScannerTeaching = "LaserScannerTeaching";
|
|
public const string ScannerObjectTeaching = "ScannerObjectTeaching";
|
|
}
|
|
|
|
public class CommonModelIds
|
|
{
|
|
public const string EquipmentSpecificModel = "EquipmentSpecificModel";
|
|
}
|
|
|
|
public class CommonDeviceIds
|
|
{
|
|
public const string Laser = "Laser";
|
|
public const string LaserCleaner = "LaserCleaner";
|
|
public const string Scanner = "Scanner";
|
|
public const string SmcChiller = "SmcChiller";
|
|
public const string PowerMeter = "PowerMeter";
|
|
public const string Light = "Light"; // Camera Light Controller
|
|
public const string PLCDevice = "PLC";
|
|
public const string IODevice = "IO_Board";
|
|
|
|
public const string CellTracker = "CellTracker";
|
|
public const string LBAD = "LBAD";
|
|
public const string OCT = "OCT";
|
|
|
|
//Temp const String for Device Test - 박준현
|
|
public const string CAS = "CAS";
|
|
public const string AJIN = "AJIN";
|
|
public const string AJINStageMotorZ = "AJINStageMotorZ";
|
|
|
|
#region
|
|
public const string AxisX2 = "AxisX2"; // 26.04.06 추가
|
|
#endregion
|
|
}
|
|
|
|
public class CommonEventIds
|
|
{
|
|
public const string EVENT_EQUIPMENT_STATUS_CHANGE = "EventEquipmentStatusChange";
|
|
|
|
// PLC 로부터 EVENT_AUTO_RUN_START_REQUEST => 개별 장비 Project MainAutoRunViewModel 로 "EVENT_SEQ_AUTO_RUN_START" 을 보내서 Seq 실행함.
|
|
public const string EVENT_AUTO_RUN_START_REQUEST = "EventAutoRunStartRequest";
|
|
|
|
// PLC 로부터 EVENT_AUTO_RUN_STOP_REQUEST => 개별 장비 Project MainAutoRunViewModel 로 "EVENT_SEQ_AUTO_RUN_STOP" 을 보내서 Seq 멈춤.
|
|
public const string EVENT_AUTO_RUN_STOP_REQUEST = "EventAutoRunStopRequest";
|
|
|
|
public const string EVENT_RMS_PARAMETER_READ_REQUEST = "EventRmsParameterReadRequest";
|
|
public const string EVENT_RMS_RECIPE_CHECK_REQUEST = "EventRmsRecipeCheckRequest";
|
|
public const string EVENT_RMS_ACTIVATED_RECIPE_CHANGE_REQUEST = "EventRmsActivatedRecipeChangeRequest";
|
|
|
|
public const string EVENT_UPDATE_AUTURUN_STATE = "EVENT_UPDATE_AUTURUN_STATE";
|
|
|
|
public const string EVENT_RESET_ALL_ALARMS_REQUEST = "EventResetAllAlarmsRequest";
|
|
public const string EVENT_CHANGE_DOOR_LOCK = "EventChangeDoorLock";
|
|
public const string EVENT_CHANGE_RECIPE_INFO = "EventChangeRecipeInfo";
|
|
|
|
//public const string EVENT_WEIGHT_IS_NORMAL = "WeightIsNormal";
|
|
//public const string EVENT_WEIGHT_IS_ABNORMAL = "WeightIsAbnormal";
|
|
//public const string EVENT_PROCESS_RESULT = "EventProcessResult";
|
|
}
|
|
|
|
public class CommonSequenceIds
|
|
{
|
|
//public const string SeqRMSResponse = "SeqRMSResponse";
|
|
public const string SeqManualRunRCC = "SeqManualRunRCC";
|
|
|
|
public const string SeqMarkGrid = "SeqMarkGrid";
|
|
public const string SeqScannerCalibration = "SeqScannerCalibration";
|
|
|
|
public const string SeqReceiveCellInfo = "SeqReceiveCellInfo";
|
|
public const string SeqReportCellResult = "SeqReportCellResult";
|
|
public const string SeqScoutFlyingVision = "SeqScoutFlyingVision";
|
|
public const string SeqScoutNormal = "SeqScoutNormal";
|
|
public const string SeqUploadWeldingList = "SeqUploadWeldingList";
|
|
public const string SeqExecutePlcBitInterface = "SeqExecutePlcBitInterface";
|
|
public const string SeqExecutePlcBitInterfaceForStatusChange = "SeqExecutePlcBitInterfaceForStatusChange";
|
|
public const string SeqCheckWeldingComplete = "SeqCheckWeldingComplete";
|
|
public const string SeqTeachingRun = "SeqTeachingRun";
|
|
public const string SeqComponentTeachingRun = "SeqComponentTeachingRun";
|
|
public const string SeqWaitWeldOrChangePage = "SeqWaitWeldOrChangePage";
|
|
public const string PLCMonitor = "PLCMonitor";
|
|
public const string AlarmMonitor = "AlarmMonitor";
|
|
|
|
public const string SeqAutoRun = "SeqAutoRun";
|
|
}
|
|
|
|
public class EquipEvent
|
|
{
|
|
public const string BOOT_COMPLETED = "BOOT_COMPLETED";
|
|
public const string WORKING_POS_UPDATED = "WORKING_POS_UPDATED";
|
|
}
|
|
|
|
public class CommonServiceIds
|
|
{
|
|
//PubSub
|
|
public const string StreamPubTest = "StreamPubTest";
|
|
public const string StreamSubTest = "StreamSubTest";
|
|
//RPC
|
|
public const string StreamServerTest = "StreamServerTest";
|
|
public const string StreamClientTest = "StreamClientTest";
|
|
//MessageBroadcasting
|
|
public const string StreamBroadcastPub = "StreamBroadcastPub";
|
|
public const string StreamBroadcastSub = "StreamBroadcastSub";
|
|
|
|
//LBAD
|
|
public const string StreamLBADClient = "StreamLBADClient";
|
|
}
|
|
|
|
public class CommonStreamServiceNames
|
|
{
|
|
public const string PubSubTest = "PubSubTest";
|
|
public const string LBADSubTest = "LBADSubTest";
|
|
public const string LBADRPC = "LBADRPC";
|
|
public const string LBADFeatureServer = "LBADFeatureServer";
|
|
|
|
}
|
|
|
|
public class CommonStreamTopicNames
|
|
{
|
|
public const string TOPIC1 = "TOPIC1";
|
|
}
|
|
|
|
class CommonShortcutIds
|
|
{
|
|
public const string StartMain = "Start Main";
|
|
public const string ScreenCapture = "Screen Capture";
|
|
}
|
|
}
|