You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
235 lines
8.1 KiB
C#
235 lines
8.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace XGL.Models
|
|
{
|
|
public class report
|
|
{
|
|
|
|
/// <summary>
|
|
/// 班次编号
|
|
/// </summary>
|
|
public string team { get; set; }
|
|
|
|
/// <summary>
|
|
/// 主键
|
|
/// </summary>
|
|
public string Id { get; set; }
|
|
/// <summary>
|
|
/// 时间
|
|
/// </summary>
|
|
public DateTime? CreateTime { get; set; }
|
|
/// <summary>
|
|
/// 上一任务不良品是否处理并放置在不合格品区域
|
|
/// </summary>
|
|
public string unqualified { get; set; }
|
|
/// <summary>
|
|
/// 涉及内容物转换,上一任务内容物是否清理干净
|
|
/// </summary>
|
|
public string clear { get; set; }
|
|
/// <summary>
|
|
/// 上一任务剩余包材/内容物是否做好防护、标识并放在指定位置
|
|
/// </summary>
|
|
public string residue { get; set; }
|
|
/// <summary>
|
|
/// 流水线是否清理干净,无与当班次生产无关的东西存处
|
|
/// </summary>
|
|
public string lineClear { get; set; }
|
|
/// <summary>
|
|
/// 作业员是否清楚当班次操作
|
|
/// </summary>
|
|
public string UserKnow { get; set; }
|
|
/// <summary>
|
|
/// 该班次内容物、包材是否符合
|
|
/// </summary>
|
|
public string qualified { get; set; }
|
|
/// <summary>
|
|
/// 班次现场使用的设备是否可以正常工作
|
|
/// </summary>
|
|
public string equipStatus { get; set; }
|
|
/// <summary>
|
|
/// 该班次生产批号是否正确
|
|
/// </summary>
|
|
public string StampCorrect { get; set; }
|
|
/// <summary>
|
|
/// 不良品是否处理干净并放置在不合格品区域
|
|
/// </summary>
|
|
public string isClear { get; set; }
|
|
/// <summary>
|
|
/// 剩余包材/内容物是否做好防护并放在指定位置
|
|
/// </summary>
|
|
public string positionCorrect { get; set; }
|
|
/// <summary>
|
|
/// 流水线是否清理干净
|
|
/// </summary>
|
|
public string isLineClear { get; set; }
|
|
public string NickName { get; set; }
|
|
public string ReplaceLineCheckBox { get; set; }
|
|
public string OpenLineCheckBox { get; set; }
|
|
}
|
|
|
|
public class SelfInspectionModel
|
|
{
|
|
public string deviceCode { get; set; }
|
|
public string workDate { get; set; }
|
|
|
|
public string workOrderId { get; set; }
|
|
|
|
public string Id { get; set; }
|
|
//检查时间
|
|
public string InspectionTime { get; set; }
|
|
//搭片漏片
|
|
public string MissingTie { get; set; }
|
|
//包材检查
|
|
public string Package { get; set; }
|
|
//日期码
|
|
public string DateCode { get; set; }
|
|
//包膜良好
|
|
public string PackageGood { get; set; }
|
|
//漏放产品
|
|
public string LeakProduct { get; set; }
|
|
//正常开启剔除装置
|
|
public string NormalOpen { get; set; }
|
|
//装箱数量准确
|
|
public string BoxQuantity { get; set; }
|
|
//其他
|
|
public string Other { get; set; }
|
|
//检查人
|
|
public string Inspector { get; set; }
|
|
//异常原因
|
|
public string Reason { get; set; }
|
|
//创建
|
|
public DateTime CreateTime { get; set; }
|
|
|
|
}
|
|
|
|
public class FirstInspectionReportModel
|
|
{
|
|
public string Id { get; set; }
|
|
public string InspectionTime { get; set; }
|
|
public string CheckTimeLeft { get; set; }
|
|
public string CheckTimeRight { get; set; }
|
|
public string MaterialLeft { get; set; }
|
|
public string MaterialRight { get; set; }
|
|
public string AppearanceLeft { get; set; }
|
|
public string AppearanceRight { get; set; }
|
|
public string StampLeft { get; set; }
|
|
public string StampRight { get; set; }
|
|
public string SprayLeft { get; set; }
|
|
public string SprayRight { get; set; }
|
|
public string PackageLeft { get; set; }
|
|
public string PackageRight { get; set; }
|
|
public string GenerateLeft { get; set; }
|
|
public string GenerateRight { get; set; }
|
|
public string DeviceLeft { get; set; }
|
|
public string DeviceRight { get; set; }
|
|
public string WorkLeft { get; set; }
|
|
public string WorkRight { get; set; }
|
|
public string OtherLeft { get; set; }
|
|
public string OtherRight { get; set; }
|
|
public string OverLeft { get; set; }
|
|
public string OverRight { get; set; }
|
|
public DateTime CreateTime { get; set; }
|
|
public string UserName { get; set; }
|
|
public string WorkDateLeft { get; set; }
|
|
public string WorkDateRight { get; set; }
|
|
}
|
|
|
|
|
|
public class BaseDictData
|
|
{
|
|
public string remark { get; set; }
|
|
|
|
public string dict_code { get; set; }
|
|
public string dict_sort { get; set; }
|
|
public string dict_label { get; set; }
|
|
public string dict_value { get; set; }
|
|
public string dict_type { get; set; }
|
|
}
|
|
//by 019188 2025-12-19
|
|
public class ProductProcessData
|
|
{
|
|
// 主表字段 (qct - 质量检查表)
|
|
public string record_id { get; set; }
|
|
public string check_no { get; set; }
|
|
public string income_batch_no { get; set; }
|
|
public string order_no { get; set; }
|
|
public string material_code { get; set; }
|
|
public string material_name { get; set; }
|
|
public string quality { get; set; }
|
|
public string unit { get; set; }
|
|
public string supplier_code { get; set; }
|
|
public string supplier_name { get; set; }
|
|
public string income_time { get; set; }
|
|
public string check_loc { get; set; }
|
|
public string check_status { get; set; }
|
|
public string check_man_code { get; set; }
|
|
public string check_man_name { get; set; }
|
|
public string check_time { get; set; }
|
|
public string check_result { get; set; }
|
|
|
|
public string status { get; set; }
|
|
public string create_by { get; set; }
|
|
public string create_time { get; set; }
|
|
public string update_by { get; set; }
|
|
public string update_time { get; set; }
|
|
public string check_type { get; set; }
|
|
public string sample_quality { get; set; }
|
|
public string noOk_quality { get; set; }
|
|
|
|
public string remark_code { get; set; }
|
|
public string bz { get; set; }
|
|
|
|
// bpa表字段 (过程能力分析表)
|
|
public string cpk_type { get; set; }
|
|
|
|
// sdd表字段 (系统字典表)
|
|
public string cpkTypeName { get; set; }
|
|
|
|
// q表字段 (检查类型表)
|
|
public string type_code { get; set; }
|
|
public string check_name { get; set; }
|
|
|
|
// pow表字段 (工单表)
|
|
public string workorderCodeSap { get; set; }
|
|
}
|
|
|
|
public class ProductProcessListData
|
|
{
|
|
public string recordId { get; set; }
|
|
public string projectId { get; set; }
|
|
public string projectNo { get; set; }
|
|
public string ruleName { get; set; }
|
|
public string propertyCode { get; set; }
|
|
public string checkMode { get; set; }
|
|
public string sampleNum { get; set; }
|
|
public string belongTo { get; set; }
|
|
public string material_batch { get; set; }
|
|
public string status { get; set; }
|
|
}
|
|
|
|
public class MesTableSelf
|
|
{
|
|
public string report_name;
|
|
|
|
public string id { get; set; }
|
|
public string line_code { get; set; }
|
|
public string product_date { get; set; }
|
|
public string product_code { get; set; }
|
|
public string product_name { get; set; }
|
|
public string check_date { get; set; }
|
|
public string remark { get; set; }
|
|
public string bz { get; set; }
|
|
public string create_by { get; set; }
|
|
public string create_time { get; set; }
|
|
public string update_by { get; set; }
|
|
public string update_time { get; set; }
|
|
public string factory_code { get; set; }
|
|
public string del_flag { get; set; }
|
|
public bool IsFinal { get; set; }
|
|
}
|
|
}
|