fix 增加部署点位返回
This commit is contained in:
@@ -36,6 +36,7 @@ public class DevicesController : ControllerBase
|
||||
.Select((x, xr) => new DeviceResponse
|
||||
{
|
||||
DeviceNo = x.UniqueNo,
|
||||
DeployPlace = x.DeployPlace,
|
||||
HeartbeatInterval = x.HeartbeatInterval,
|
||||
DirectionType = x.DeployDirection,
|
||||
LastHeartbeatTime = xr.LastHeartbeatTime,
|
||||
|
||||
@@ -23,6 +23,10 @@ public class DeviceResponse
|
||||
/// </summary>
|
||||
public DeviceDeployDirectionEnumType? DirectionType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 部署点位
|
||||
/// </summary>
|
||||
public string DeployPlace { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 最后心跳时间
|
||||
|
||||
Reference in New Issue
Block a user