Fix RW Startup Icons
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user