初始化项目
This commit is contained in:
147
AUTS.Domain.ViewModels/AUTS.Domain.ViewModels.csproj
Normal file
147
AUTS.Domain.ViewModels/AUTS.Domain.ViewModels.csproj
Normal file
@@ -0,0 +1,147 @@
|
||||
<?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>AUTS.Domain.ViewModels</RootNamespace>
|
||||
<AssemblyName>AUTS.Domain.ViewModels</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.8</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="BouncyCastle.Crypto, Version=1.9.0.0, Culture=neutral, PublicKeyToken=0e99375e54769942, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Portable.BouncyCastle.1.9.0\lib\net40\BouncyCastle.Crypto.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Google.Protobuf, Version=3.21.9.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Google.Protobuf.3.21.9\lib\net45\Google.Protobuf.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="K4os.Compression.LZ4, Version=1.3.5.0, Culture=neutral, PublicKeyToken=2186fa9121ef231d, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\K4os.Compression.LZ4.1.3.5\lib\net462\K4os.Compression.LZ4.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="K4os.Compression.LZ4.Streams, Version=1.3.5.0, Culture=neutral, PublicKeyToken=2186fa9121ef231d, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\K4os.Compression.LZ4.Streams.1.3.5\lib\net462\K4os.Compression.LZ4.Streams.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="K4os.Hash.xxHash, Version=1.0.8.0, Culture=neutral, PublicKeyToken=32cd54395057cec3, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\K4os.Hash.xxHash.1.0.8\lib\net462\K4os.Hash.xxHash.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MySql.Data, Version=6.9.12.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MySql.Data.6.9.12\lib\net45\MySql.Data.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.ComponentModel" />
|
||||
<Reference Include="System.ComponentModel.DataAnnotations" />
|
||||
<Reference Include="System.Configuration" />
|
||||
<Reference Include="System.Configuration.Install" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.IO.Pipelines, Version=5.0.0.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.IO.Pipelines.5.0.2\lib\net461\System.IO.Pipelines.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Management" />
|
||||
<Reference Include="System.Memory, Version=4.0.1.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Memory.4.5.5\lib\net461\System.Memory.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Numerics" />
|
||||
<Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.6.0.0\lib\net461\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Transactions" />
|
||||
<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="Auth\AuthManage.cs" />
|
||||
<Compile Include="AutsChart\Node.cs" />
|
||||
<Compile Include="AutsChart\RequestOrdersPlanned.cs" />
|
||||
<Compile Include="AutsChart\RequestOrdersRealTime.cs" />
|
||||
<Compile Include="AutsChart\RequestOrderStats.cs" />
|
||||
<Compile Include="AutsChart\RequestStatsInProduc.cs" />
|
||||
<Compile Include="AutsChart\VM_DevNestable.cs" />
|
||||
<Compile Include="AutsChart\VM_OrderRealTimeStats.cs" />
|
||||
<Compile Include="AutsChart\VM_TBL_OrderStats.cs" />
|
||||
<Compile Include="AutsChart\VM_TreeNode.cs" />
|
||||
<Compile Include="BasicFunc\OrderExcel.cs" />
|
||||
<Compile Include="Capacity\ResponseEveryDaySearch.cs" />
|
||||
<Compile Include="Capacity\VM_TBL_CapacityIndex.cs" />
|
||||
<Compile Include="Capacity\VM_TBL_CapacityEveryDay.cs" />
|
||||
<Compile Include="Capacity\RequestQAAjaxSearch.cs" />
|
||||
<Compile Include="Capacity\RequestQALogSearch.cs" />
|
||||
<Compile Include="Capacity\RequestQASubmit.cs" />
|
||||
<Compile Include="Capacity\ResponseDataQuerySearch.cs" />
|
||||
<Compile Include="Capacity\RequestCapacitySearch.cs" />
|
||||
<Compile Include="Capacity\RequestTestLogSearch.cs" />
|
||||
<Compile Include="Capacity\ResponseQAAjaxSearch.cs" />
|
||||
<Compile Include="Capacity\ResponseQALogSearch.cs" />
|
||||
<Compile Include="Capacity\ResponseQASubmit.cs" />
|
||||
<Compile Include="Capacity\VM_TBL_ToDayCapacity.cs" />
|
||||
<Compile Include="Home\VM_TodayData.cs" />
|
||||
<Compile Include="Home\VM_TodayProduction.cs" />
|
||||
<Compile Include="Order\VM_OrderInfo.cs" />
|
||||
<Compile Include="Order\VM_OrderInfoOnMO.cs" />
|
||||
<Compile Include="Order\VM_OrderInternalDetails.cs" />
|
||||
<Compile Include="Order\VM_OrderInternalList.cs" />
|
||||
<Compile Include="Order\VM_OrderList.cs" />
|
||||
<Compile Include="Order\VM_OrderPlannedSpeed.cs" />
|
||||
<Compile Include="OutputValue\RequestOVSearch.cs" />
|
||||
<Compile Include="PPlan\VM_PPlanList.cs" />
|
||||
<Compile Include="PPlan\VM_SnRulesList.cs" />
|
||||
<Compile Include="PPlan\VM_TBL_PPlanInternalDetails.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="QueryCondition\Condition.cs" />
|
||||
<Compile Include="ReturnResult.cs" />
|
||||
<Compile Include="ReturnResults.cs" />
|
||||
<Compile Include="User\ResultAddUserVM.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\AUTS.Domain\AUTS.Domain.csproj">
|
||||
<Project>{709aa98f-388f-44dd-b64b-ad44e695c34c}</Project>
|
||||
<Name>AUTS.Domain</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="app.config">
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
10
AUTS.Domain.ViewModels/AUTS.Domain.ViewModels.csproj.vspscc
Normal file
10
AUTS.Domain.ViewModels/AUTS.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"
|
||||
}
|
||||
23
AUTS.Domain.ViewModels/Auth/AuthManage.cs
Normal file
23
AUTS.Domain.ViewModels/Auth/AuthManage.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using AUTS.Domain.Entities;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AUTS.Domain.ViewModels.Auth
|
||||
{
|
||||
public class AuthManage
|
||||
{
|
||||
//public int ID { get; set; }
|
||||
//public string ModuleID { get; set; }
|
||||
//public string Describe { get; set; }
|
||||
|
||||
//public int UserID { get; set; }
|
||||
|
||||
//public string User { get; set; }
|
||||
|
||||
public List<TBL_UTS_Manage_AuthManage> AuthManages { get; set; }
|
||||
public List<TBL_UTS_Manage_User> users { get; set; }
|
||||
}
|
||||
}
|
||||
36
AUTS.Domain.ViewModels/AutsChart/Node.cs
Normal file
36
AUTS.Domain.ViewModels/AutsChart/Node.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AUTS.Domain.ViewModels.AutsChart
|
||||
{
|
||||
public class Node
|
||||
{
|
||||
public Node() { }
|
||||
public Node(int id, string str, string img, List<Node> node, string color,string backgroundcolor ="")
|
||||
{
|
||||
nodeId = id;
|
||||
text = str;
|
||||
nodes = node;
|
||||
icon = img;
|
||||
this.color = color;
|
||||
this.backColor = backgroundcolor;
|
||||
}
|
||||
public Node(int id, string str, List<Node> node, string color, string backgroundcolor = "")
|
||||
{
|
||||
nodeId = id;
|
||||
text = str;
|
||||
nodes = node;
|
||||
this.color = color;
|
||||
this.backColor = backgroundcolor;
|
||||
}
|
||||
public int nodeId { get; set; } //树的节点Id,区别于数据库中保存的数据Id。若要存储数据库数据的Id,添加新的Id属性;若想为节点设置路径,类中添加Path属性
|
||||
public string text { get; set; } //节点名称
|
||||
public string icon { get; set; }
|
||||
public string color { get; set; }
|
||||
public string backColor { get; set; }
|
||||
public List<Node> nodes { get; set; } //子节点,可以用递归的方法读取,方法在下一章会总结
|
||||
}
|
||||
}
|
||||
19
AUTS.Domain.ViewModels/AutsChart/RequestOrderStats.cs
Normal file
19
AUTS.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 AUTS.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
AUTS.Domain.ViewModels/AutsChart/RequestOrdersPlanned.cs
Normal file
21
AUTS.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 AUTS.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
AUTS.Domain.ViewModels/AutsChart/RequestOrdersRealTime.cs
Normal file
16
AUTS.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 AUTS.Domain.ViewModels
|
||||
{
|
||||
public class RequestOrdersRealTime
|
||||
{
|
||||
public int ProjectID { get; set; }
|
||||
|
||||
public int Order { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
20
AUTS.Domain.ViewModels/AutsChart/RequestStatsInProduc.cs
Normal file
20
AUTS.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 AUTS.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
AUTS.Domain.ViewModels/AutsChart/VM_DevNestable.cs
Normal file
37
AUTS.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 AUTS.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
AUTS.Domain.ViewModels/AutsChart/VM_OrderRealTimeStats.cs
Normal file
47
AUTS.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 AUTS.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
AUTS.Domain.ViewModels/AutsChart/VM_TBL_OrderStats.cs
Normal file
65
AUTS.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 AUTS.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; }
|
||||
}
|
||||
|
||||
}
|
||||
66
AUTS.Domain.ViewModels/AutsChart/VM_TreeNode.cs
Normal file
66
AUTS.Domain.ViewModels/AutsChart/VM_TreeNode.cs
Normal file
@@ -0,0 +1,66 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AUTS.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 string backColor { 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; }
|
||||
public string backColor { get; set; }
|
||||
}
|
||||
}
|
||||
65
AUTS.Domain.ViewModels/BasicFunc/OrderExcel.cs
Normal file
65
AUTS.Domain.ViewModels/BasicFunc/OrderExcel.cs
Normal file
@@ -0,0 +1,65 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AUTS.Domain.ViewModels.BasicFunc
|
||||
{
|
||||
public class OrderExcel
|
||||
{
|
||||
public int Count { get; set; }
|
||||
/// <summary>
|
||||
/// PO号
|
||||
/// </summary>
|
||||
public string OrderNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// MO号
|
||||
/// </summary>
|
||||
public string IOrderNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 客户
|
||||
/// </summary>
|
||||
public int CustomerAbbr { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 机型
|
||||
/// </summary>
|
||||
public string ProjectName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 订单交期
|
||||
/// </summary>
|
||||
public string DeliveryTime { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
public string CreateTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 单价
|
||||
/// </summary>
|
||||
public decimal Price { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 出售单价
|
||||
/// </summary>
|
||||
public decimal SellingPrice { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 条码
|
||||
/// </summary>
|
||||
public string BarCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订单状态
|
||||
/// </summary>
|
||||
public int Status { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
22
AUTS.Domain.ViewModels/Capacity/RequestCapacitySearch.cs
Normal file
22
AUTS.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 AUTS.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
AUTS.Domain.ViewModels/Capacity/RequestQAAjaxSearch.cs
Normal file
21
AUTS.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 AUTS.Domain.ViewModels
|
||||
{
|
||||
public class RequestQAAjaxSearch
|
||||
{
|
||||
/// <summary>
|
||||
/// 机型ID
|
||||
/// </summary>
|
||||
public int ProjectID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 序号
|
||||
/// </summary>
|
||||
public string Number { get; set; }
|
||||
}
|
||||
}
|
||||
28
AUTS.Domain.ViewModels/Capacity/RequestQALogSearch.cs
Normal file
28
AUTS.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 AUTS.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
AUTS.Domain.ViewModels/Capacity/RequestQASubmit.cs
Normal file
33
AUTS.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 AUTS.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
AUTS.Domain.ViewModels/Capacity/RequestTestLogSearch.cs
Normal file
33
AUTS.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 AUTS.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
AUTS.Domain.ViewModels/Capacity/ResponseDataQuerySearch.cs
Normal file
90
AUTS.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 AUTS.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
AUTS.Domain.ViewModels/Capacity/ResponseEveryDaySearch.cs
Normal file
44
AUTS.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 AUTS.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
AUTS.Domain.ViewModels/Capacity/ResponseQAAjaxSearch.cs
Normal file
82
AUTS.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 AUTS.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
AUTS.Domain.ViewModels/Capacity/ResponseQALogSearch.cs
Normal file
27
AUTS.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 AUTS.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
AUTS.Domain.ViewModels/Capacity/ResponseQASubmit.cs
Normal file
21
AUTS.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 AUTS.Domain.ViewModels
|
||||
{
|
||||
public class ResponseQASubmit
|
||||
{
|
||||
/// <summary>
|
||||
/// 总数
|
||||
/// </summary>
|
||||
public int Total { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 今日总数
|
||||
/// </summary>
|
||||
public int TotalToday { get; set; }
|
||||
}
|
||||
}
|
||||
33
AUTS.Domain.ViewModels/Capacity/VM_TBL_CapacityEveryDay.cs
Normal file
33
AUTS.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 AUTS.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
AUTS.Domain.ViewModels/Capacity/VM_TBL_CapacityIndex.cs
Normal file
18
AUTS.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 AUTS.Domain.ViewModels
|
||||
{
|
||||
public class VM_TBL_CapacityIndex
|
||||
{
|
||||
/// <summary>
|
||||
/// 站名
|
||||
/// </summary>
|
||||
public List<Entities.TBL_Project> ProjectList { get; set; }
|
||||
|
||||
public string[] SearchKey { get; set; }
|
||||
}
|
||||
}
|
||||
40
AUTS.Domain.ViewModels/Capacity/VM_TBL_ToDayCapacity.cs
Normal file
40
AUTS.Domain.ViewModels/Capacity/VM_TBL_ToDayCapacity.cs
Normal file
@@ -0,0 +1,40 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AUTS.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; }
|
||||
|
||||
public string StationDesc { get; set; }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
19
AUTS.Domain.ViewModels/Home/VM_TodayData.cs
Normal file
19
AUTS.Domain.ViewModels/Home/VM_TodayData.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AUTS.Domain.ViewModels.Home
|
||||
{
|
||||
public class VM_TodayData
|
||||
{
|
||||
|
||||
public int ProductID { get; set; }
|
||||
|
||||
public Dictionary<string, int> StaAndNum = new Dictionary<string, int>();
|
||||
|
||||
public string today { get; set; }
|
||||
public int C1 { get; set; }
|
||||
}
|
||||
}
|
||||
77
AUTS.Domain.ViewModels/Home/VM_TodayProduction.cs
Normal file
77
AUTS.Domain.ViewModels/Home/VM_TodayProduction.cs
Normal file
@@ -0,0 +1,77 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AUTS.Domain.ViewModels.Home
|
||||
{
|
||||
public class VM_TodayProduction
|
||||
{
|
||||
/// <summary>
|
||||
/// 今日目标
|
||||
/// </summary>
|
||||
public int ObjectiveYield { get; set; }
|
||||
/// <summary>
|
||||
/// 累计目标
|
||||
/// </summary>
|
||||
public int ObjectiveYieldTotal { get; set; }
|
||||
/// <summary>
|
||||
/// 站位
|
||||
/// </summary>
|
||||
public string StationName { get; set; }
|
||||
/// <summary>
|
||||
/// 机型名称
|
||||
/// </summary>
|
||||
public string projectName { get; set; }
|
||||
/// <summary>
|
||||
/// 订单号
|
||||
/// </summary>
|
||||
public string OInternalID { get; set; }
|
||||
/// <summary>
|
||||
/// 今日产能
|
||||
/// </summary>
|
||||
public int testLog { get; set; }
|
||||
/// <summary>
|
||||
/// 累计产能
|
||||
/// </summary>
|
||||
public int testLogTotal { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 比率
|
||||
/// </summary>
|
||||
public double ratio { get; set; }
|
||||
/// <summary>
|
||||
/// 今日
|
||||
/// </summary>
|
||||
public string today { get; set; }
|
||||
/// <summary>
|
||||
/// 机型描述
|
||||
/// </summary>
|
||||
public string describe { get; set; }
|
||||
/// <summary>
|
||||
/// 交期
|
||||
/// </summary>
|
||||
public string deliveryTime { get; set; }
|
||||
/// <summary>
|
||||
/// 数量
|
||||
/// </summary>
|
||||
public int number { get; set; }
|
||||
/// <summary>
|
||||
/// 客户
|
||||
/// </summary>
|
||||
public string Company { get; set; }
|
||||
|
||||
public string OrderStatus { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 站位数据
|
||||
/// </summary>
|
||||
public int[] CapacityNum { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 站位名
|
||||
/// </summary>
|
||||
public string[] StationNames { get; set; }
|
||||
}
|
||||
}
|
||||
31
AUTS.Domain.ViewModels/Order/VM_OrderInfo.cs
Normal file
31
AUTS.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 AUTS.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
AUTS.Domain.ViewModels/Order/VM_OrderInfoOnMO.cs
Normal file
31
AUTS.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 AUTS.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; }
|
||||
}
|
||||
}
|
||||
52
AUTS.Domain.ViewModels/Order/VM_OrderInternalDetails.cs
Normal file
52
AUTS.Domain.ViewModels/Order/VM_OrderInternalDetails.cs
Normal file
@@ -0,0 +1,52 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AUTS.Domain.ViewModels
|
||||
{
|
||||
/// <summary>
|
||||
/// M/O信息/工艺站
|
||||
/// </summary>
|
||||
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 string StationList { get; set; }
|
||||
/// <summary>
|
||||
/// 订单交期
|
||||
/// </summary>
|
||||
public string DeliveryTime { get; set; }
|
||||
/// <summary>
|
||||
/// 客户
|
||||
/// </summary>
|
||||
public string Company { get; set; }
|
||||
|
||||
|
||||
public List<Entities.TBL_Orders> OrdersList { get; set; }
|
||||
|
||||
public VM_OrderInfoOnMO OrderInfoOnMO { get; set; }
|
||||
}
|
||||
|
||||
public class VM_OrderInternalStations
|
||||
{
|
||||
/// <summary>
|
||||
/// 站位ID
|
||||
/// </summary>
|
||||
public int ID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工艺名
|
||||
/// </summary>
|
||||
public string StationName{ get; set; }
|
||||
/// <summary>
|
||||
/// 工艺说明
|
||||
/// </summary>
|
||||
public string StationDesc { get; set; }
|
||||
}
|
||||
}
|
||||
80
AUTS.Domain.ViewModels/Order/VM_OrderInternalList.cs
Normal file
80
AUTS.Domain.ViewModels/Order/VM_OrderInternalList.cs
Normal file
@@ -0,0 +1,80 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AUTS.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>
|
||||
/// 机型ID
|
||||
/// </summary>
|
||||
public int ProjectID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
public string CreateTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订单状态
|
||||
/// </summary>
|
||||
public string OrderStatus { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工艺站
|
||||
/// </summary>
|
||||
public string StationList { get; set; }
|
||||
}
|
||||
}
|
||||
48
AUTS.Domain.ViewModels/Order/VM_OrderList.cs
Normal file
48
AUTS.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 AUTS.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
AUTS.Domain.ViewModels/Order/VM_OrderPlannedSpeed.cs
Normal file
68
AUTS.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 AUTS.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
AUTS.Domain.ViewModels/OutputValue/RequestOVSearch.cs
Normal file
19
AUTS.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 AUTS.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; }
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
113
AUTS.Domain.ViewModels/PPlan/VM_PPlanList.cs
Normal file
113
AUTS.Domain.ViewModels/PPlan/VM_PPlanList.cs
Normal file
@@ -0,0 +1,113 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AUTS.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 ProductName { get; set; }
|
||||
/// <summary>
|
||||
/// 产线名称
|
||||
/// </summary>
|
||||
public string PLName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 站位
|
||||
/// </summary>
|
||||
public string Station { 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 OStatus { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 交期时间
|
||||
/// </summary>
|
||||
public string DeliveryTime { get; set; }
|
||||
public string CreateTime { get; set; }
|
||||
|
||||
public int OrderCount { get; set; }
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
120
AUTS.Domain.ViewModels/PPlan/VM_SnRulesList.cs
Normal file
120
AUTS.Domain.ViewModels/PPlan/VM_SnRulesList.cs
Normal file
@@ -0,0 +1,120 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AUTS.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 AssemblySn { get; set; }
|
||||
/// <summary>
|
||||
/// 组合时间
|
||||
/// </summary>
|
||||
public string AssemblyTime { get; set; }
|
||||
/// <summary>
|
||||
/// 分配类型
|
||||
/// </summary>
|
||||
public string SnType { 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; }
|
||||
|
||||
}
|
||||
}
|
||||
130
AUTS.Domain.ViewModels/PPlan/VM_TBL_PPlanInternalDetails.cs
Normal file
130
AUTS.Domain.ViewModels/PPlan/VM_TBL_PPlanInternalDetails.cs
Normal file
@@ -0,0 +1,130 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AUTS.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 int OrderCount { 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_StartEnd { 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; }
|
||||
|
||||
/// <summary>
|
||||
/// M/O订单
|
||||
/// </summary>
|
||||
public int OrderInternalID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// P/O订单
|
||||
/// </summary>
|
||||
public int OrderID { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
36
AUTS.Domain.ViewModels/Properties/AssemblyInfo.cs
Normal file
36
AUTS.Domain.ViewModels/Properties/AssemblyInfo.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// 有关程序集的一般信息由以下
|
||||
// 控制。更改这些特性值可修改
|
||||
// 与程序集关联的信息。
|
||||
[assembly: AssemblyTitle("AUTS.Domain.ViewModels")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("AUTS.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")]
|
||||
121
AUTS.Domain.ViewModels/QueryCondition/Condition.cs
Normal file
121
AUTS.Domain.ViewModels/QueryCondition/Condition.cs
Normal file
@@ -0,0 +1,121 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AUTS.Domain.ViewModels.QueryCondition
|
||||
{
|
||||
/// <summary>
|
||||
/// 查询数据需要的条件
|
||||
/// </summary>
|
||||
public class Condition
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 内部单ID
|
||||
/// </summary>
|
||||
public int OInteriorID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订单号
|
||||
/// </summary>
|
||||
public string OrderNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 机型
|
||||
/// </summary>
|
||||
public int ProjectID { get; set; }
|
||||
|
||||
public int ProductType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 站位
|
||||
/// </summary>
|
||||
public int StationID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订单状态
|
||||
/// </summary>
|
||||
public int OStatus { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 客户
|
||||
/// </summary>
|
||||
public int CustomerAbbr { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 页数据最大
|
||||
/// </summary>
|
||||
public int dataMax { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 页数据最小
|
||||
/// </summary>
|
||||
public int dataMin { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 页
|
||||
/// </summary>
|
||||
public int Pages { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 属性
|
||||
/// </summary>
|
||||
public string Property { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 输入搜索
|
||||
/// </summary>
|
||||
public string Search { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 起
|
||||
/// </summary>
|
||||
public string startTime { get; set; }
|
||||
/// <summary>
|
||||
/// 始
|
||||
/// </summary>
|
||||
public string EndTime { get; set; }
|
||||
/// <summary>
|
||||
/// 勾选的 站点结果状态 1 pass true 2 false
|
||||
/// </summary>
|
||||
public int[] ZTstatus { get; set; }
|
||||
/// <summary>
|
||||
/// 站点
|
||||
/// </summary>
|
||||
public int ZTID { get; set; } = 0;
|
||||
/// <summary>
|
||||
/// 不良品来源
|
||||
/// </summary>
|
||||
public string company { get; set; }
|
||||
|
||||
public string inquire { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// SN号
|
||||
/// </summary>
|
||||
public string Snmark { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 今天,三天,7天,30天
|
||||
/// </summary>
|
||||
public int Day { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返修类型
|
||||
/// </summary>
|
||||
public int repair { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 失败代码
|
||||
/// </summary>
|
||||
public string FailSteps { get; set; }
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
19
AUTS.Domain.ViewModels/ReturnResult.cs
Normal file
19
AUTS.Domain.ViewModels/ReturnResult.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AUTS.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; }
|
||||
}
|
||||
}
|
||||
42
AUTS.Domain.ViewModels/ReturnResults.cs
Normal file
42
AUTS.Domain.ViewModels/ReturnResults.cs
Normal file
@@ -0,0 +1,42 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AUTS.Domain.ViewModels
|
||||
{
|
||||
public class ReturnResults
|
||||
{
|
||||
public int Status { get; set; }
|
||||
public string Message { get; set; }
|
||||
|
||||
public string ColorBox_BarCode { get; set; }
|
||||
}
|
||||
|
||||
public class ReturnResults<TData> : ReturnResult
|
||||
{
|
||||
public TData Data { get; set; }
|
||||
}
|
||||
|
||||
public class ColorBarPair
|
||||
{
|
||||
public string ColorBox;
|
||||
public string BarCode;
|
||||
}
|
||||
public class ReturnResultsOutBox
|
||||
{
|
||||
public int Status { get; set; }
|
||||
public string Message { get; set; }
|
||||
|
||||
public int ProjectID { get; set; }
|
||||
public string OutBoxCode { get; set; }
|
||||
|
||||
public string ShippingCode { get; set; }
|
||||
public List<string> ColorBoxList { get; set; }
|
||||
|
||||
public List<string> BarcodeList { get; set; }
|
||||
|
||||
public List<ColorBarPair> CorBarPairList { get; set; }
|
||||
}
|
||||
}
|
||||
15
AUTS.Domain.ViewModels/User/ResultAddUserVM.cs
Normal file
15
AUTS.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 AUTS.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; }
|
||||
}
|
||||
}
|
||||
36
AUTS.Domain.ViewModels/app.config
Normal file
36
AUTS.Domain.ViewModels/app.config
Normal file
@@ -0,0 +1,36 @@
|
||||
<?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-6.9.12.0" newVersion="6.9.12.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Google.Protobuf" publicKeyToken="a7d26565bac4d604" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-3.21.9.0" newVersion="3.21.9.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="K4os.Compression.LZ4.Streams" publicKeyToken="2186fa9121ef231d" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-1.3.5.0" newVersion="1.3.5.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="BouncyCastle.Crypto" publicKeyToken="0e99375e54769942" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-1.8.5.0" newVersion="1.8.5.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.1.2" newVersion="4.0.1.2" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" /></startup><system.data>
|
||||
<DbProviderFactories>
|
||||
<remove invariant="MySql.Data.MySqlClient" />
|
||||
<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.9.12.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
|
||||
</DbProviderFactories>
|
||||
</system.data></configuration>
|
||||
15
AUTS.Domain.ViewModels/packages.config
Normal file
15
AUTS.Domain.ViewModels/packages.config
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Google.Protobuf" version="3.21.9" targetFramework="net48" />
|
||||
<package id="K4os.Compression.LZ4" version="1.3.5" targetFramework="net48" />
|
||||
<package id="K4os.Compression.LZ4.Streams" version="1.3.5" targetFramework="net48" />
|
||||
<package id="K4os.Hash.xxHash" version="1.0.8" targetFramework="net48" />
|
||||
<package id="MySql.Data" version="6.9.12" targetFramework="net48" />
|
||||
<package id="Portable.BouncyCastle" version="1.9.0" targetFramework="net461" />
|
||||
<package id="System.Buffers" version="4.5.1" targetFramework="net461" />
|
||||
<package id="System.IO.Pipelines" version="5.0.2" targetFramework="net48" />
|
||||
<package id="System.Memory" version="4.5.5" targetFramework="net48" />
|
||||
<package id="System.Numerics.Vectors" version="4.5.0" targetFramework="net461" />
|
||||
<package id="System.Runtime.CompilerServices.Unsafe" version="6.0.0" targetFramework="net48" />
|
||||
<package id="System.Threading.Tasks.Extensions" version="4.5.4" targetFramework="net48" />
|
||||
</packages>
|
||||
Reference in New Issue
Block a user