Added new alarm structure, and fixed Power on functions
This commit is contained in:
@@ -73,15 +73,41 @@ namespace CMS_CORE_Library
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
#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 bool PowerOn;
|
||||
public bool AirPressure;
|
||||
public bool ProtectionStatus;
|
||||
public bool EmergencyButtons;
|
||||
public bool SettingMode;
|
||||
public bool StartingKey;
|
||||
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;
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user