Fix RW Startup Icons

This commit is contained in:
Nicola Carminati
2018-01-30 16:16:24 +00:00
parent 245a8aa119
commit b4725163e0
3 changed files with 18 additions and 10 deletions
+13 -5
View File
@@ -258,11 +258,22 @@ namespace CMS_CORE.Fanuc
return NO_ERROR;
}
public override CmsError Nc_RPowerOnData(ref PreAndPostPowerOnModel powerOnModel)
{
return FUNCTION_NOT_ALLOWED_ERROR;
return NO_ERROR;
}
public override CmsError Nc_WPowerOnData(uint id, bool value)
{
return NO_ERROR;
}
//Get the process status
public override CmsError PROC_RStatus(ushort Number, ref PROC_Status Status)
{
@@ -375,10 +386,7 @@ namespace CMS_CORE.Fanuc
return NO_ERROR;
}
public override CmsError Nc_WPowerOnData(uint id, bool value)
{
return FUNCTION_NOT_ALLOWED_ERROR;
}
//Get the process Alarms
public override CmsError PROC_RActiveAlarms(ushort ProcNumber, ref List<AlarmModel> Alarms)
+3 -3
View File
@@ -239,12 +239,12 @@ namespace CMS_CORE.Osai
public override CmsError Nc_RPowerOnData(ref PreAndPostPowerOnModel powerOnModel)
{
return FUNCTION_NOT_ALLOWED_ERROR;
return NO_ERROR;
}
public override CmsError Nc_WPowerOnData(uint id, bool value)
{
return FUNCTION_NOT_ALLOWED_ERROR;
return NO_ERROR;
}
//Get the PLC Active Alarms
@@ -277,7 +277,7 @@ namespace CMS_CORE.Osai
if (messageKeyFound && !string.IsNullOrWhiteSpace(message))
AddAlarmToList((uint)index, message.Trim(), alarms); // Add message to list
else
AddAlarmToList((uint)index, "PLC Message not found, PLC error code : " + index, alarms); // Add message not found with error code
AddAlarmToList((uint)index, "MSG not found, PLC error code : " + index, alarms); // Add message not found with error code
}
// Find key
+2 -2
View File
@@ -244,12 +244,12 @@ namespace CMS_CORE.Siemens
public override CmsError Nc_RPowerOnData(ref PreAndPostPowerOnModel powerOnModel)
{
return FUNCTION_NOT_ALLOWED_ERROR;
return NO_ERROR;
}
public override CmsError Nc_WPowerOnData(uint id, bool value)
{
return FUNCTION_NOT_ALLOWED_ERROR;
return NO_ERROR;
}
//Get the process Mode