using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Waste.Application.ThirdApiInfo { /// /// 获取设备信息请求数据 /// public class GetDevInfoRequestDto { /// /// 重量 /// public decimal Weight { get; set; } = 0; /// /// 机器码 /// public string ECode { get; set; } } /// /// 获取设备信息响应数据 /// public class GetDevInfoResponseDto { /// /// 时间戳 /// public int timestamp { get; set; } /// /// 随机数 /// public int noncestr { get; set; } /// /// 用户ID /// public string UserId { get; set; } /// /// secret /// public string Secret { get; set; } /// /// secrethash /// public string SecretHash { get; set; } /// /// 设备上报时才会有 /// public string DeviceId { get; set; } = ""; } }