State_HikRobot.cs
1.33 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
using System.Text.Json.Serialization;
using Rcs.Domain.Extensions;
namespace Rcs.Domain.Models.VDA5050.HikRobot
{
/// <summary>
/// AGV״̬��Ϣ��A����Э����չ��
/// </summary>
[ProtocolInfo("HikRobot", "2.0.0", nameof(State))]
public class State_HikRobot : State
{
#region �����ֶ�
/// <summary>
/// ��Դģʽ
/// </summary>
[JsonPropertyName("energyMode")]
public string? EnergyMode { get; set; }
/// <summary>
/// AGV״̬
/// </summary>
[JsonPropertyName("agvStatus")]
public string? AgvStatus { get; set; }
/// <summary>
/// ���״̬
/// </summary>
[JsonPropertyName("forkState")]
public ForkState_HikRobot ForkState { get; set; } = new();
#endregion
#region ɾ���ֶ�
[JsonIgnore]
public List<Map>? Maps { get; set; }
[JsonIgnore]
public double? DistanceSinceLastNode { get; set; }
#endregion
}
[ProtocolInfo("HikRobot", "2.0.0", nameof(ForkState_HikRobot))]
public class ForkState_HikRobot
{
/// <summary>
/// ��ݾ����߶�
/// </summary>
[JsonPropertyName("liftHeight")]
public double LiftHeight { get; set; }
}
}