using Common.Models;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;

namespace Common.HTTPModels
{
    public class ControlCmd
    {
        public string command { get; set; }

        [JsonPropertyName("params")]
        [JsonProperty("params")]
        public object Params { get; set; }
    }

    public class UnLoadModel
    {
        /// <summary>
        /// 是否继续上料
        /// </summary>
        public bool isContinueLoad { get; set; }

        public bool isBSRequest { get; set; }

        public List<SourcePowderBottleBoxModel> sourcePowderBottleBoxModel { get; set; }
    }

    public class UploadBoxModel
    {
        /// <summary>
        /// 工装类型
        /// </summary>
        public BoxTypeEnum fixtureType { get; set; }

        /// <summary>
        /// 盒子码
        /// </summary>
        public string boxSNCode { get; set; }


        /// <summary>
        /// 位置1~7
        /// </summary>
        public int boxId_inDoseUpload { get; set; }

        /// <summary>
        /// 剩余tip个数（如果fixtureType == 8~10需要）
        /// </summary>
        public int RemainCount { get; set; }

        /// <summary>
        /// 样品瓶
        /// </summary>
        public List<SampleBottleModel> sampleBottles { get; set; }

        /// <summary>
        /// 原液瓶
        /// </summary>
        public List<SourceLiquidBottleModel> sourceLiquidBottles { get; set; }

        /// <summary>
        /// 粉末
        /// </summary>
        public List<SourcePowderBottleModel> sourcePowderBottles { get; set; }

    }
}
