NetMQ 协议,支持摄像头增、删、改
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace SHH.Contracts
|
||||
@@ -137,6 +138,7 @@ namespace SHH.Contracts
|
||||
/// <summary>
|
||||
/// 是否立即执行
|
||||
/// </summary>
|
||||
[JsonProperty("ImmediateExecution")] // 确保 JSON 里的这个 key 能精准对应到这个属性
|
||||
public bool ImmediateExecution { get; set; }
|
||||
}
|
||||
|
||||
|
||||
@@ -8,6 +8,8 @@
|
||||
public const string Command = "COMMAND";
|
||||
public const string CommandResult = "COMMAND_RESULT";
|
||||
|
||||
public const string SyncCamera = "Sync_Camera";
|
||||
public const string Sync_Camera = "Sync_Camera";
|
||||
|
||||
public const string Remove_Camera = "Remove_Camera";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user