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
+1
View File
@@ -185,6 +185,7 @@ namespace Step.Model
public const string UPDATE_TOOLS_DATA = "UPDATE_TOOLS_DATA";
public const string NC_MAGAZINE_IS_ACTIVE = "UPDATE_NC_MAGAZINE_STATUS";
public const string SEND_QUEUE_DATA = "SEND_QUEUE_DATA";
public const string SEND_M155_DATA = "SEND_M155_DATA";
public const string BROADCAST_DATA = "BROADCAST_DATA";
+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;
}
}
}