diff --git a/Aucma.Scada.HikRobot/GrabImage.cs b/Aucma.Scada.HikRobot/GrabImage.cs index 336ce667..cdcc87d2 100644 --- a/Aucma.Scada.HikRobot/GrabImage.cs +++ b/Aucma.Scada.HikRobot/GrabImage.cs @@ -55,7 +55,6 @@ namespace Aucma.Scada.HikRobot { } - public void InitHikRobot() { int nRet = MvCodeReader.MV_CODEREADER_OK; diff --git a/Aucma.Scada.UI/App.xaml b/Aucma.Scada.UI/App.xaml index 0b226d26..2af61594 100644 --- a/Aucma.Scada.UI/App.xaml +++ b/Aucma.Scada.UI/App.xaml @@ -6,6 +6,21 @@ + + diff --git a/Aucma.Scada.UI/MainWindow.xaml b/Aucma.Scada.UI/MainWindow.xaml index cc9da097..9f0d42dd 100644 --- a/Aucma.Scada.UI/MainWindow.xaml +++ b/Aucma.Scada.UI/MainWindow.xaml @@ -3,7 +3,8 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" - xmlns:local="clr-namespace:Aucma.Scada.UI" + xmlns:local="clr-namespace:Aucma.Scada.UI" FontFamily="Microsoft YaHei" + WindowStartupLocation="CenterScreen" mc:Ignorable="d" Title="SCADA" Height="1080" Width="1920" Icon="Icon.png" WindowState="Maximized" WindowStyle="None" ResizeMode="NoResize" Topmost="True"> @@ -50,7 +51,7 @@ --> - + @@ -81,105 +82,21 @@ -