初始化项目

This commit is contained in:
2025-11-20 13:11:05 +08:00
commit d5edc62c08
2412 changed files with 2201918 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AUTS.Domain.Application
{
/// <summary>
/// 数据库连接串实体
/// </summary>
public class DBCofinStrModel
{
/// <summary>
/// iD
/// </summary>
public int ID { get; set; }
/// <summary>
/// 数据库连接串
/// </summary>
public string CofinStr { get; set; }
}
}

View File

@@ -0,0 +1,26 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AUTS.Domain
{
public class Home
{
/// <summary>
/// 已确认
/// </summary>
public int Confirm { get; set; }
/// <summary>
/// 生产中
/// </summary>
public int Yield { get; set; }
/// <summary>
/// 已完成
/// </summary>
public int Accomplish { get; set; }
}
}

View File

@@ -0,0 +1,38 @@
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AUTS.Domain
{
public class NurseScheduleStatisticsModel : DynamicObject
{
public string EmpName { get; set; }
public string TotalHour { get; set; }
public string TotalWork { get; set; }
Dictionary<string, object> Properties = new Dictionary<string, object>();
public override bool TrySetMember(SetMemberBinder binder, object value)
{
if (!Properties.Keys.Contains(binder.Name))
{
//在此可以做一些小动作
//if (binder.Name == "Col")
//  Properties.Add(binder.Name + (Properties.Count), value.ToString());
//else
//  Properties.Add(binder.Name, value.ToString());
Properties.Add(binder.Name, value.ToString());
}
return true;
}
public override bool TryGetMember(GetMemberBinder binder, out object result)
{
return Properties.TryGetValue(binder.Name, out result);
}
}
}

View File

@@ -0,0 +1,46 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AUTS.Domain
{
public class OInternalNumber
{
/// <summary>
/// 已确认
/// </summary>
public int Confirm { get; set; }
/// <summary>
/// 分配条码
/// </summary>
public int BarCode { get; set; }
/// <summary>
/// 已排产
/// </summary>
public int Scheduling { get; set; }
/// <summary>
/// 生产中
/// </summary>
public int Yield { get; set; }
/// <summary>
/// 生产完成
/// </summary>
public int prodCompletion { get; set; }
/// <summary>
/// 已完成
/// </summary>
public int Accomplish { get; set; }
/// <summary>
/// 订单总数
/// </summary>
public int orderCount { get; set; }
}
}

View File

@@ -0,0 +1,52 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AUTS.Domain
{
/// <summary>
/// 产值查询实体
/// </summary>
public class OutputValueModel
{
public int ID { get; set; }
/// <summary>
/// 订单ID
/// </summary>
public int OrderID { get; set; }
/// <summary>
/// 产线ID
/// </summary>
public int ProductionLineID { get; set; }
/// <summary>
/// 产线名称
/// </summary>
public string ProductionLineName { get; set; }
/// <summary>
/// 生产时间
/// </summary>
public string ProductionTime { get; set; }
/// <summary>
/// 已完成产量
/// </summary>
public int ActualOutput { get; set; }
/// <summary>
/// 价格
/// </summary>
public float Price { get; set; }
/// <summary>
/// 价格
/// </summary>
public float OutputPrice { get; set; }
}
}

View File

@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AUTS.Domain.Application
{
public class RepairReason
{
public int ID { get; set; }
public string RepairType { get; set; }
public string Name { get; set; }
public DateTime CreateTime { get; set; }
public DateTime UpdateTime { get; set; }
public string Remark { get; set; }
}
}

View File

@@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AUTS.Domain
{
public class Sys_Currency
{
/// <summary>
/// 币种
/// </summary>
public string Currency { get; set; }
/// <summary>
/// 币种名称
/// </summary>
public string CurrencyName { get; set; }
/// <summary>
/// 币种符号
/// </summary>
public string CurrencySymbol { get; set; }
}
}

View File

@@ -0,0 +1,35 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AUTS.Domain.Application
{
public class TBL_ColorBoxList
{
public int ID{get;set;}
public string Mo{get;set;}
public string Barcode { get; set; }
public string ColorBox_BarCode { get; set; }
public DateTime Import_DateTime { get; set; }
public DateTime Binding_DateTime { get; set; }
public int Binding_Status { get; set; }
public string Import_User { get; set; }
public string Import_IP { get; set; }
public string DeviceName { get; set;}
public string DevicePSK { get; set; }
}
}

View File

@@ -0,0 +1,26 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AUTS.Domain.Application
{
public class TBL_ImportInfo
{
public int ID { get; set; }
public int ProjectID { get; set; }
public string Barcode { get; set; }
public DateTime ImportDateTime { get; set; }
public DateTime UpdateTime { get; set; }
public string ColorBox_BarCode { get; set; }
public string OutBoxCode { get; set; }
public string MacCode { get; set; }
public string UnitWeigth { get; set; }
}
}

View File

@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AUTS.Domain.Application
{
public class TBL_ImportinfoLog
{
public int ID { get; set; }
public int OType { get; set; }
public DateTime CreationTime { get; set; }
public string Calldb { get; set; }
}
}

View File

@@ -0,0 +1,31 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AUTS.Domain
{
public class TBL_Station
{
/// <summary>
/// 站ID
/// </summary>
public int StationID { get; set; }
/// <summary>
/// 站名
/// </summary>
public string StationName { get; set; }
/// <summary>
/// 操作站类型
/// </summary>
public string StationType { get; set; }
/// <summary>
/// 工艺排序
/// </summary>
public int ArtworkOrder { get; set; }
}
}

View File

@@ -0,0 +1,53 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AUTS.Domain
{
public class TBL_QA_TestLog
{
/// <summary>
/// 用户ID
/// </summary>
public int UserID { get; set; }
/// <summary>
/// 序号
/// </summary>
public string DUT_SN { get; set; }
/// <summary>
/// 时间
/// </summary>
public DateTime StartTime { get; set; }
/// <summary>
/// 测试结果
/// </summary>
public bool TestResult { get; set; }
/// <summary>
/// 检测过程
/// </summary>
public string QA_FlowLog { get; set; }
/// <summary>
/// 检测备注
/// </summary>
public string QA_CheckResult { get; set; }
/// <summary>
/// 错误码
/// </summary>
public int FailSteps { get; set; } = 0;
/// <summary>
/// 错误信息
/// </summary>
public string FailMsg { get; set; }
}
}

View File

@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AUTS.Domain.Application
{
public class TBL_RejectsExplain
{
public int id { get; set; }
public string Matlab { get; set; }
public string Introductions { get; set; }
public string Remark { get; set; }
public DateTime CreationTime { get; set; }
public DateTime UpdateTime { get; set; }
}
}

View File

@@ -0,0 +1,45 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AUTS.Domain.Application
{
/**
*维修日志表
*/
public class TBL_RepairLog
{
public int ID { get; set; }
public int ProductID { get; set; }
public int StationID { get; set; }
public int OrderID { get; set; }
public int TestLogID { get; set; }
public string DUT_SN { get; set; }
public string TestPlan { get; set; }
public string FailSteps { get; set; }
public string FailMsg { get; set; }
public string ErrCode { get; set; }
public DateTime RepairDate { get; set; }
public DateTime UpdateTime { get; set; }
public int RepairType { get; set; }
public int RepairReason { get; set; }
public string RepairSource { get; set; }
public string ProductImg1 { get; set; }
public string ProductImg2 { get; set; }
public string ProductImg3 { get; set; }
public string ProductImg4 { get; set; }
public string DocuNumber { get; set; }
public string RepairComment { get; set; }
public int RepairResult { get; set; }
public int Userid { get; set; }
}
}

View File

@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AUTS.Domain.Application
{
public class TBL_RepairReason
{
public int ID { get; set; }
public int RepairType { get; set; }
public string Name { get; set; }
public DateTime CreateTime { get; set; }
public DateTime UpdateTime { get; set; }
public string Remark { get; set; }
}
}

View File

@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AUTS.Domain.Application
{
public class TBL_RepairResults
{
public int ID { get; set; }
public string Name { get; set; }
public DateTime CreateTime { get; set; }
public DateTime UpdateTime { get; set; }
public string Remark { get; set; }
}
}

View File

@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AUTS.Domain.Application
{
public class TBL_RepairTypes
{
public int ID { get; set; }
public string Name { get; set; }
public DateTime CreateTime { get; set; }
public DateTime UpdateTime { get; set; }
public string Remark { get; set; }
}
}

View File

@@ -0,0 +1,26 @@
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AUTS.Domain.Application
{
[SugarTable("TBL_StationList")]
public class TBL_StationList_ForZongQing
{
public int ID { get; set; }
public int ProjectID { get; set; }
public string StationName { get; set; }
public string StationType { get; set; }
public int ArtworkOrder { get; set; }
public int SnListOrder { get; set; }
public string StationDesc { get; set; }
public DateTime LastUpdateDate { get; set; }
public DateTime UpdateTime { get; set; }
public string LogTableName { get; set; }
public byte[] PreviewImage { get; set; }
public string Remark { get; set; }
}
}

View File

@@ -0,0 +1,34 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AUTS.Domain
{
/// <summary>
/// 测试记录实体
/// </summary>
public class TBL_TestLog
{
/// <summary>
/// ID
/// </summary>
public int ID { get; set; }
/// <summary>
/// sn号
/// </summary>
public string Tester_SN { get; set; }
/// <summary>
/// 测试结果
/// </summary>
public bool TestResult { get; set; }
/// <summary>
/// 订单ID
/// </summary>
public int OrderID { get; set; }
}
}

View File

@@ -0,0 +1,41 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AUTS.Domain.Application
{
public class TBL_UTS_UserOperation
{
public int ID { get; set; }
public DateTime CreationTime { get; set; }
public string UserName { get; set; }
public string Ip { get; set; }
public string Browser { get; set; }
public string Operation { get; set; }
public string Database { get; set; }
public string Device { get; set; }
public string Location { get; set; }
}
}

View File

@@ -0,0 +1,36 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AUTS.Domain.Application
{
public class TBL_importinfo_log
{
public int ID { get; set; }
public int ProjectID { get; set; }
public string Dbname { get; set; }
public string Operationtpye { get; set; }
public DateTime ImportDateTime { get; set; }
public string PartData { get; set; }
public int Result { get; set; }
public string ReturnResult { get; set; }
public string Ip { get; set; }
public string Address { get; set; }
public double Runtime { get; set; }
}
}

View File

@@ -0,0 +1,25 @@
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AUTS.Domain.Application
{
public class TBL_shipping
{
public int ID { get; private set; }
public string ShippingCode { get; private set; }
public string Creator { get; private set; }
public DateTime CreateDateTime { get; private set; }
public DateTime StartDateTime { get; private set; }
public DateTime EndDateTime { get; private set; }
public string Loader { get; private set; }
public int Status { get; private set; }
public string ShippingType { get; private set; }
public string Destination { get; private set; }
public string Voucher { get; private set; }
public string Remark { get; private set; }
}
}

View File

@@ -0,0 +1,36 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AUTS.Domain
{
public class ToDayCapacity
{
/// <summary>
/// DUT序号
/// </summary>
public string DUT_SN { get; set; }
/// <summary>
/// 站位名
/// </summary>
public string StationName { get; set; }
/// <summary>
/// 检测时间
/// </summary>
public DateTime StartTime { get; set; }
/// <summary>
/// T5-2检测时间
/// </summary>
public string DateTime_2nd { get; set; }
/// <summary>
/// 检测结果
/// </summary>
public bool TestResult { get; set; }
}
}

View File

@@ -0,0 +1,34 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AUTS.Domain.Application
{
public class Uts_Importinfo_Log
{
public int ID { get; set; }
public int ProjectID { get; set; }
public string Dbname { get; set; }
public string Operationtpye { get; set; }
public DateTime ImportDateTime { get; set; }
public string PartData { get; set; }
public int Result { get; set; }
public string ReturnResult { get; set; }
public string Ip { get; set; }
public string Address { get; set; }
public double Runtime { get; set; }
}
}

View File

@@ -0,0 +1,53 @@
using System;
using System.Collections.Generic;
using System.Data.SqlTypes;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;
namespace AUTS.Domain.Application
{
public class uts_bindhistoryinfo_log
{
[SugarColumn(IsIdentity =true, IsPrimaryKey = true)]
public int ID { get; set; }
[SugarColumn(ColumnDataType = "int", IsNullable = false)]
public int importinfoID { get; set; }
[SugarColumn(ColumnDataType = "datetime(3)", IsNullable=true)]
public DateTime operateTime { get; set; }
[SugarColumn(ColumnDataType = "int", IsNullable = true)]
public int operateType { get; set; }
[SugarColumn(ColumnDataType = "int", IsNullable = true)]
public int Result { get; set; }
[SugarColumn(ColumnDataType = "int", IsNullable = true)]
public int ProjectID { get; set; }
[SugarColumn(ColumnDataType = "varchar(100)", IsNullable = true)]
public string OutBoxCode { get; set; }
[SugarColumn(ColumnDataType = "varchar(100)", IsNullable = true)]
public string Barcode { get; set; }
[SugarColumn(ColumnDataType = "varchar(100)", IsNullable = true)]
public string ColorBox_BarCode { get; set; }
[SugarColumn(ColumnDataType = "varchar(100)", IsNullable = true)]
public string ShippingCode { get; set; }
[SugarColumn(ColumnDataType = "varchar(255)", IsNullable = true)]
public string Remark { get; set; }
[SugarColumn(ColumnDataType = "varchar(255)", IsNullable = true)]
public string ShippingOperator { get; set; }
}
}

View File

@@ -0,0 +1,60 @@
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AUTS.Domain.Application
{
public class uts_johao_tbl_importinfo
{
[SugarColumn(IsPrimaryKey = true)]//数据库是自增才配自增
public int ID { get; set; }
public int ProjectID { get; set; }
public string Barcode { get; set; }
public DateTime ImportDateTime { get; set; }
public DateTime UpdateTime { get; set; }
public string ColorBox_BarCode { get; set; }
public string OutBoxCode { get; set; }
public string MacCode { get; set; }
public string UnitWeigth { get; set; }
public string LABEL_PRINT_CNT { get; set; }
public DateTime S1 { get; set; }
public DateTime S2 { get; set; }
public DateTime S3 { get; set; }
public DateTime S4 { get; set; }
public DateTime S5 { get; set; }
public DateTime S6 { get; set; }
public DateTime S7 { get; set; }
public DateTime S8 { get; set; }
public DateTime S9 { get; set; }
public DateTime S10 { get; set; }
public DateTime S11 { get; set; }
public DateTime S12 { get; set; }
public int Result1 { get; set; }
public int Result2 { get; set; }
public int Result3 { get; set; }
public int Result4 { get; set; }
public int Result5 { get; set; }
public int Result6 { get; set; }
public int Result7 { get; set; }
public int Result8 { get; set; }
public int Result9 { get; set; }
public int Result10 { get; set; }
public int Result11 { get; set; }
public int Result12 { get; set; }
public string MO { get; set; }
public string ShippingCode { get; set; }
public Nullable<DateTime> ShippingDateTime { get; set; }
public string ShippingLoader { get; set; }
public string F305_BLE_MAC { get; set; }
public string F305_RF_ADD { get; set; }
public string F305_DeviceName { get; set; }
public string F305_DevicePSK { get; set; }
public string F305_4G_IMEI { get; set; }
public string F305_4G_SIM_ID { get; set; }
}
}

View File

@@ -0,0 +1,31 @@
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AUTS.Domain.Application
{
public class uts_johao_tbl_shipping
{
[SugarColumn(IsPrimaryKey = true)]//数据库是自增才配自增
public int ID { get; set; }
public string ShippingCode { get; set; }
public string Creator { get; set; }
public DateTime CreateDateTime { get; set; }
public DateTime StartDateTime { get; set; }
public DateTime EndDateTime { get; set; }
public string Loader { get; set; }
public int Status { get; set; }
public string ShippingType { get; set; }
public string Destination { get; set; }
public string Voucher { get; set; }
public string Remark { get; set; }
public int ProjectID { get; set; }
public int QTY { get; set; }
public string MO { get; set; }
public string Customer { get; set; }
public int BindedColorBoxQTY { get; set; }
}
}

View File

@@ -0,0 +1,56 @@
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AUTS.Domain.Application
{
public class uts_zongqing_tbl_importinfo
{
[SugarColumn(IsPrimaryKey = true)]//数据库是自增才配自增
public int ID { get; set; }
public int ProjectID { get; set; }
public string Barcode { get; set; }
public DateTime ImportDateTime { get; set; }
public DateTime UpdateTime { get; set; }
public string ColorBox_BarCode { get; set; }
public string OutBoxCode { get; set; }
public string MacCode { get; set; }
public string UnitWeigth { get; set; }
public string LABEL_PRINT_CNT { get; set; }
public DateTime S1 { get; set; }
public DateTime S2 { get; set; }
public DateTime S3 { get; set; }
public DateTime S4 { get; set; }
public DateTime S5 { get; set; }
public DateTime S6 { get; set; }
public DateTime S7 { get; set; }
public DateTime S8 { get; set; }
public DateTime S9 { get; set; }
public DateTime S10 { get; set; }
public DateTime S11 { get; set; }
public DateTime S12 { get; set; }
public int Result1 { get; set; }
public int Result2 { get; set; }
public int Result3 { get; set; }
public int Result4 { get; set; }
public int Result5 { get; set; }
public int Result6 { get; set; }
public int Result7 { get; set; }
public int Result8 { get; set; }
public int Result9 { get; set; }
public int Result10 { get; set; }
public int Result11 { get; set; }
public int Result12 { get; set; }
public string Zima_UID { get; set; }
public string Zima_BLE_MAC { get; set; }
public string ZIMA_BATT_SN { get; set; }
public string ZIMA_TUYA_MAC { get; set; }
public string MO { get; set; }
public string ShippingCode { get; set; }
public Nullable<DateTime> ShippingDateTime { get; set; }
public string ShippingLoader { get; set; }
}
}

View File

@@ -0,0 +1,31 @@
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AUTS.Domain.Application
{
public class uts_zongqing_tbl_shipping
{
[SugarColumn(IsPrimaryKey = true)]//数据库是自增才配自增
public int ID { get; set; }
public string ShippingCode { get; set; }
public string Creator { get; set; }
public DateTime CreateDateTime { get; set; }
public DateTime StartDateTime { get; set; }
public DateTime EndDateTime { get; set; }
public string Loader { get; set; }
public int Status { get; set; }
public string ShippingType { get; set; }
public string Destination { get; set; }
public string Voucher { get; set; }
public string Remark { get; set; }
public int ProjectID { get; set; }
public int QTY { get; set; }
public string MO { get; set; }
public string Customer { get; set; }
public int BindedColorBoxQTY { get; set; }
}
}