Added M156
WIP WATCHDOG WIP Tool movememt
This commit is contained in:
@@ -318,6 +318,13 @@ namespace CMS_CORE_Library.Models
|
||||
public Dictionary<byte, string> Buttons;
|
||||
}
|
||||
|
||||
public class M156InputIsNeededModel
|
||||
{
|
||||
public uint Process;
|
||||
public int Id;
|
||||
public double Value;
|
||||
}
|
||||
|
||||
public struct M154DataModel
|
||||
{
|
||||
public uint Process;
|
||||
@@ -438,6 +445,34 @@ namespace CMS_CORE_Library.Models
|
||||
public ASSISTED_TOOLING_ACTION Action { get; set; }
|
||||
}
|
||||
|
||||
public class ToolMovementModel
|
||||
{
|
||||
public ushort NewMagazineId { get; set; }
|
||||
public ushort NewPositionId { get; set; }
|
||||
public ushort OldMagazineId { get; set; }
|
||||
public ushort OldPositionId { get; set; }
|
||||
public MOVEMENT_TYPE Action { get; set; }
|
||||
}
|
||||
|
||||
public enum MOVEMENT_TYPE
|
||||
{
|
||||
NONE = 0,
|
||||
TRANSFER = 1,
|
||||
TRANSFER_WITHOUT_ORIG = 2,
|
||||
SWITCH = 3
|
||||
}
|
||||
|
||||
public enum MOVEMENT_RESPONSE
|
||||
{
|
||||
NONE = 0,
|
||||
OK = 1,
|
||||
TOOL_NOT_FOUND = 2,
|
||||
MAGAZINE_NOT_FOUND = 3,
|
||||
POSITION_NOT_FOUND = 4,
|
||||
POSITION_OCCUPIED = 5,
|
||||
POSITION_INCOMPATIBLE = 6
|
||||
}
|
||||
|
||||
public enum ORIGIN
|
||||
{
|
||||
NONE = 0,
|
||||
|
||||
Reference in New Issue
Block a user