Aggiunta 2 variabili CMS
This commit is contained in:
@@ -73,6 +73,11 @@ namespace SCMA.AdapterCom
|
||||
/// Elenco ultimi allarmi riportati...
|
||||
/// </summary>
|
||||
protected Dictionary<string, string> lastAlarmList;
|
||||
/// <summary>
|
||||
/// Bool di allarmi presenti
|
||||
/// </summary>
|
||||
public bool alarmPresent = false;
|
||||
|
||||
#endregion
|
||||
|
||||
#region gestione globale oggetto
|
||||
@@ -390,8 +395,6 @@ namespace SCMA.AdapterCom
|
||||
/// </summary>
|
||||
public virtual void processAlarm()
|
||||
{
|
||||
bool alarmPresent = false;
|
||||
|
||||
// continuo controllo
|
||||
if (AlarmFlags != null && AlarmFlags.Length > 0)
|
||||
{
|
||||
|
||||
@@ -3388,6 +3388,17 @@ namespace SCMA
|
||||
// anche il secondo!
|
||||
procPath02_Status();
|
||||
}
|
||||
|
||||
// cerco status allarmi presenti
|
||||
if (STRB_DW2.HasFlag(StFlag32.B29))
|
||||
{
|
||||
currGateway.alarmPresent = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
currGateway.alarmPresent = false;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user