FactSheet_HikRobot.cs 2.28 KB
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(FactSheet))]
    public class FactSheet_HikRobot : FactSheet
    {
        #region �����ֶ�
        /// <summary>
        /// ��������������������ԣ�
        /// </summary>
        [JsonPropertyName("physicalParameters")]
        public Hik_PhysicalParameters HikPhysicalParameters { get; set; } = new();
        #endregion

        #region ɾ���ֶ�
        [JsonIgnore]
        public new PhysicalParameters PhysicalParameters { get; set; } = new();
        /// <summary>
        /// Э�����ƣ�MQTTͨ�����ƣ�
        /// </summary>
        [JsonIgnore]
        public new ProtocolLimits ProtocolLimits { get; set; } = new();

        /// <summary>
        /// Э�����ԣ�֧�ֵ�VDA5050���ԣ�
        /// </summary>
        [JsonIgnore]
        public new ProtocolFeatures ProtocolFeatures { get; set; } = new();

        /// <summary>
        /// AGV���νṹ�������ͳ��ֶ��壩
        /// </summary>
        [JsonIgnore]
        public new AgvGeometry AgvGeometry { get; set; } = new();

        /// <summary>
        /// ���ع淶�����ش���������
        /// </summary>
        [JsonIgnore]
        public new LoadSpecification LoadSpecification { get; set; } = new();

        /// <summary>
        /// �������ã���Ӳ���汾��������Ϣ��
        /// </summary>
        [JsonIgnore]
        public new VehicleConfig? VehicleConfig { get; set; }
        #endregion

    }
    public class Hik_PhysicalParameters : PhysicalParameters {
        /// <summary>
        /// �ճ�����xy���򾫶ȷ�Χ
        /// </summary>
        [JsonPropertyName("emptyMoveDeviationXY")]
        public double EmptyMoveDeviationXY { get; set; }
        /// <summary>
        /// ��������xy���򾫶ȷ�Χ
        /// </summary>
        [JsonPropertyName("loadMoveDeviationXY")]
        public double LoadMoveDeviationXY { get; set; }
    }
}