100 lines
3.3 KiB
C#
100 lines
3.3 KiB
C#
using System.Collections.Generic;
|
|
using System.Security.Cryptography;
|
|
|
|
namespace JinYuan.MES.Models
|
|
{
|
|
|
|
/// <summary>
|
|
/// 卡板电芯信息上传(装箱)接口参数类
|
|
/// </summary>
|
|
public class PackParam
|
|
{
|
|
/// <summary>
|
|
/// 工厂代码
|
|
/// </summary>
|
|
public string siteCode { get; set; }
|
|
public string lineCode { get; set; }
|
|
/// <summary>
|
|
/// 设备编号
|
|
/// </summary>
|
|
public string equipNum { get; set; }
|
|
public string outerContainerCode { get; set; }
|
|
public string outerContainerTypeCode { get; set; }
|
|
public List<ContainerInfo> containerBarcodeInfos { get; set; }
|
|
/// <summary>
|
|
/// 卡板码(箱唛号)
|
|
/// </summary>
|
|
public string ContainerCode { get; set; }
|
|
public int capacity { get; set; }
|
|
/// <summary>
|
|
/// 档位
|
|
/// </summary>
|
|
public string grade { get; set; }
|
|
public string materialCode { get; set; }
|
|
/// <summary>
|
|
/// 电芯信息列表
|
|
/// </summary>
|
|
public List<BatteryInfo> cellDataVOList { get; set; }
|
|
};
|
|
|
|
|
|
/// <summary>
|
|
/// 卡板电芯信息上传(装箱)接口参数类
|
|
/// </summary>
|
|
public class FinishPackParam
|
|
{
|
|
/// <summary>
|
|
/// 工厂代码
|
|
/// </summary>
|
|
public string siteCode { get; set; }
|
|
public string lineCode { get; set; }
|
|
/// <summary>
|
|
/// 设备编号
|
|
/// </summary>
|
|
public string equipCode { get; set; }
|
|
public string outerContainerCode { get; set; } //外箱号
|
|
//public string outerContainerTypeCode { get; set; }
|
|
public List<ContainerInfo> containerBarcodeInfos { get; set; }
|
|
|
|
};
|
|
|
|
|
|
public class ContainerInfo
|
|
{
|
|
/// <summary>
|
|
/// 卡板码(箱唛号)
|
|
/// </summary>
|
|
public string containerCode { get; set; } // 内箱号
|
|
public string rohs { get; } = "RoSH Label"; // 环境标识
|
|
public string productDate { get; set; } // 生产 日期
|
|
public string containerTypeCode { get; } = "XM_BZCPGD"; // 容器类型
|
|
public int packQty { get; set; } // 包装数量
|
|
//public string productionType { get; set; }
|
|
public string groupNum { get; set; } // 组号
|
|
public string customerName { get; set; }
|
|
public string customerCode { get; set; } //客户代码
|
|
public string supplierCode { get; } = "EVEDL"; // 供应商
|
|
public string batchQty { get; set; } // 批数量
|
|
public string grade { get; set; } //档位
|
|
public string customerOrder { get; set; } // 客户订单号
|
|
public string soNum { get; set; }
|
|
public string materialName { get; set; } // 物料名称
|
|
public string materialCode { get; set; } //物料编码
|
|
public string voltage { get; set; } // 电压
|
|
public string inresistance { get; set; } // 内阻
|
|
public string capacity { get; set; } //容量
|
|
public string remark { get; set; }
|
|
public List<BatteryInfo> batteryInfos { get; set; }
|
|
}
|
|
|
|
|
|
public class BatteryInfo
|
|
{
|
|
//电芯条码
|
|
public string identification { get; set; }
|
|
|
|
//电芯条码位置
|
|
public string locationRow { get; set; }
|
|
}
|
|
}
|