Fixed Nc_Demo
Added functionality Added Axes Reset
This commit is contained in:
@@ -9,6 +9,76 @@ namespace CMS_CORE_Library
|
||||
{
|
||||
public static class DataStructures
|
||||
{
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
#region Data structor models
|
||||
|
||||
public struct PreAndPostPowerOnModel
|
||||
{
|
||||
public PrePowerOnModel prePowerOn;
|
||||
public PostPowerOnModel postPowerOn;
|
||||
}
|
||||
public struct PowerOnDataModel
|
||||
{
|
||||
public uint Id;
|
||||
public bool Active;
|
||||
public bool Clickable;
|
||||
}
|
||||
|
||||
public class PrePowerOnModel
|
||||
{
|
||||
public PowerOnDataModel PowerOn;
|
||||
public PowerOnDataModel AirPressure;
|
||||
public PowerOnDataModel ProtectionStatus;
|
||||
public PowerOnDataModel EmergencyButtons;
|
||||
public PowerOnDataModel SettingMode;
|
||||
public PowerOnDataModel StartingKey;
|
||||
}
|
||||
|
||||
public class PostPowerOnModel
|
||||
{
|
||||
public PowerOnDataModel AxisReset;
|
||||
public PowerOnDataModel WaterjetPump;
|
||||
}
|
||||
|
||||
public class AlarmModel
|
||||
{
|
||||
public uint Id;
|
||||
public string Message;
|
||||
public bool IsWarning;
|
||||
public int Process;
|
||||
}
|
||||
|
||||
public class ProcessDataModel
|
||||
{
|
||||
public ushort Id;
|
||||
public string Type;
|
||||
public bool IsInAlarm;
|
||||
public string PartProgramName;
|
||||
public string Status;
|
||||
public bool Visible;
|
||||
public byte Reps;
|
||||
}
|
||||
|
||||
public struct FunctionalityModel
|
||||
{
|
||||
public uint Id;
|
||||
public bool IsActive;
|
||||
}
|
||||
|
||||
public struct StrobeModel
|
||||
{
|
||||
public uint Id;
|
||||
public bool IsActive;
|
||||
}
|
||||
|
||||
public struct AxisResetDataModel
|
||||
{
|
||||
public bool IsActive;
|
||||
public int Percentage;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
#region Cms Errors Codes
|
||||
|
||||
@@ -71,57 +141,5 @@ namespace CMS_CORE_Library
|
||||
internal static CmsError SIEMENS_HMI_NOT_RUNNING_ERROR = new CmsError(CMS_ERROR_CODES.SIEMENS_HMI_NOT_RUNNING, "CMS-Core-Error: Siemens HMI is not Running / Ready");
|
||||
|
||||
#endregion
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
#region Data structor models
|
||||
|
||||
public struct PreAndPostPowerOnModel
|
||||
{
|
||||
public PrePowerOnModel prePowerOn;
|
||||
public PostPowerOnModel postPowerOn;
|
||||
}
|
||||
public struct PowerOnDataModel
|
||||
{
|
||||
public uint Id;
|
||||
public bool Active;
|
||||
public bool Clickable;
|
||||
}
|
||||
|
||||
public class PrePowerOnModel
|
||||
{
|
||||
public PowerOnDataModel PowerOn;
|
||||
public PowerOnDataModel AirPressure;
|
||||
public PowerOnDataModel ProtectionStatus;
|
||||
public PowerOnDataModel EmergencyButtons;
|
||||
public PowerOnDataModel SettingMode;
|
||||
public PowerOnDataModel StartingKey;
|
||||
}
|
||||
|
||||
public class PostPowerOnModel
|
||||
{
|
||||
public PowerOnDataModel AxisReset;
|
||||
public PowerOnDataModel WaterjetPump;
|
||||
}
|
||||
|
||||
public class AlarmModel
|
||||
{
|
||||
public uint id;
|
||||
public string message;
|
||||
public bool isWarning;
|
||||
public int process;
|
||||
}
|
||||
|
||||
public class ProcessData
|
||||
{
|
||||
public ushort Id;
|
||||
public string Type;
|
||||
public bool IsInAlarm;
|
||||
public string PartProgramName;
|
||||
public string Status;
|
||||
public bool Visible;
|
||||
public byte Reps;
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user