223 lines
8.2 KiB
C#
223 lines
8.2 KiB
C#
namespace WeldingCommon
|
|
{
|
|
public enum eEquipmentMode
|
|
{
|
|
MANUAL,
|
|
AUTO,
|
|
}
|
|
|
|
public enum eWorkingPosition
|
|
{
|
|
NONE = 0, // 시작전
|
|
CHECKING_CONDITION,
|
|
|
|
LOADING_CELL,
|
|
UPLOADING_WELD_LIST,
|
|
EXECUTING_WELD,
|
|
UNLOADING_CELL,
|
|
|
|
REPORTING_RESULT,
|
|
CHECKING_CYCLE,
|
|
|
|
DONE,
|
|
MAX
|
|
};
|
|
|
|
internal class EquipDefCommon
|
|
{
|
|
}
|
|
|
|
public class CommonViewIds
|
|
{
|
|
// Recipe
|
|
public const string Recipe = "Recipe"; // Menu 1
|
|
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 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";
|
|
|
|
public const string LaserDevice = "LaserDevice";
|
|
|
|
//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 RCCOperation = "RCCOperation";
|
|
public const string ScannerOperation = "ScannerOperation";
|
|
|
|
public const string TestDevice = "TestDevice"; // For Test Device
|
|
public const string TestSequence = "TestSequence"; // For Test Sequence
|
|
public const string LaserIPGControl = "LaserIPGControl";
|
|
|
|
// Monitoring
|
|
public const string PLCBitMonitoring = "PLCBitMonitoring";
|
|
public const string PLCWordMonitoring = "PLCWordMonitoring";
|
|
public const string IOInterfaceView = "IOInterfaceView";
|
|
public const string LaserIPGMonitoring = "LaserIPGMonitoring";
|
|
|
|
//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 Sequence = "Sequence";
|
|
public const string DataLogPath = "DataLogPath";
|
|
}
|
|
|
|
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 LaserIO = "LaserIO";
|
|
|
|
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 Scanner = "Scanner";
|
|
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";
|
|
}
|
|
|
|
public class CommonEventIds
|
|
{
|
|
// PLC 로부터 EVENT_AUTO_RUN_START_REQUEST => 개별 장비 Project MainAutoRunViewModel 로 "EVENT_SEQ_AUTO_RUN_START" 을 보내서 Seq 실행함.
|
|
public const string EVENT_AUTO_RUN_START_REQUEST = "EventAutoRunStartRequest";
|
|
public const string EVENT_SEQ_AUTO_RUN_START = "EventSeqAutoRunStart";
|
|
|
|
// 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_SEQ_AUTO_RUN_STOP = "EventSeqAutoRunStop";
|
|
|
|
public const string EVENT_RECIPE_CHANGE_REQUEST = "EventRecipeChangeRequest";
|
|
|
|
public const string EVENT_UPDATE_AUTURUN_STATE = "EVENT_UPDATE_AUTURUN_STATE";
|
|
|
|
public const string EVENT_DOOR_INTERLOCK = "EVENT_DOOR_INTERLOCK";
|
|
|
|
//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 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 SeqTeachingRun = "SeqTeachingRun";
|
|
public const string SeqManualRunRCC = "SeqManualRunRCC";
|
|
|
|
public const string PLCMonitor = "PLCMonitor";
|
|
public const string AlarmMonitor = "AlarmMonitor";
|
|
}
|
|
|
|
public class EquipEvent
|
|
{
|
|
public const string BOOT_COMPLETED = "BOOT_COMPLETED";
|
|
public const string WORKING_POS_UPDATED = "WORKING_POS_UPDATED";
|
|
public const string EQUIPMENT_STATUS_CHANGED = "EQUIPMENT_STATUS_CHANGED";
|
|
}
|
|
|
|
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 const string StreamLightLBADPub = "StreamLightLBADPub";
|
|
public const string StreamLightLBADSub = "StreamLightLBADSub";
|
|
public const string StreamLightLBADServer = "StreamLightLBADServer";
|
|
public const string StreamLightLBADClient = "StreamLightLBADClient";
|
|
}
|
|
|
|
public class CommonStreamServiceNames
|
|
{
|
|
public const string LBADPub = "LBADPub";
|
|
public const string LBADSub = "LBADSub";
|
|
public const string LBADServer = "LBADServer";
|
|
public const string LBADClient = "LBADClient";
|
|
public const string PubSubTest = "PubSubTest";
|
|
public const string LBADSubTest = "LBADSubTest";
|
|
public const string LBADRPC = "LBADRPC";
|
|
public const string LBADFeatureServer = "LBADFeatureServer";
|
|
}
|
|
|
|
public class CommonStreamLightPort
|
|
{
|
|
public const int LBADSubPort = 5555;
|
|
public const int LBADClientPort = 5565;
|
|
}
|
|
|
|
public class CommonStreamTopicNames
|
|
{
|
|
public const string TOPIC1 = "TOPIC1";
|
|
}
|
|
|
|
class CommonShortcutIds
|
|
{
|
|
public const string StartMain = "Start Main";
|
|
public const string ScreenCapture = "Screen Capture";
|
|
}
|
|
}
|