|
|
|
|
@ -24,10 +24,10 @@ namespace OMS.NET.Instructs
|
|
|
|
|
{
|
|
|
|
|
try
|
|
|
|
|
{
|
|
|
|
|
string id = Data.GetProperty("id").GetString() ?? "";
|
|
|
|
|
string type = Data.GetProperty("type").GetString() ?? "";
|
|
|
|
|
string points = Data.GetProperty("points").GetString() ?? "";
|
|
|
|
|
string point = Data.GetProperty("point").GetString() ?? "";
|
|
|
|
|
long id = Data.GetProperty("id").GetInt64();
|
|
|
|
|
string type = Data.GetProperty("type").GetString();
|
|
|
|
|
string points = Data.GetProperty("points").GetString();
|
|
|
|
|
string point = Data.GetProperty("point").GetString();
|
|
|
|
|
string? color = Data.GetProperty("color").GetString();
|
|
|
|
|
int? width = Data.GetProperty("width").GetInt32();
|
|
|
|
|
string? childRelations = Data.GetProperty("childRelations").GetString();
|
|
|
|
|
@ -67,11 +67,11 @@ namespace OMS.NET.Instructs
|
|
|
|
|
string time = GlobalArea.GetCurrentTime();
|
|
|
|
|
ResponseOrBroadcastInstructs.Add(new BroadcastInstuct()
|
|
|
|
|
{
|
|
|
|
|
IsResponse = true,
|
|
|
|
|
IsBroadcast = true,
|
|
|
|
|
Class = this.Class,
|
|
|
|
|
Conveyor = conveyor,
|
|
|
|
|
Time = time,
|
|
|
|
|
Data = mapData,//todo get sth base64
|
|
|
|
|
Data = mapData,
|
|
|
|
|
});
|
|
|
|
|
ResponseOrBroadcastInstructs.Add(new BroadcastInstuct()
|
|
|
|
|
{
|
|
|
|
|
@ -91,7 +91,7 @@ namespace OMS.NET.Instructs
|
|
|
|
|
IsResponse = true,
|
|
|
|
|
Class = "upload",
|
|
|
|
|
Conveyor = conveyor,
|
|
|
|
|
Time = GlobalArea.GetCurrentTime(),
|
|
|
|
|
Time = time,
|
|
|
|
|
Data = new Dictionary<string, object>()
|
|
|
|
|
{
|
|
|
|
|
{"vid",id},
|
|
|
|
|
|