针对潍柴项目,新增模拟获取Agv信息,实时数据接口

This commit is contained in:
yang.lee
2023-11-21 16:41:41 +08:00
parent 121cddf493
commit c51f995bfd
4 changed files with 134 additions and 4 deletions

View File

@@ -0,0 +1,39 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tnb.WarehouseMgr.Entities.Dto.Outputs
{
/// <summary>
/// Agv 实时信息输出类
/// </summary>
public class AgvRealInfoOutput
{
/// <summary>
/// 设备序号
/// </summary>
public string deviceCode { get; set; }
/// <summary>
/// 设备所在二维码的x,y坐标前边的值是x后边的是y
/// </summary>
public double[] devicePostionRec { get; set; }
/// <summary>
/// 设备当前位置
/// </summary>
public string devicePosition { get; set; }
/// <summary>
/// 方向,0.001度
/// </summary>
public int oritation { get; set; }
/// <summary>
/// 速度
/// </summary>
public int speed { get; set; }
/// <summary>
/// 当前搬运的货架编号,对应载具编号
/// </summary>
public string shelfNumber { get; set; }
}
}

View File

@@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tnb.WarehouseMgr.Entities.Dto.Queries
{
/// <summary>
/// 获取Agv实时信息查询输入参数
/// </summary>
public class AgvRealInfoQuery
{
/// <summary>
/// 区域Id集成控制系統提供该字段主要用来区分不同的仓库或区域。默认为1
/// </summary>
public string areaId { get; set; } = "1";
/// <summary>
/// 设备类型 固定值0
/// </summary>
public int deviceType { get; set; } = 0;
/// <summary>
/// 设备编号:可用作模糊搜索。多个设备编号英文逗号分隔,不穿插所有
/// </summary>
public string deviceCode { get; set; }
}
}