初始化
This commit is contained in:
19
Face.Domain.ViewModels/AutsChart/RequestOrderStats.cs
Normal file
19
Face.Domain.ViewModels/AutsChart/RequestOrderStats.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Face.Domain.ViewModels
|
||||
{
|
||||
public class RequestOrderStats
|
||||
{
|
||||
public DateTime? StartDate { get; set; }
|
||||
|
||||
public DateTime? EndDate { get; set; }
|
||||
|
||||
public int ProjectID { get; set; }
|
||||
|
||||
public bool IsOrder { get; set; }
|
||||
}
|
||||
}
|
||||
21
Face.Domain.ViewModels/AutsChart/RequestOrdersPlanned.cs
Normal file
21
Face.Domain.ViewModels/AutsChart/RequestOrdersPlanned.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Face.Domain.ViewModels
|
||||
{
|
||||
public class RequestOrdersPlanned
|
||||
{
|
||||
public DateTime? StartDate { get; set; }
|
||||
|
||||
public DateTime? EndDate { get; set; }
|
||||
|
||||
public int ProjectID { get; set; }
|
||||
|
||||
public bool IsOrder { get; set; }
|
||||
|
||||
public int id { get; set; }
|
||||
}
|
||||
}
|
||||
16
Face.Domain.ViewModels/AutsChart/RequestOrdersRealTime.cs
Normal file
16
Face.Domain.ViewModels/AutsChart/RequestOrdersRealTime.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Face.Domain.ViewModels
|
||||
{
|
||||
public class RequestOrdersRealTime
|
||||
{
|
||||
public int ProjectID { get; set; }
|
||||
|
||||
public int Order { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
20
Face.Domain.ViewModels/AutsChart/RequestStatsInProduc.cs
Normal file
20
Face.Domain.ViewModels/AutsChart/RequestStatsInProduc.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Face.Domain.ViewModels.AutsChart
|
||||
{
|
||||
public class RequestStatsInProduc
|
||||
{
|
||||
public DateTime? StartDate { get; set; }
|
||||
|
||||
public DateTime? EndDate { get; set; }
|
||||
|
||||
public int ProjectID { get; set; }
|
||||
|
||||
public string Order { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
37
Face.Domain.ViewModels/AutsChart/VM_DevNestable.cs
Normal file
37
Face.Domain.ViewModels/AutsChart/VM_DevNestable.cs
Normal file
@@ -0,0 +1,37 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Face.Domain.ViewModels
|
||||
{
|
||||
public class VM_DevNestable
|
||||
{
|
||||
public int ServiceID { get; set; }
|
||||
public string HtmlText { get; set; }
|
||||
public string TerminalName { get; set; }
|
||||
public string TerminalType { get; set; }
|
||||
public string TerminalMAC { get; set; }
|
||||
public DateTime? ServiceLastActiveDateTime { get; set; }
|
||||
|
||||
public List<VM_AppListNestable> AppList { get; set; }
|
||||
|
||||
public VM_DevNestable()
|
||||
{
|
||||
AppList = new List<VM_AppListNestable>();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public class VM_AppListNestable
|
||||
{
|
||||
public string AppHtmlText { get; set; }
|
||||
public string AppName { get; set; }
|
||||
public string AppVersion { get; set; }
|
||||
public DateTime? LastActiveDateTime { get; set; }
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
47
Face.Domain.ViewModels/AutsChart/VM_OrderRealTimeStats.cs
Normal file
47
Face.Domain.ViewModels/AutsChart/VM_OrderRealTimeStats.cs
Normal file
@@ -0,0 +1,47 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Face.Domain.ViewModels
|
||||
{
|
||||
public class VM_OrderRealTimeStats
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public class OrderTestLogData
|
||||
{
|
||||
/// <summary>
|
||||
/// 实际产量
|
||||
/// </summary>
|
||||
public int Total { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 时间
|
||||
/// </summary>
|
||||
public DateTime StartTime { get; set; }
|
||||
public string DAYS { get; set; }
|
||||
}
|
||||
|
||||
public class TbTotalDic
|
||||
{
|
||||
/// <summary>
|
||||
/// 计划产量
|
||||
/// </summary>
|
||||
public int PlanTotal { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实际产量
|
||||
/// </summary>
|
||||
public int ActualTotal { get; set; }
|
||||
|
||||
public TbTotalDic()
|
||||
{
|
||||
PlanTotal = 0;
|
||||
ActualTotal = 0;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
65
Face.Domain.ViewModels/AutsChart/VM_TBL_OrderStats.cs
Normal file
65
Face.Domain.ViewModels/AutsChart/VM_TBL_OrderStats.cs
Normal file
@@ -0,0 +1,65 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Face.Domain.ViewModels
|
||||
{
|
||||
public class VM_TBL_OrderStats
|
||||
{
|
||||
/// <summary>
|
||||
/// 站名
|
||||
/// </summary>
|
||||
public List<Entities.TBL_Project> ProjectList { get; set; }
|
||||
|
||||
public string SearchKey { get; set; }
|
||||
|
||||
public List<Entities.TBL_Orders> OrderList { get; set; }
|
||||
public RealTimeOrderInfo OrderInfo { get; set; }
|
||||
|
||||
//public VM_TBL_OrderStats()
|
||||
//{
|
||||
// OrderInfo = new RealTimeOrderInfo();
|
||||
//}
|
||||
}
|
||||
|
||||
public class RealTimeOrderInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// 订单号
|
||||
/// </summary>
|
||||
public string OrderNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 客户
|
||||
/// </summary>
|
||||
public string CustomerAbbr { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 机型
|
||||
/// </summary>
|
||||
public string ProjectName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
public string CreateTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 交期时间
|
||||
/// </summary>
|
||||
public string DeliveryTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订单数量
|
||||
/// </summary>
|
||||
public int OrderCount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工艺站描述
|
||||
/// </summary>
|
||||
public string StationDes { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
64
Face.Domain.ViewModels/AutsChart/VM_TreeNode.cs
Normal file
64
Face.Domain.ViewModels/AutsChart/VM_TreeNode.cs
Normal file
@@ -0,0 +1,64 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Face.Domain.ViewModels
|
||||
{
|
||||
public class VM_TreeNode
|
||||
{
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
public int id { get; set; }
|
||||
/// <summary>
|
||||
/// 文本
|
||||
/// </summary>
|
||||
public string text { get; set; }
|
||||
/// <summary>
|
||||
/// 图标
|
||||
/// </summary>
|
||||
public string icon { get; set; }
|
||||
/// <summary>
|
||||
/// 是否有子节点
|
||||
/// </summary>
|
||||
public bool children { get; set; }
|
||||
/// <summary>
|
||||
/// 类型
|
||||
/// </summary>
|
||||
public string type { get; set; }
|
||||
/// <summary>
|
||||
/// 状态
|
||||
/// </summary>
|
||||
public string state { get; set; }
|
||||
}
|
||||
|
||||
public class VM_TreeView
|
||||
{
|
||||
/// <summary>
|
||||
/// 文本
|
||||
/// </summary>
|
||||
public string text { get; set; }
|
||||
public string icon { get; set; }
|
||||
public int id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 文本
|
||||
/// </summary>
|
||||
public List<VM_TreeNodes> nodes { get; set; }
|
||||
|
||||
public VM_TreeView()
|
||||
{
|
||||
nodes = new List<VM_TreeNodes>();
|
||||
}
|
||||
}
|
||||
|
||||
public class VM_TreeNodes
|
||||
{
|
||||
/// <summary>
|
||||
/// 文本
|
||||
/// </summary>
|
||||
public string text { get; set; }
|
||||
}
|
||||
}
|
||||
22
Face.Domain.ViewModels/Capacity/RequestCapacitySearch.cs
Normal file
22
Face.Domain.ViewModels/Capacity/RequestCapacitySearch.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Face.Domain.ViewModels
|
||||
{
|
||||
public class RequestCapacitySearch
|
||||
{
|
||||
|
||||
public DateTime? StartDate { get; set; }
|
||||
public DateTime? EndDate { get; set; }
|
||||
public int? PlineID { get; set; }
|
||||
public int? ProjectID { get; set; }
|
||||
public int? StationID { get; set; }
|
||||
public string Customer { get; set; }
|
||||
public string Order { get; set; }
|
||||
public string Internalorder { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
21
Face.Domain.ViewModels/Capacity/RequestQAAjaxSearch.cs
Normal file
21
Face.Domain.ViewModels/Capacity/RequestQAAjaxSearch.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Face.Domain.ViewModels
|
||||
{
|
||||
public class RequestQAAjaxSearch
|
||||
{
|
||||
/// <summary>
|
||||
/// 机型ID
|
||||
/// </summary>
|
||||
public int ProjectID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 序号
|
||||
/// </summary>
|
||||
public string Number { get; set; }
|
||||
}
|
||||
}
|
||||
28
Face.Domain.ViewModels/Capacity/RequestQALogSearch.cs
Normal file
28
Face.Domain.ViewModels/Capacity/RequestQALogSearch.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Face.Domain.ViewModels
|
||||
{
|
||||
/// <summary>
|
||||
/// 抽检记录查询
|
||||
/// </summary>
|
||||
public class RequestQALogSearch
|
||||
{
|
||||
/// <summary>
|
||||
/// 开始时间
|
||||
/// </summary>
|
||||
public DateTime? StartDate { get; set; }
|
||||
/// <summary>
|
||||
/// 结束数据
|
||||
/// </summary>
|
||||
public DateTime? EndDate { get; set; }
|
||||
/// <summary>
|
||||
/// 机型ID
|
||||
/// </summary>
|
||||
public int ProjectID { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
33
Face.Domain.ViewModels/Capacity/RequestQASubmit.cs
Normal file
33
Face.Domain.ViewModels/Capacity/RequestQASubmit.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Face.Domain.ViewModels
|
||||
{
|
||||
public class RequestQASubmit
|
||||
{
|
||||
/// <summary>
|
||||
/// 序号
|
||||
/// </summary>
|
||||
public string NumberSubmit { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// QA_过程
|
||||
/// </summary>
|
||||
public string QA_CheckProcSubmit { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// QA_结果
|
||||
/// </summary>
|
||||
public bool QA_TestResultSubmit { get; set; }
|
||||
|
||||
public string QARemarks { get; set; }
|
||||
|
||||
public int QA_ProjectID { get; set; }
|
||||
|
||||
public int QA_QAStationID { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
33
Face.Domain.ViewModels/Capacity/RequestTestLogSearch.cs
Normal file
33
Face.Domain.ViewModels/Capacity/RequestTestLogSearch.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Face.Domain.ViewModels
|
||||
{
|
||||
public class RequestTestLogSearch
|
||||
{
|
||||
public int ProjectID { get; set; }
|
||||
public string Number { get; set; }
|
||||
public int? TestLogID { get; set; }
|
||||
|
||||
|
||||
public string KeyWhere { get; set; }
|
||||
public string KeyWord { get; set; }
|
||||
|
||||
}
|
||||
|
||||
public class RequestTestLogDateSearch
|
||||
{
|
||||
public int page { get; set; }
|
||||
public int pagesize { get; set; }
|
||||
public int ProjectID { get; set; }
|
||||
|
||||
public DateTime? StartDate { get; set; }
|
||||
public DateTime? EndDate { get; set; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
90
Face.Domain.ViewModels/Capacity/ResponseDataQuerySearch.cs
Normal file
90
Face.Domain.ViewModels/Capacity/ResponseDataQuerySearch.cs
Normal file
@@ -0,0 +1,90 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Face.Domain.ViewModels
|
||||
{
|
||||
public partial class ResponseDataquerySearch
|
||||
{
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 序号集
|
||||
/// </summary>
|
||||
public string ProductNumbers { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数量
|
||||
/// </summary>
|
||||
public int numble { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 列表
|
||||
/// </summary>
|
||||
public List<DataQuerySearch> DataQuerySearchList { get; set; }
|
||||
|
||||
public ResponseDataquerySearch()
|
||||
{
|
||||
DataQuerySearchList = new List<DataQuerySearch>();
|
||||
}
|
||||
}
|
||||
|
||||
public class DataQuerySearch
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 主键
|
||||
/// </summary>
|
||||
public int ID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 站名
|
||||
/// </summary>
|
||||
public string StationName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 操作站
|
||||
/// </summary>
|
||||
public int StationID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 机型ID
|
||||
/// </summary>
|
||||
public int ProjectID { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 时间
|
||||
/// </summary>
|
||||
public string StartTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 结果
|
||||
/// </summary>
|
||||
public string TestResult { get; set; }
|
||||
|
||||
///// <summary>
|
||||
///// AssemblySn
|
||||
///// </summary>
|
||||
//public string AssemblySn { get; set; }
|
||||
|
||||
///// <summary>
|
||||
///// DevSN
|
||||
///// </summary>
|
||||
//public string DevSN { get; set; }
|
||||
|
||||
///// <summary>
|
||||
///// QA_结果
|
||||
///// </summary>
|
||||
//public string QA_CheckResult { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// DUT_SN
|
||||
/// </summary>
|
||||
public string DUT_SN { get; set; }
|
||||
}
|
||||
}
|
||||
44
Face.Domain.ViewModels/Capacity/ResponseEveryDaySearch.cs
Normal file
44
Face.Domain.ViewModels/Capacity/ResponseEveryDaySearch.cs
Normal file
@@ -0,0 +1,44 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Face.Domain.ViewModels
|
||||
{
|
||||
public class ResponseEveryDaySearch
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 机型
|
||||
/// </summary>
|
||||
public string ProjectName { get; set; }
|
||||
|
||||
public string OrderNo { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 订单数量
|
||||
/// </summary>
|
||||
public int OrderCount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
public string CreateTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订单交期
|
||||
/// </summary>
|
||||
public string DeliveryTime { get; set; }
|
||||
|
||||
public List<Dictionary<string, object>> Rows { get; set; }
|
||||
}
|
||||
|
||||
public class ResponseEveryDate
|
||||
{
|
||||
public int TotalCount { get; set; }
|
||||
public List<DataQuerySearch> DataList { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
82
Face.Domain.ViewModels/Capacity/ResponseQAAjaxSearch.cs
Normal file
82
Face.Domain.ViewModels/Capacity/ResponseQAAjaxSearch.cs
Normal file
@@ -0,0 +1,82 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Face.Domain.ViewModels
|
||||
{
|
||||
public class ResponseQAAjaxSearch
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 数量
|
||||
/// </summary>
|
||||
public int numble { get; set; }
|
||||
|
||||
public QAResultVM qaResultVM { get; set; }
|
||||
|
||||
public List<QADataSearch> QADataSearchList { get; set; }
|
||||
|
||||
public ResponseQAAjaxSearch()
|
||||
{
|
||||
QADataSearchList = new List<QADataSearch>();
|
||||
}
|
||||
}
|
||||
|
||||
public class QADataSearch
|
||||
{
|
||||
/// <summary>
|
||||
/// 站ID
|
||||
/// </summary>
|
||||
public int StationID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 站名
|
||||
/// </summary>
|
||||
public string StationName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 时间
|
||||
/// </summary>
|
||||
public string StartTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 结果
|
||||
/// </summary>
|
||||
public bool TestResult { get; set; }
|
||||
}
|
||||
|
||||
public class QAResultVM
|
||||
{
|
||||
/// <summary>
|
||||
/// 序号集
|
||||
/// </summary>
|
||||
public string ProductNumbers { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 检测结果
|
||||
/// </summary>
|
||||
public bool TestResult { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 检测过程
|
||||
/// </summary>
|
||||
public string CheckProc { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 项目ID
|
||||
/// </summary>
|
||||
public int ProjectID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// QA站ID
|
||||
/// </summary>
|
||||
public int QAStationID { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
27
Face.Domain.ViewModels/Capacity/ResponseQALogSearch.cs
Normal file
27
Face.Domain.ViewModels/Capacity/ResponseQALogSearch.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Face.Domain.ViewModels
|
||||
{
|
||||
public class ResponseQALogSearch
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// DUT_SN
|
||||
/// </summary>
|
||||
public string DUT_SN { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 时间
|
||||
/// </summary>
|
||||
public string StartTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// QA_结果
|
||||
/// </summary>
|
||||
public string QA_CheckResult { get; set; }
|
||||
}
|
||||
}
|
||||
21
Face.Domain.ViewModels/Capacity/ResponseQASubmit.cs
Normal file
21
Face.Domain.ViewModels/Capacity/ResponseQASubmit.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Face.Domain.ViewModels
|
||||
{
|
||||
public class ResponseQASubmit
|
||||
{
|
||||
/// <summary>
|
||||
/// 总数
|
||||
/// </summary>
|
||||
public int Total { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 今日总数
|
||||
/// </summary>
|
||||
public int TotalToday { get; set; }
|
||||
}
|
||||
}
|
||||
33
Face.Domain.ViewModels/Capacity/VM_TBL_CapacityEveryDay.cs
Normal file
33
Face.Domain.ViewModels/Capacity/VM_TBL_CapacityEveryDay.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Face.Domain.ViewModels
|
||||
{
|
||||
public class VM_TBL_CapacityEveryDay
|
||||
{
|
||||
/// <summary>
|
||||
/// DUT_SN
|
||||
/// </summary>
|
||||
public string DUT_SN { get; set; }
|
||||
/// <summary>
|
||||
/// TestResult
|
||||
/// </summary>
|
||||
public bool TestResult { get; set; }
|
||||
/// <summary>
|
||||
/// StartTime
|
||||
/// </summary>
|
||||
public DateTime StartTime { get; set; }
|
||||
|
||||
|
||||
}
|
||||
|
||||
public class VM_CapacityIndex
|
||||
{
|
||||
public List<Entities.TBL_Project> ProjectList { get; set; }
|
||||
public List<Entities.TBL_Orders> OrdersList { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
18
Face.Domain.ViewModels/Capacity/VM_TBL_CapacityIndex.cs
Normal file
18
Face.Domain.ViewModels/Capacity/VM_TBL_CapacityIndex.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Face.Domain.ViewModels
|
||||
{
|
||||
public class VM_TBL_CapacityIndex
|
||||
{
|
||||
/// <summary>
|
||||
/// 站名
|
||||
/// </summary>
|
||||
public List<Entities.TBL_Project> ProjectList { get; set; }
|
||||
|
||||
public string[] SearchKey { get; set; }
|
||||
}
|
||||
}
|
||||
36
Face.Domain.ViewModels/Capacity/VM_TBL_ToDayCapacity.cs
Normal file
36
Face.Domain.ViewModels/Capacity/VM_TBL_ToDayCapacity.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Face.Domain.ViewModels
|
||||
{
|
||||
public class VM_TBL_ToDayCapacity
|
||||
{
|
||||
/// <summary>
|
||||
/// 站名
|
||||
/// </summary>
|
||||
public string StationName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 总数
|
||||
/// </summary>
|
||||
public int Total { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 有效值
|
||||
/// </summary>
|
||||
public int EffectiveNum { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Pass数
|
||||
/// </summary>
|
||||
public int PassNum { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Fail数
|
||||
/// </summary>
|
||||
public int FailNum { get; set; }
|
||||
}
|
||||
}
|
||||
63
Face.Domain.ViewModels/Face.Domain.ViewModels.csproj
Normal file
63
Face.Domain.ViewModels/Face.Domain.ViewModels.csproj
Normal file
@@ -0,0 +1,63 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{BE790400-C1EE-4D97-B3F1-604F6831E5E7}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Face.Domain.ViewModels</RootNamespace>
|
||||
<AssemblyName>Face.Domain.ViewModels</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<Deterministic>true</Deterministic>
|
||||
<SccProjectName>SAK</SccProjectName>
|
||||
<SccLocalPath>SAK</SccLocalPath>
|
||||
<SccAuxPath>SAK</SccAuxPath>
|
||||
<SccProvider>SAK</SccProvider>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Interfacefield.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="ReturnResult.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Face.Domain\Face.Domain.csproj">
|
||||
<Project>{709aa98f-388f-44dd-b64b-ad44e695c34c}</Project>
|
||||
<Name>Face.Domain</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="app.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
10
Face.Domain.ViewModels/Face.Domain.ViewModels.csproj.vspscc
Normal file
10
Face.Domain.ViewModels/Face.Domain.ViewModels.csproj.vspscc
Normal file
@@ -0,0 +1,10 @@
|
||||
""
|
||||
{
|
||||
"FILE_VERSION" = "9237"
|
||||
"ENLISTMENT_CHOICE" = "NEVER"
|
||||
"PROJECT_FILE_RELATIVE_PATH" = ""
|
||||
"NUMBER_OF_EXCLUDED_FILES" = "0"
|
||||
"ORIGINAL_PROJECT_FILE_PATH" = ""
|
||||
"NUMBER_OF_NESTED_PROJECTS" = "0"
|
||||
"SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER"
|
||||
}
|
||||
53
Face.Domain.ViewModels/Interfacefield.cs
Normal file
53
Face.Domain.ViewModels/Interfacefield.cs
Normal file
@@ -0,0 +1,53 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
|
||||
namespace Face.Domain.ViewModels
|
||||
{
|
||||
public class Interfacefield
|
||||
{
|
||||
/// <summary>
|
||||
/// 名称
|
||||
/// </summary>
|
||||
public string LodgerNmae { get; set; }
|
||||
/// <summary>
|
||||
/// 身份证
|
||||
/// </summary>
|
||||
public string IDNumber { get; set; }
|
||||
/// <summary>
|
||||
/// 性别 0女 1男
|
||||
/// </summary>
|
||||
public int Sex { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 图片
|
||||
/// </summary>
|
||||
public string picture { get; set; }
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
public string remark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 酒店code
|
||||
/// </summary>
|
||||
public string HotelCode { get; set; }
|
||||
/// <summary>
|
||||
/// 房间号
|
||||
/// </summary>
|
||||
public string roomid { get; set; }
|
||||
/// <summary>
|
||||
/// 电话号码
|
||||
/// </summary>
|
||||
public string phonenumber { get; set; }
|
||||
/// <summary>
|
||||
/// 开房时间
|
||||
/// </summary>
|
||||
public DateTime CheckTime { get; set; }
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
31
Face.Domain.ViewModels/Order/VM_OrderInfo.cs
Normal file
31
Face.Domain.ViewModels/Order/VM_OrderInfo.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Face.Domain.ViewModels
|
||||
{
|
||||
public class VM_OrderInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// 订单no
|
||||
/// </summary>
|
||||
public string OrderNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 客户
|
||||
/// </summary>
|
||||
public string CustomerAbbr { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 内部单No
|
||||
/// </summary>
|
||||
public string InternalNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 机型
|
||||
/// </summary>
|
||||
public string ProjectName { get; set; }
|
||||
}
|
||||
}
|
||||
31
Face.Domain.ViewModels/Order/VM_OrderInfoOnMO.cs
Normal file
31
Face.Domain.ViewModels/Order/VM_OrderInfoOnMO.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Face.Domain.ViewModels
|
||||
{
|
||||
public class VM_OrderInfoOnMO
|
||||
{
|
||||
/// <summary>
|
||||
/// 交期时间
|
||||
/// </summary>
|
||||
public string DeliveryTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 客户
|
||||
/// </summary>
|
||||
public string CustomerAbbr { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订单数量
|
||||
/// </summary>
|
||||
public int OrderCount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 机型
|
||||
/// </summary>
|
||||
public string ProjectName { get; set; }
|
||||
}
|
||||
}
|
||||
22
Face.Domain.ViewModels/Order/VM_OrderInternalDetails.cs
Normal file
22
Face.Domain.ViewModels/Order/VM_OrderInternalDetails.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Face.Domain.ViewModels
|
||||
{
|
||||
public class VM_OrderInternalDetails
|
||||
{
|
||||
public int ID { get; set; }
|
||||
public int OrderID { get; set; }
|
||||
public string InternalNo { get; set; }
|
||||
public System.DateTime CreateTime { get; set; }
|
||||
public int ObjectiveYield { get; set; }
|
||||
public int ObjectiveYieldTotal { get; set; }
|
||||
|
||||
public List<Entities.TBL_Orders> OrdersList { get; set; }
|
||||
|
||||
public VM_OrderInfoOnMO OrderInfoOnMO { get; set; }
|
||||
}
|
||||
}
|
||||
66
Face.Domain.ViewModels/Order/VM_OrderInternalList.cs
Normal file
66
Face.Domain.ViewModels/Order/VM_OrderInternalList.cs
Normal file
@@ -0,0 +1,66 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Face.Domain.ViewModels
|
||||
{
|
||||
public class VM_OrderInternalList
|
||||
{
|
||||
/// <summary>
|
||||
/// ID
|
||||
/// </summary>
|
||||
public int ID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订单no
|
||||
/// </summary>
|
||||
public string OrderNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 内部单No
|
||||
/// </summary>
|
||||
public string InternalNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 目标产量
|
||||
/// </summary>
|
||||
public int ObjectiveYield { get; set; }
|
||||
/// <summary>
|
||||
/// 累计目标产量
|
||||
/// </summary>
|
||||
public int ObjectiveYieldTotal { get; set; }
|
||||
|
||||
///// <summary>
|
||||
///// 起止SN
|
||||
///// </summary>
|
||||
//public string Sn_StartEnd { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 交期时间
|
||||
/// </summary>
|
||||
public string DeliveryTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 客户
|
||||
/// </summary>
|
||||
public string CustomerAbbr { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订单数量
|
||||
/// </summary>
|
||||
public int OrderCount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 机型
|
||||
/// </summary>
|
||||
public string ProjectName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
public string CreateTime { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
48
Face.Domain.ViewModels/Order/VM_OrderList.cs
Normal file
48
Face.Domain.ViewModels/Order/VM_OrderList.cs
Normal file
@@ -0,0 +1,48 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Face.Domain.ViewModels
|
||||
{
|
||||
public class VM_OrderList
|
||||
{
|
||||
|
||||
public int OrderID { get; set; }
|
||||
/// <summary>
|
||||
/// 订单号
|
||||
/// </summary>
|
||||
public string OrderNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 客户
|
||||
/// </summary>
|
||||
public string CustomerAbbr { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 机型
|
||||
/// </summary>
|
||||
public string ProjectName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订单数量
|
||||
/// </summary>
|
||||
public int OrderCount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订单交期
|
||||
/// </summary>
|
||||
public string DeliveryTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
public string CreateTime { get; set; }
|
||||
|
||||
public string OrderStatus { get; set; }
|
||||
public string Sn_Start { get; set; }
|
||||
public string Sn_End { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
68
Face.Domain.ViewModels/Order/VM_OrderPlannedSpeed.cs
Normal file
68
Face.Domain.ViewModels/Order/VM_OrderPlannedSpeed.cs
Normal file
@@ -0,0 +1,68 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Face.Domain.ViewModels
|
||||
{
|
||||
public class VM_OrderPlannedSpeed
|
||||
{
|
||||
public int OrderID { get; set; }
|
||||
/// <summary>
|
||||
/// 订单号
|
||||
/// </summary>
|
||||
public string OrderNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 客户
|
||||
/// </summary>
|
||||
public string CustomerAbbr { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 机型
|
||||
/// </summary>
|
||||
public string ProjectName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
public string CreateTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 交期时间
|
||||
/// </summary>
|
||||
public string DeliveryTime { get; set; }
|
||||
|
||||
public string StationDes { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订单数量
|
||||
/// </summary>
|
||||
public int OrderCount { get; set; }
|
||||
|
||||
public List<Dictionary<string, object>> Rows { get; set; }
|
||||
|
||||
|
||||
|
||||
public VM_OrderPlannedSpeed()
|
||||
{
|
||||
Rows = new List<Dictionary<string, object>>();
|
||||
}
|
||||
}
|
||||
|
||||
public class VM_PlannedSpeed
|
||||
{
|
||||
/// <summary>
|
||||
/// 实际产量
|
||||
/// </summary>
|
||||
public int Total { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 时间
|
||||
/// </summary>
|
||||
public DateTime StartTime { get; set; }
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
19
Face.Domain.ViewModels/OutputValue/RequestOVSearch.cs
Normal file
19
Face.Domain.ViewModels/OutputValue/RequestOVSearch.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Face.Domain.ViewModels
|
||||
{
|
||||
public class RequestOVSearch
|
||||
{
|
||||
public DateTime? startDate { get; set; }
|
||||
public DateTime? endDate { get; set; }
|
||||
public int? plineID { get; set; }
|
||||
public int? projectID { get; set; }
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
99
Face.Domain.ViewModels/PPlan/VM_PPlanList.cs
Normal file
99
Face.Domain.ViewModels/PPlan/VM_PPlanList.cs
Normal file
@@ -0,0 +1,99 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Face.Domain.ViewModels
|
||||
{
|
||||
public class VM_PPlanList
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// ID
|
||||
/// </summary>
|
||||
public int ID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 内部单NO
|
||||
/// </summary>
|
||||
public string InternalNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订单NO
|
||||
/// </summary>
|
||||
public string OrderNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 产线名称
|
||||
/// </summary>
|
||||
public string PLName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 目标产量
|
||||
/// </summary>
|
||||
public int ObjectiveYield { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 累计产量
|
||||
/// </summary>
|
||||
public int ActualOutput { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 生产时间
|
||||
/// </summary>
|
||||
public string ProductionTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 起止序号
|
||||
/// </summary>
|
||||
//public string Sn_StartEnd { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
public string Remark { get; set; }
|
||||
|
||||
}
|
||||
|
||||
public class VM_TBL_PPlanInternalTb
|
||||
{
|
||||
/// <summary>
|
||||
/// 内部单ID
|
||||
/// </summary>
|
||||
public int ID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订单号
|
||||
/// </summary>
|
||||
public string OrderNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 内部单号
|
||||
/// </summary>
|
||||
public string InternalNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 机型
|
||||
/// </summary>
|
||||
public string ProjectName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 客户
|
||||
/// </summary>
|
||||
public string CustomerAbbr { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 交期时间
|
||||
/// </summary>
|
||||
public string DeliveryTime { get; set; }
|
||||
public System.DateTime CreateTime { get; set; }
|
||||
|
||||
public int OrderCount { get; set; }
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
107
Face.Domain.ViewModels/PPlan/VM_SnRulesList.cs
Normal file
107
Face.Domain.ViewModels/PPlan/VM_SnRulesList.cs
Normal file
@@ -0,0 +1,107 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Face.Domain.ViewModels
|
||||
{
|
||||
public class VM_SnRulesList
|
||||
{
|
||||
/// <summary>
|
||||
/// 内部单NO
|
||||
/// </summary>
|
||||
public string InternalNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 机型名称
|
||||
/// </summary>
|
||||
public string ProjectName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 交期时间
|
||||
/// </summary>
|
||||
public string DeliveryTime { get; set; }
|
||||
|
||||
public int OrderCount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 图片
|
||||
/// </summary>
|
||||
public string Img { get; set; }
|
||||
|
||||
public List<VM_SnRules> SnRules { get; set; }
|
||||
|
||||
public VM_SnRulesList()
|
||||
{
|
||||
SnRules = new List<VM_SnRules>();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public class VM_SnRules
|
||||
{
|
||||
/// <summary>
|
||||
/// ID
|
||||
/// </summary>
|
||||
public int ID { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 站位
|
||||
/// </summary>
|
||||
public string StationNames { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 条码范围
|
||||
/// </summary>
|
||||
public string Sn_Start { get; set; }
|
||||
|
||||
public string Sn_End { get; set; }
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
public class VM_SnList
|
||||
{
|
||||
/// <summary>
|
||||
/// 内部单NO
|
||||
/// </summary>
|
||||
public string InternalNo { get; set; }
|
||||
public string OrderNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 机型名称
|
||||
/// </summary>
|
||||
public string ProjectName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
public string CreateTime { get; set; }
|
||||
public string UseTime { get; set; }
|
||||
|
||||
public int OrderCount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 图片
|
||||
/// </summary>
|
||||
public string Img { get; set; }
|
||||
|
||||
public string BarCode { get; set; }
|
||||
|
||||
public bool IsUse { get; set; }
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public class VM_DataTableSnList
|
||||
{
|
||||
public int TotalCount { get; set; }
|
||||
|
||||
public List<VM_SnList> SnList { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
110
Face.Domain.ViewModels/PPlan/VM_TBL_PPlanInternalDetails.cs
Normal file
110
Face.Domain.ViewModels/PPlan/VM_TBL_PPlanInternalDetails.cs
Normal file
@@ -0,0 +1,110 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Face.Domain.ViewModels
|
||||
{
|
||||
public class VM_TBL_PPlanInternalDetails
|
||||
{
|
||||
/// <summary>
|
||||
/// 内部单ID
|
||||
/// </summary>
|
||||
public int ID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订单号
|
||||
/// </summary>
|
||||
public string OrderNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 内部单号
|
||||
/// </summary>
|
||||
public string InternalNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 机型
|
||||
/// </summary>
|
||||
public string ProjectName { get; set; }
|
||||
|
||||
public int ProjectID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 客户
|
||||
/// </summary>
|
||||
public string CustomerAbbr { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 交期时间
|
||||
/// </summary>
|
||||
public System.DateTime DeliveryTime { get; set; }
|
||||
|
||||
public string DeliveryTimeStr { get; set; }
|
||||
public string StationText { get; set; }
|
||||
|
||||
///// <summary>
|
||||
///// 开始序号
|
||||
///// </summary>
|
||||
//public string Sn_Start { get; set; }
|
||||
|
||||
///// <summary>
|
||||
///// 结束序号
|
||||
///// </summary>
|
||||
//public string Sn_End { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 列表
|
||||
/// </summary>
|
||||
public List<VM_TBL_PPlan> PPlanList { get; set; }
|
||||
|
||||
public List<Dictionary<string, object>> rows { get; set; }
|
||||
|
||||
public VM_TBL_PPlanInternalDetails()
|
||||
{
|
||||
PPlanList = new List<VM_TBL_PPlan>();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
public class VM_TBL_PPlan
|
||||
{
|
||||
/// <summary>
|
||||
/// 计划ID
|
||||
/// </summary>
|
||||
public int ID { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 实际产量
|
||||
/// </summary>
|
||||
public int ActualOutput { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 目标产量
|
||||
/// </summary>
|
||||
public int ObjectiveYield { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 累计目标产量
|
||||
/// </summary>
|
||||
public int ObjectiveYieldTotal { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
public string Remark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 生产时间
|
||||
/// </summary>
|
||||
public System.DateTime ProductionTime { get; set; }
|
||||
|
||||
public int ProductionLineID { get; set; }
|
||||
public int StationID { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
36
Face.Domain.ViewModels/Properties/AssemblyInfo.cs
Normal file
36
Face.Domain.ViewModels/Properties/AssemblyInfo.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// 有关程序集的一般信息由以下
|
||||
// 控制。更改这些特性值可修改
|
||||
// 与程序集关联的信息。
|
||||
[assembly: AssemblyTitle("Face.Domain.ViewModels")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("Face.Domain.ViewModels")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2021")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// 将 ComVisible 设置为 false 会使此程序集中的类型
|
||||
//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
|
||||
//请将此类型的 ComVisible 特性设置为 true。
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
|
||||
[assembly: Guid("be790400-c1ee-4d97-b3f1-604f6831e5e7")]
|
||||
|
||||
// 程序集的版本信息由下列四个值组成:
|
||||
//
|
||||
// 主版本
|
||||
// 次版本
|
||||
// 生成号
|
||||
// 修订号
|
||||
//
|
||||
// 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号
|
||||
//通过使用 "*",如下所示:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
22
Face.Domain.ViewModels/ReturnResult.cs
Normal file
22
Face.Domain.ViewModels/ReturnResult.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Face.Domain.ViewModels
|
||||
{
|
||||
public class ReturnResult
|
||||
{
|
||||
public int Status { get; set; }
|
||||
public string Message { get; set; }
|
||||
}
|
||||
|
||||
public class ReturnResult<TData> : ReturnResult
|
||||
{
|
||||
public TData Data { get; set; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
15
Face.Domain.ViewModels/User/ResultAddUserVM.cs
Normal file
15
Face.Domain.ViewModels/User/ResultAddUserVM.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Face.Domain.ViewModels.User
|
||||
{
|
||||
public class ResultAddUserVM
|
||||
{
|
||||
public List<Entities.TBL_UTS_Manage_Company> companyList { get; set; }
|
||||
|
||||
public List<Entities.TBL_UTS_Manage_DBList> dbList { get; set; }
|
||||
}
|
||||
}
|
||||
19
Face.Domain.ViewModels/app.config
Normal file
19
Face.Domain.ViewModels/app.config
Normal file
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="MySql.Data" publicKeyToken="c5687fc88969c44d" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-8.0.29.0" newVersion="8.0.29.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7" /></startup></configuration>
|
||||
18
Face.Domain.ViewModels/packages.config
Normal file
18
Face.Domain.ViewModels/packages.config
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Azure.Core" version="1.14.0" targetFramework="net47" />
|
||||
<package id="Microsoft.Bcl.AsyncInterfaces" version="1.0.0" targetFramework="net47" />
|
||||
<package id="Newtonsoft.Json" version="13.0.2" targetFramework="net47" />
|
||||
<package id="System.Buffers" version="4.5.1" targetFramework="net47" />
|
||||
<package id="System.Diagnostics.DiagnosticSource" version="4.6.0" targetFramework="net47" />
|
||||
<package id="System.Memory" version="4.5.4" targetFramework="net47" />
|
||||
<package id="System.Memory.Data" version="1.0.2" targetFramework="net47" />
|
||||
<package id="System.Numerics.Vectors" version="4.5.0" targetFramework="net47" />
|
||||
<package id="System.Runtime.CompilerServices.Unsafe" version="4.6.0" targetFramework="net47" />
|
||||
<package id="System.Text.Encodings.Web" version="4.7.2" targetFramework="net47" />
|
||||
<package id="System.Text.Json" version="4.6.0" targetFramework="net47" />
|
||||
<package id="System.Threading.Tasks.Extensions" version="4.5.2" targetFramework="net47" />
|
||||
<package id="System.ValueTuple" version="4.5.0" targetFramework="net47" />
|
||||
<package id="TencentCloudSDK.Common" version="3.0.902" targetFramework="net47" />
|
||||
<package id="TencentCloudSDK.Sms" version="3.0.902" targetFramework="net47" />
|
||||
</packages>
|
||||
Reference in New Issue
Block a user