Added Siemens/Demo M155 SignalR
WIP fix alarm filters
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user