Commit f4854af3 张东亮

上报添加小车类型

1 个父辈 8ba67d1d
......@@ -4,6 +4,6 @@
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
</startup>
<appSettings>
<add key="ProName" value="AGVDispatch-任务中断问题修复" />
<add key="ProName" value="AGVDispatch-上报添加小车类型" />
</appSettings>
</configuration>
\ No newline at end of file
......@@ -286,6 +286,10 @@ namespace DeviceLib.BLL
/// </summary>
public string loc { get; set; }
/// <summary>
/// 小车类型
/// </summary>
public int type { get; set; }
/// <summary>
/// 错误消息
/// </summary>
public string message { get; set; }
......
......@@ -137,6 +137,7 @@ namespace DeviceLib.BLL
{
name = robot.name,
elec = robot?.status?.battery_percentage.ToString("f2"),
type= robot.id
};
if(robot.job!=null)
{
......@@ -154,7 +155,7 @@ namespace DeviceLib.BLL
}
else
{
agv.loc = "STANDBY";
agv.loc = "";
}
}
else
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!