Added Siemens/Demo M155 SignalR

WIP fix alarm filters
This commit is contained in:
Lucio Maranta
2018-11-15 13:29:15 +01:00
parent 209c14530f
commit 4d5020665d
9 changed files with 81 additions and 11 deletions
+21 -1
View File
@@ -60,7 +60,7 @@ namespace Step.Model.DTOModels
{
public override bool Equals(object obj)
{
var item = obj as ProcessModel;
ProcessModel item = obj as ProcessModel;
if (item == null)
return false;
@@ -84,4 +84,24 @@ namespace Step.Model.DTOModels
return base.GetHashCode();
}
}
public class DTOM155InputModel : M155InputIsNeededModel
{
public new string Type;
public override bool Equals(object obj)
{
DTOM155InputModel item = obj as DTOM155InputModel;
if (item == null)
return false;
if (Process != item.Process)
return false;
if (Type != item.Type)
return false;
return true;
}
}
}