From 5bdfdb8d00f0bcd9428cd09e9fee6d2470dd5882 Mon Sep 17 00:00:00 2001 From: Nah <15196688790@163.com> Date: Wed, 1 Nov 2023 14:39:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=A4=96=E5=BD=A2=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E5=AD=97=E4=BD=93=E5=8F=8A=E6=BB=9A=E5=8A=A8=E6=9D=A1?= =?UTF-8?q?=E5=A4=A7=E5=B0=8F=E4=BF=AE=E6=94=B9=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BPA.Model/Table/MaterialTB.cs | 48 +++ BPA.SingleDevice/App.xaml | 346 +++++++++++++++++- .../View/AddRawMaterialDialogView.xaml | 36 +- BPA.SingleDevice/View/DebugLogView.xaml | 13 +- BPA.SingleDevice/View/DebugView.xaml | 34 +- BPA.SingleDevice/View/MainView.xaml | 8 +- BPA.SingleDevice/View/NewRecipeView.xaml | 35 +- BPA.SingleDevice/View/OrderMainView.xaml | 62 ++-- .../View/RawMaterialManagementView.xaml | 24 +- BPA.SingleDevice/View/RecipeCompletView.xaml | 13 +- .../View/RecipeManagementView.xaml | 18 +- BPA.SingleDevice/View/RecipeStatusView.xaml | 15 +- BPA.SingleDevice/View/RunLogView.xaml | 13 +- BPA.SingleDevice/View/UserLogView.xaml | 13 +- .../RawMaterialManagementViewModel.cs | 2 +- BPA.UIControl/Themes/MessageBoxCard.xaml | 11 +- 16 files changed, 554 insertions(+), 137 deletions(-) create mode 100644 BPA.Model/Table/MaterialTB.cs diff --git a/BPA.Model/Table/MaterialTB.cs b/BPA.Model/Table/MaterialTB.cs new file mode 100644 index 0000000..10dc4ca --- /dev/null +++ b/BPA.Model/Table/MaterialTB.cs @@ -0,0 +1,48 @@ +using SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace BPA.Model.Table +{ + public class MaterialTB + { + /// + /// 数据ID + /// + [SugarColumn(IsPrimaryKey = true,IsIdentity =true)] + public int ID { get; set; } + /// + /// 物料名称 + /// + public string Name { get; set; } + /// + /// 物料编码 + /// + public string MaterialCode { get; set; } + /// + /// 是否删除 + /// + public bool IsDeleted { get; set; } + /// + /// 是否激活 + /// + public bool IsActive { get; set; } + /// + /// 创建时间 + /// + public string CreateTime { get; set; } + + /// + /// 最后修改时间 + /// + public string LastModified { get; set; } + /// + /// 物料描述 + /// + public string Description { get; set; } + } + +} diff --git a/BPA.SingleDevice/App.xaml b/BPA.SingleDevice/App.xaml index 8d64f71..5bf8c8e 100644 --- a/BPA.SingleDevice/App.xaml +++ b/BPA.SingleDevice/App.xaml @@ -1,7 +1,8 @@  + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:bpa="http://BPAUIControl.io/winfx/xaml/toolkit"> @@ -11,6 +12,349 @@ + + + + + \ No newline at end of file diff --git a/BPA.SingleDevice/View/AddRawMaterialDialogView.xaml b/BPA.SingleDevice/View/AddRawMaterialDialogView.xaml index 3aa8a69..a52dbe3 100644 --- a/BPA.SingleDevice/View/AddRawMaterialDialogView.xaml +++ b/BPA.SingleDevice/View/AddRawMaterialDialogView.xaml @@ -17,7 +17,7 @@ - + @@ -32,13 +32,15 @@ Grid.Row="0" Grid.Column="0" HorizontalAlignment="Right" - FontSize="22" + FontSize="40" Foreground="#ddd" Text="原料名称:" /> @@ -46,47 +48,55 @@ Grid.Row="1" Grid.Column="0" HorizontalAlignment="Right" - FontSize="22" + FontSize="40" Foreground="#ddd" Text="设备对应工位:" /> -->