diff --git a/Aucma.Core.PrintTo/Views/IndexPage.xaml b/Aucma.Core.PrintTo/Views/IndexPage.xaml
index a44e7931..e139dd83 100644
--- a/Aucma.Core.PrintTo/Views/IndexPage.xaml
+++ b/Aucma.Core.PrintTo/Views/IndexPage.xaml
@@ -115,7 +115,8 @@
-
+
@@ -124,10 +125,12 @@
-
+
-
+
@@ -147,9 +150,9 @@
-
-
-
+
+
+
@@ -157,16 +160,14 @@
-
+
+ -->
-
-
+
+
@@ -223,9 +224,9 @@
-
+
-
+
diff --git a/Aucma.Core.PrintTo/Views/MainWindow.xaml b/Aucma.Core.PrintTo/Views/MainWindow.xaml
index ba4c233c..a6d88375 100644
--- a/Aucma.Core.PrintTo/Views/MainWindow.xaml
+++ b/Aucma.Core.PrintTo/Views/MainWindow.xaml
@@ -24,18 +24,18 @@
-
-
+
+
-
+
-
-
+
+
-
+
-
+
diff --git a/Aucma.Core.ProductOffLine/Views/MainWindow.xaml b/Aucma.Core.ProductOffLine/Views/MainWindow.xaml
index 4acfe87f..6f27624b 100644
--- a/Aucma.Core.ProductOffLine/Views/MainWindow.xaml
+++ b/Aucma.Core.ProductOffLine/Views/MainWindow.xaml
@@ -52,8 +52,7 @@
-
-
+
diff --git a/Aucma.Core.SheetMetal/App.xaml b/Aucma.Core.SheetMetal/App.xaml
index febc0baf..2b9c4bb5 100644
--- a/Aucma.Core.SheetMetal/App.xaml
+++ b/Aucma.Core.SheetMetal/App.xaml
@@ -17,13 +17,13 @@
-
-
-
+
+
+
-
-
-
+
+
+
diff --git a/Aucma.Core.SheetMetal/Assets/Images/Icon.png b/Aucma.Core.SheetMetal/Assets/Images/Icon.png
new file mode 100644
index 00000000..15604655
Binary files /dev/null and b/Aucma.Core.SheetMetal/Assets/Images/Icon.png differ
diff --git a/Aucma.Core.SheetMetal/Assets/Images/background.jpg b/Aucma.Core.SheetMetal/Assets/Images/background.jpg
new file mode 100644
index 00000000..0725af41
Binary files /dev/null and b/Aucma.Core.SheetMetal/Assets/Images/background.jpg differ
diff --git a/Aucma.Core.SheetMetal/Assets/Images/headbg.jpg b/Aucma.Core.SheetMetal/Assets/Images/headbg.jpg
new file mode 100644
index 00000000..48b019ff
Binary files /dev/null and b/Aucma.Core.SheetMetal/Assets/Images/headbg.jpg differ
diff --git a/Aucma.Core.SheetMetal/Assets/Images/headbg.png b/Aucma.Core.SheetMetal/Assets/Images/headbg.png
new file mode 100644
index 00000000..3b19bd60
Binary files /dev/null and b/Aucma.Core.SheetMetal/Assets/Images/headbg.png differ
diff --git a/Aucma.Core.SheetMetal/Aucma.Core.SheetMetal.csproj b/Aucma.Core.SheetMetal/Aucma.Core.SheetMetal.csproj
index 1fa2658a..1297ac32 100644
--- a/Aucma.Core.SheetMetal/Aucma.Core.SheetMetal.csproj
+++ b/Aucma.Core.SheetMetal/Aucma.Core.SheetMetal.csproj
@@ -21,10 +21,10 @@
-
-
-
-
+
+
+
+
@@ -42,6 +42,10 @@
+
+
+
+
diff --git a/Aucma.Core.SheetMetal/Aucma.Core.SheetMetal.csproj.user b/Aucma.Core.SheetMetal/Aucma.Core.SheetMetal.csproj.user
index de5cb477..162e6793 100644
--- a/Aucma.Core.SheetMetal/Aucma.Core.SheetMetal.csproj.user
+++ b/Aucma.Core.SheetMetal/Aucma.Core.SheetMetal.csproj.user
@@ -18,6 +18,9 @@
+
+ Designer
+
Designer
diff --git a/Aucma.Core.SheetMetal/ViewModels/IndexPageViewModel.cs b/Aucma.Core.SheetMetal/ViewModels/IndexPageViewModel.cs
index 91096e3e..17a757fc 100644
--- a/Aucma.Core.SheetMetal/ViewModels/IndexPageViewModel.cs
+++ b/Aucma.Core.SheetMetal/ViewModels/IndexPageViewModel.cs
@@ -19,6 +19,7 @@ using LiveCharts.Wpf;
using Admin.Core.Service;
using Admin.Core.Model;
using System.Reflection.Metadata.Ecma335;
+using System.Windows.Media;
/*
* 首页信息
*
@@ -36,14 +37,15 @@ namespace Aucma.Core.SheetMetal.ViewModels
StationName = "U壳/侧板钣金生产";
- Job_SheetMetalTask_Quartz.SmEverDayDelegateEvent += InitEveryDayMethod;
+ //Job_SheetMetalTask_Quartz.SmEverDayDelegateEvent += InitEveryDayMethod;
Job_SheetMetalTask_Quartz.SmShowDelegateEvent += UpdatePlanSHow;//计划内容展示
WeakReferenceMessenger.Default.Register(this, Recive);
+ InitEveryDayMethod();
Task.Run(async () =>
{
await LoadData();
await InitExecMethod();
- await InitEveryDayMethod();
+
});
}
@@ -69,7 +71,7 @@ namespace Aucma.Core.SheetMetal.ViewModels
/// 每日生产
///
///
- private async Task InitEveryDayMethod()
+ private void InitEveryDayMethod()
{
ChartValues achievement = new ChartValues();
Random random = new Random();
@@ -82,7 +84,7 @@ namespace Aucma.Core.SheetMetal.ViewModels
column.DataLabels = true;
column.Title = "型号";
column.Values = achievement;
-
+ column.Foreground = Brushes.White;
ModelStatistics.Add(column);
@@ -105,11 +107,11 @@ namespace Aucma.Core.SheetMetal.ViewModels
column2.DataLabels = true;
column2.Title = "产量";
column2.Values = achievement2;
-
+ column2.Foreground = Brushes.White;
Achievement.Add(column2);
- await InitExecMethod();
+ //await InitExecMethod();
}
diff --git a/Aucma.Core.SheetMetal/Views/IndexPage.xaml b/Aucma.Core.SheetMetal/Views/IndexPage.xaml
index 7a1cd108..b5465ea5 100644
--- a/Aucma.Core.SheetMetal/Views/IndexPage.xaml
+++ b/Aucma.Core.SheetMetal/Views/IndexPage.xaml
@@ -12,13 +12,153 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
@@ -35,7 +175,7 @@
-
+
@@ -57,28 +197,28 @@
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
@@ -101,12 +241,12 @@
-
+
+ Foreground="White"/>
@@ -118,12 +258,12 @@
-
+
-
+ Foreground="White"/>
@@ -134,11 +274,11 @@
-
-
+
+
-
-
+
@@ -151,13 +291,13 @@
-
-
+
+
-
-
+
+ Foreground="White"/>
@@ -177,19 +317,29 @@
-
+
-
+
-
+
+
+
+
+
+
-
+
+
+
+
+
+
@@ -206,7 +356,7 @@
-
+
@@ -222,85 +372,15 @@
RowHeight="50" AutoGenerateColumns="False" RowHeaderWidth="0"
GridLinesVisibility="None" ScrollViewer.HorizontalScrollBarVisibility="Hidden"
ScrollViewer.VerticalScrollBarVisibility="Hidden" BorderThickness="0" CanUserAddRows="False" SelectionMode="Single" IsReadOnly="True"
- Foreground="Gray" >
+ Foreground="White" >
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -321,12 +401,11 @@
-
-
+
+
-
@@ -343,7 +422,7 @@
-
+
@@ -351,10 +430,20 @@
-
+
+
+
+
+
+
-
+
+
+
+
+
+
diff --git a/Aucma.Core.SheetMetal/Views/LogPageView.xaml b/Aucma.Core.SheetMetal/Views/LogPageView.xaml
index 72c5e5d7..e912a570 100644
--- a/Aucma.Core.SheetMetal/Views/LogPageView.xaml
+++ b/Aucma.Core.SheetMetal/Views/LogPageView.xaml
@@ -18,7 +18,7 @@
-
+
diff --git a/Aucma.Core.SheetMetal/Views/MainWindow.xaml b/Aucma.Core.SheetMetal/Views/MainWindow.xaml
index 7d594564..a76aea6e 100644
--- a/Aucma.Core.SheetMetal/Views/MainWindow.xaml
+++ b/Aucma.Core.SheetMetal/Views/MainWindow.xaml
@@ -5,13 +5,13 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
mc:Ignorable="d"
- Background="White"
- Title="澳柯玛生产控制系统"
- MinHeight="700" MinWidth="1100" WindowState="Maximized"
- WindowStartupLocation="CenterScreen"
- >
-
-
+ Title="澳柯玛生产控制系统" Icon="/Assets/images/Icon.png"
+ MinHeight="1080" MinWidth="1800" WindowState="Maximized" WindowStyle="None"
+ WindowStartupLocation="CenterScreen" >
+
+
+
+
@@ -21,41 +21,40 @@
+
+
+
+
+
+
+
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
-
-
-
-
-
+
+
+
-
-
+
+
@@ -75,23 +74,23 @@
-
+
-
+
-
+
-
+
diff --git a/Aucma.Core.SheetMetal/Views/SplitPlanView.xaml b/Aucma.Core.SheetMetal/Views/SplitPlanView.xaml
index b3e87296..e6a0d7ec 100644
--- a/Aucma.Core.SheetMetal/Views/SplitPlanView.xaml
+++ b/Aucma.Core.SheetMetal/Views/SplitPlanView.xaml
@@ -7,18 +7,92 @@
xmlns:local="clr-namespace:Aucma.Core.SheetMetal.Views"
x:Class="Aucma.Core.SheetMetal.Views.SplitPlanView"
mc:Ignorable="d"
- Background="White"
+ Background="#1152AC"
Title="计划维护" MinHeight="600" MinWidth="1000">
-
+
+
-
+
+
+
+
+
+
+
@@ -78,7 +156,7 @@
-
+
@@ -92,8 +170,8 @@
-
-
+
+
@@ -104,7 +182,7 @@
GridLinesVisibility="None" VerticalAlignment="Stretch"
ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.HorizontalScrollBarVisibility="Visible"
BorderThickness="0" CanUserAddRows="False" SelectionMode="Single" IsReadOnly="True"
- Foreground="Gray" SelectedItem="{Binding SelectedCells, Mode=OneWayToSource}">
+ Foreground="White" SelectedItem="{Binding SelectedCells, Mode=OneWayToSource}">
@@ -131,32 +209,32 @@
-
-
+
-
-
+
-
-
+
-
-
+
-
+
-
+
diff --git a/Aucma.Core.SheetMetal/Views/StatisticsPageView.xaml b/Aucma.Core.SheetMetal/Views/StatisticsPageView.xaml
index 79927d00..f01c6cf9 100644
--- a/Aucma.Core.SheetMetal/Views/StatisticsPageView.xaml
+++ b/Aucma.Core.SheetMetal/Views/StatisticsPageView.xaml
@@ -15,6 +15,137 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -25,7 +156,7 @@
-
+
@@ -34,12 +165,11 @@
-
+
+ materialDesign:CalendarAssist.IsHeaderVisible="False">
-
+
+ Width="200"
+ materialDesign:CalendarAssist.IsHeaderVisible="False">
+ Foreground="White" >