- WeldingCommon/Devices/ACS/ScannerACS.cs Gun(PrismaticGunACS) 기반 Scanner 전용 ACS 구현 (IScannerACS 인터페이스 + MOTF 3개 메서드 추가) - WeldingCommon/Devices/ACS/ScannerACS.Parameter.cs Gun Parameter 기반 변수명 통합 + eOutType enum 추가 (MOTF 변수명 placeholder - 변수 맵 수신 후 교체 필요) - WeldingCommon/Views/ACS/Stage/ UCStageManual, UCMotorAxses, UCStageMotorMoving Gun Stage View 기반 Scanner X축 전용으로 단순화 Manual 메뉴에 Stage Manual 서브메뉴 추가 - SeqComponentTeachingRun.cs _ACS(IScannerACS) 필드 선언 및 InitDev() 취득 MOTFStart() / CheckMOTFComp() 주석으로 자리 확보 TODO: 이정인 선임 ACS 변수 맵 수신 후 - ScannerACS.Parameter.cs 변수명/버퍼 번호 교체 - MOTFStart() / CheckMOTFComp() 주석 해제 - Stage Manual 시퀀스/설정 추가 여부 확인 - Y/Z축 제어 필요 여부 확인
225 lines
8.5 KiB
C#
225 lines
8.5 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
|
|
public const string StageManual = "StageManual"; // 26.04.06
|
|
|
|
// 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 추가
|
|
public const string ACS = "ACS"; // 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";
|
|
}
|
|
}
|