State_HikRobot.cs 1.21 KB
using System.Text.Json.Serialization;
using Rcs.Domain.Attributes;
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; }
        
}