using Common.Models; using MegaRobo.C00225155.Entities.FromWeb; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Common.HTTPModels { public class ToBsUnLoadData { [JsonProperty("sampleSeqs")] public List SampleSeqs { get; set; } [JsonProperty("config")] public ToBsConfig Config { get; set; } [JsonProperty("needFixture")] public List NeedFixture { get; set; } } #region SampleSeq类 public class ToBsSampleSeq { /// /// 手套箱是A1 /// [JsonProperty("area")] public string Area { get; set; } /// /// 载具位置1~7 /// [JsonProperty("carrier")] public string Carrier { get; set; } /// /// 样本瓶名称 /// [JsonProperty("code")] public string Code { get; set; } [JsonProperty("order")] public object Order { get; set; } /// /// 样品编号 /// [JsonProperty("originSeqIds")] public List OriginSeqIds { get; set; } /// /// 在载具中的位置 /// [JsonProperty("pos")] public string Pos { get; set; } [JsonProperty("sampleConfig")] public ToBsSampleConfig SampleConfig { get; set; } /// /// _5mL = 1,_12mL = 2,其它 = 0 /// [JsonProperty("sampleType")] public string SampleType { get; set; } } public class ToBsSampleConfig { [JsonProperty("materialDoseFunctionFlow")] public List MaterialDoseFunctionFlow { get; set; } /// /// box 二维码匹配下面的boxinfo /// [JsonProperty("snCode")] public string SnCode { get; set; } } public class ToBsMaterialDoseFunctionFlow { /// /// 0液1固 /// [JsonProperty("functionFlowType")] public int FunctionFlowType { get; set; } [JsonProperty("realVolumn")] public double RealVolumn { get; set; } /// /// 实际添加量 /// [JsonProperty("targetVolumn")] public double TargetVolumn { get; set; } /// /// 添加物名称 /// [JsonProperty("userMaterialName")] public string UserMaterialName { get; set; } } #endregion #region config类 public class ToBsConfig { [JsonProperty("boxInfo")] public List BoxInfo { get; set; } } public class ToBsBoxInfo { [JsonProperty("detail")] public List Detail { get; set; } [JsonProperty("fixtureType")] public int FixtureType { get; set; } [JsonProperty("posInUpload")] public int PosInUpload { get; set; } [JsonProperty("remainCount")] public int RemainCount { get; set; } [JsonProperty("snCode")] public string SnCode { get; set; } } #endregion #region NeedFixture类 public class ToBsFixtureInfo { /// /// 放到转移位置1~7 /// [JsonProperty("boxIdInDoseUpload")] public int BoxIdInDoseUpload { get; set; } /// /// 治具类型 /// [JsonProperty("fixtureType")] public int FixtureType { get; set; } /// /// 治具二维码 /// [JsonProperty("snCode")] public string SnCode { get; set; } } #endregion }