LanYinTaskData.cs
3.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
using System.Text.Json.Serialization;
namespace Rcs.Cyaninetech.Models;
/// <summary>
/// 蓝因任务响应数据
/// </summary>
public class LanYinTaskData
{
/// <summary>
/// 任务ID
/// </summary>
[JsonPropertyName("running_id")]
public string RunningId { get; set; } = string.Empty;
/// <summary>
/// 场景ID
/// </summary>
[JsonPropertyName("scene_id")]
public int SceneId { get; set; }
/// <summary>
/// 添加时间戳
/// </summary>
[JsonPropertyName("add_timestamp")]
public double AddTimestamp { get; set; }
/// <summary>
/// 任务发布时间
/// </summary>
[JsonPropertyName("receive_time")]
public string ReceiveTime { get; set; } = string.Empty;
/// <summary>
/// 开始时间
/// </summary>
[JsonPropertyName("start_time")]
public string? StartTime { get; set; }
/// <summary>
/// 结束时间
/// </summary>
[JsonPropertyName("end_time")]
public string? EndTime { get; set; }
/// <summary>
/// 循环次数
/// </summary>
[JsonPropertyName("loop_times")]
public int LoopTimes { get; set; }
/// <summary>
/// 从机ID
/// </summary>
[JsonPropertyName("slave_id")]
public string? SlaveId { get; set; }
/// <summary>
/// 从机IP
/// </summary>
[JsonPropertyName("slave_ip")]
public string? SlaveIp { get; set; }
/// <summary>
/// 用户指定机器人ID
/// </summary>
[JsonPropertyName("user_specified_robot_id")]
public string? UserSpecifiedRobotId { get; set; }
/// <summary>
/// 用户指定存储区域
/// </summary>
[JsonPropertyName("user_specified_store_region")]
public string? UserSpecifiedStoreRegion { get; set; }
/// <summary>
/// 当前完成步骤
/// </summary>
[JsonPropertyName("current_complete_step")]
public int CurrentCompleteStep { get; set; }
/// <summary>
/// 总完成步骤
/// </summary>
[JsonPropertyName("total_complete_step")]
public int TotalCompleteStep { get; set; }
/// <summary>
/// 存储库位ID
/// </summary>
[JsonPropertyName("store_location_id")]
public string? StoreLocationId { get; set; }
/// <summary>
/// 发货库位ID
/// </summary>
[JsonPropertyName("shipment_location_id")]
public string? ShipmentLocationId { get; set; }
/// <summary>
/// 是否智能拣货任务
/// </summary>
[JsonPropertyName("is_intelligenc_pickup_task")]
public bool? IsIntelligencePickupTask { get; set; }
/// <summary>
/// 是否智能库存任务
/// </summary>
[JsonPropertyName("is_intelligenc_stock_task")]
public bool IsIntelligenceStockTask { get; set; }
/// <summary>
/// 当前执行步骤
/// </summary>
[JsonPropertyName("current_execute_step")]
public string? CurrentExecuteStep { get; set; }
/// <summary>
/// 用户指定机器人类型
/// </summary>
[JsonPropertyName("user_specified_robot_type")]
public string? UserSpecifiedRobotType { get; set; }
}