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