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="设备对应工位:" /> -->