diff --git a/MTC_Adapter/SCMA/AdapterCom/GatewayMTC.cs b/MTC_Adapter/SCMA/AdapterCom/GatewayMTC.cs index 0dff883..3af61fc 100644 --- a/MTC_Adapter/SCMA/AdapterCom/GatewayMTC.cs +++ b/MTC_Adapter/SCMA/AdapterCom/GatewayMTC.cs @@ -264,25 +264,6 @@ namespace SCMA.AdapterCom /// public override void addAlarm(allarme currAllarm) { -#if false - // in base al tipo di allarme decodifico condizione... - Condition.Level livello = Condition.Level.NORMAL; - switch (currAllarm.livello) - { - case "WARNING": - livello = Condition.Level.WARNING; - break; - case "FAULT": - default: - livello = Condition.Level.FAULT; - break; - } - if (conditionNodes.ContainsKey(currAllarm.gruppo)) - { - Condition mAlarm = (Condition)conditionNodes[currAllarm.gruppo].cObject; - mAlarm.Add(livello, currAllarm.descrizione, currAllarm.codNum, "", ""); - } -#endif // implemento chiamata specifica... if (conditionNodes.ContainsKey(currAllarm.gruppo)) {