100 lines
3.1 KiB
C#
100 lines
3.1 KiB
C#
using System.Collections.Generic;
|
|
using System;
|
|
using System.Runtime.CompilerServices;
|
|
using WeldingCommon;
|
|
|
|
namespace ILSOS_PrismaticGun
|
|
{
|
|
internal class EquipDef
|
|
{
|
|
}
|
|
internal class ViewIds : CommonViewIds
|
|
{
|
|
public const string StageManual = "StageManual";
|
|
}
|
|
internal class DeviceIds : CommonDeviceIds
|
|
{
|
|
public const string ACS = "ACS";
|
|
public const string MassFlowMeterStageA = "MassFlowMeterStageA";
|
|
public const string MassFlowMeterStageB = "MassFlowMeterStageB";
|
|
public const string HeightSensor = "HeightSensor";
|
|
//public eYAxisType eYAxisType;
|
|
|
|
enum eHeightSensor
|
|
{
|
|
LOAD_DIR_STAGE_A = 0,
|
|
UNLOAD_DIR_STAGE_A = 1,
|
|
LOAD_DIR_STAGE_B = 2,
|
|
UNLOAD_DIR_STAGE_B = 3,
|
|
}
|
|
|
|
// 공통부에 Ajin이 필요한가?
|
|
public const string AJIN = "AJIN";
|
|
}
|
|
internal class SequenceIds : CommonSequenceIds
|
|
{
|
|
public const string SeqLoadCellStageA = "SeqLoadCellStageA";
|
|
|
|
public const string SeqWeldingCellStageA = "SeqWeldingCellStageA";
|
|
|
|
public const string TargetMoveSequenceStageA = "TargetMoveSequenceStageA";
|
|
|
|
public const string TeachingMoveSequenceStageA = "TeachingMoveSequenceStageA";
|
|
|
|
public const string SplitLine = "SplitLine";
|
|
public const string MotorInit = "MotorInit";
|
|
public const string OneShot = "OneShot";
|
|
}
|
|
internal class RecipeIds : CommonRecipeIds
|
|
{
|
|
public const string StageAMainRecipe = "StageAMainRecipe";
|
|
public const string StageBMainRecipe = "StageBMainRecipe";
|
|
}
|
|
internal class MotorIds
|
|
{
|
|
public const string AxisX1 = "AxisX1";
|
|
public const string AxisX2 = "AxisX2";
|
|
public const string AxisY1 = "AxisY1";
|
|
public const string AxisY2 = "AxisY2";
|
|
|
|
// Ajin Motor
|
|
public const string AxisZ = "AxisZ";
|
|
|
|
public enum eMotorIdx
|
|
{
|
|
// ACS Motor
|
|
AxisX1,
|
|
AxisY1,
|
|
AxisX2,
|
|
AxisY2,
|
|
AxisZ
|
|
}
|
|
|
|
public static List<string> GetMotorList() => new List<string>(Enum.GetNames(typeof(eMotorIdx)));
|
|
}
|
|
internal class SettingIds
|
|
{
|
|
public const string ACS = "ACS";
|
|
public const string TeachingPos = "TeachingPos";
|
|
public const string LineShotInLinesSetting = "LineShotInLinesSetting";
|
|
|
|
public const string ManualLaser = "LineShotInLines";
|
|
public const string ALineShotInLines = "ALineShotInLines";
|
|
public const string BLineShotInLines = "BLineShotInLines";
|
|
public const string OneShot = "OneShot";
|
|
}
|
|
public class StreamMessageNames
|
|
{
|
|
public const string MESSAGE_NAME_STRING = "MessageNameString";
|
|
public const string MESSAGE_NAME_DOUBLE = "MessageNameDouble";
|
|
public const string MESSAGE_NAME_INT = "MessageNameInt";
|
|
public const string MESSAGE_NAME_JSON = "MessageNameJSON";
|
|
public const string MESSAGE_NAME_LBAD = "MessageNameLBAD";
|
|
}
|
|
public enum eYAxisType
|
|
{
|
|
Y1,
|
|
Y2
|
|
}
|
|
}
|