添加页面

This commit is contained in:
sc committed 2024-08-14 22:23:40 +08:00
commit 44634a85b7
21 files changed
+449 -4

No files matched your search

+64
View File
@@ -40,6 +40,7 @@
<Reference Include="System" />
<Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System.Data" />
<Reference Include="System.Drawing" />
<Reference Include="System.Management" />
<Reference Include="System.Numerics" />
<Reference Include="System.Windows.Forms" />
@@ -90,6 +91,33 @@
<Compile Include="UserClass\StrToInt.cs" />
<Compile Include="UserClass\TCPServer.cs" />
<Compile Include="ViewModel\ViewModelLocator.cs" />
<Compile Include="View\CurveDiagramView.xaml.cs">
<DependentUpon>CurveDiagramView.xaml</DependentUpon>
</Compile>
<Compile Include="View\EngineerSetView.xaml.cs">
<DependentUpon>EngineerSetView.xaml</DependentUpon>
</Compile>
<Compile Include="View\EquipmentSimulationView.xaml.cs">
<DependentUpon>EquipmentSimulationView.xaml</DependentUpon>
</Compile>
<Compile Include="View\HistoryRecordsView.xaml.cs">
<DependentUpon>HistoryRecordsView.xaml</DependentUpon>
</Compile>
<Compile Include="View\InOutView.xaml.cs">
<DependentUpon>InOutView.xaml</DependentUpon>
</Compile>
<Compile Include="View\ParameterSetView.xaml.cs">
<DependentUpon>ParameterSetView.xaml</DependentUpon>
</Compile>
<Compile Include="View\ProgramgroupView.xaml.cs">
<DependentUpon>ProgramgroupView.xaml</DependentUpon>
</Compile>
<Compile Include="View\SysSetView.xaml.cs">
<DependentUpon>SysSetView.xaml</DependentUpon>
</Compile>
<Compile Include="View\TechnologicalProcessView.xaml.cs">
<DependentUpon>TechnologicalProcessView.xaml</DependentUpon>
</Compile>
<Compile Include="View\WorkOrderView.xaml.cs">
<DependentUpon>WorkOrderView.xaml</DependentUpon>
</Compile>
@@ -105,6 +133,42 @@
<DependentUpon>MainWindow.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
<Page Include="View\CurveDiagramView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="View\EngineerSetView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="View\EquipmentSimulationView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="View\HistoryRecordsView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="View\InOutView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="View\ParameterSetView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="View\ProgramgroupView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="View\SysSetView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="View\TechnologicalProcessView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="View\WorkOrderView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
-3
View File
@@ -11,9 +11,7 @@
<Window.Resources>
<Style x:Key="RadioButtonStyle" TargetType="{x:Type RadioButton}">
<Setter Property="FocusVisualStyle" Value="{DynamicResource {x:Static SystemParameters.FocusVisualStyleKey}}"/>
<Setter Property="HorizontalContentAlignment" Value="Left"/>
<Setter Property="OverridesDefaultStyle" Value="True"/>
<Setter Property="Padding" Value="6 0 0 0"/>
@@ -72,7 +70,6 @@
<RadioButton Content="{x:Static lang:Resources.EngineerSet}" x:Name="Engineer_Set" Tag="&#xF0f0;" Style="{DynamicResource RadioButtonStyle}" HorizontalAlignment="Left" Height="40" Margin="800,0,0,0" VerticalAlignment="Bottom" Width="200" Background="#FFCCCCCC" Checked="RadioButton_Page" Visibility="Hidden"/>
<RadioButton Content="{x:Static lang:Resources.Previous}" x:Name="Previous" Tag="&#xF060;" Style="{DynamicResource RadioButtonStyle}" HorizontalAlignment="Right" Height="40" Margin="0,0,0,0" VerticalAlignment="Bottom" Width="200" Background="#FFCCCCCC" Checked="RadioButton_toolbar" GroupName="toolbar" Visibility="Hidden"/>
<Grid Grid.Column="1">
<ContentControl x:Name="container" Margin="0,0,0,40"/>
</Grid>
+25 -1
View File
@@ -78,7 +78,31 @@ namespace DyeingComputer
container.Content = new WorkOrderView();
break;
case "Technological_Process":
container.Content = new TechnologicalProcessView();
break;
case "Curve_Diagram":
container.Content = new CurveDiagramView();
break;
case "Equipment_Simulation":
container.Content = new EquipmentSimulationView();
break;
case "History_Records":
container.Content = new HistoryRecordsView();
break;
case "In_Out":
container.Content = new InOutView();
break;
case "Sys_Set":
container.Content = new SysSetView();
break;
case "Parameter_Set":
container.Content = new ParameterSetView();
break;
case "Program_group":
container.Content = new ProgramgroupView();
break;
case "Engineer_Set":
container.Content = new EngineerSetView();
break;
default:
break;
+12
View File
@@ -0,0 +1,12 @@
<UserControl x:Class="DyeingComputer.View.CurveDiagramView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:DyeingComputer.View"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
<Grid>
</Grid>
</UserControl>
+28
View File
@@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace DyeingComputer.View
{
/// <summary>
/// CurveDiagramView.xaml 的交互逻辑
/// </summary>
public partial class CurveDiagramView : UserControl
{
public CurveDiagramView()
{
InitializeComponent();
}
}
}
+12
View File
@@ -0,0 +1,12 @@
<UserControl x:Class="DyeingComputer.View.EngineerSetView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:DyeingComputer.View"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
<Grid>
</Grid>
</UserControl>
+28
View File
@@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace DyeingComputer.View
{
/// <summary>
/// EngineerSetView.xaml 的交互逻辑
/// </summary>
public partial class EngineerSetView : UserControl
{
public EngineerSetView()
{
InitializeComponent();
}
}
}
+12
View File
@@ -0,0 +1,12 @@
<UserControl x:Class="DyeingComputer.View.EquipmentSimulationView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:DyeingComputer.View"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
<Grid>
</Grid>
</UserControl>
+28
View File
@@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace DyeingComputer.View
{
/// <summary>
/// EquipmentSimulationView.xaml 的交互逻辑
/// </summary>
public partial class EquipmentSimulationView : UserControl
{
public EquipmentSimulationView()
{
InitializeComponent();
}
}
}
+12
View File
@@ -0,0 +1,12 @@
<UserControl x:Class="DyeingComputer.View.HistoryRecordsView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:DyeingComputer.View"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
<Grid>
</Grid>
</UserControl>
+28
View File
@@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace DyeingComputer.View
{
/// <summary>
/// HistoryRecordsView.xaml 的交互逻辑
/// </summary>
public partial class HistoryRecordsView : UserControl
{
public HistoryRecordsView()
{
InitializeComponent();
}
}
}
+12
View File
@@ -0,0 +1,12 @@
<UserControl x:Class="DyeingComputer.View.InOutView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:DyeingComputer.View"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
<Grid>
</Grid>
</UserControl>
+28
View File
@@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace DyeingComputer.View
{
/// <summary>
/// InOutView.xaml 的交互逻辑
/// </summary>
public partial class InOutView : UserControl
{
public InOutView()
{
InitializeComponent();
}
}
}
+12
View File
@@ -0,0 +1,12 @@
<UserControl x:Class="DyeingComputer.View.ParameterSetView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:DyeingComputer.View"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
<Grid>
</Grid>
</UserControl>
+28
View File
@@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace DyeingComputer.View
{
/// <summary>
/// ParameterSetView.xaml 的交互逻辑
/// </summary>
public partial class ParameterSetView : UserControl
{
public ParameterSetView()
{
InitializeComponent();
}
}
}
+12
View File
@@ -0,0 +1,12 @@
<UserControl x:Class="DyeingComputer.View.ProgramgroupView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:DyeingComputer.View"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
<Grid>
</Grid>
</UserControl>
+28
View File
@@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace DyeingComputer.View
{
/// <summary>
/// ProgramgroupView.xaml 的交互逻辑
/// </summary>
public partial class ProgramgroupView : UserControl
{
public ProgramgroupView()
{
InitializeComponent();
}
}
}
+12
View File
@@ -0,0 +1,12 @@
<UserControl x:Class="DyeingComputer.View.SysSetView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:DyeingComputer.View"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
<Grid>
</Grid>
</UserControl>
+28
View File
@@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace DyeingComputer.View
{
/// <summary>
/// SysSetView.xaml 的交互逻辑
/// </summary>
public partial class SysSetView : UserControl
{
public SysSetView()
{
InitializeComponent();
}
}
}
+12
View File
@@ -0,0 +1,12 @@
<UserControl x:Class="DyeingComputer.View.TechnologicalProcessView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:DyeingComputer.View"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
<Grid>
</Grid>
</UserControl>
+28
View File
@@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace DyeingComputer.View
{
/// <summary>
/// TechnologicalProcessView.xaml 的交互逻辑
/// </summary>
public partial class TechnologicalProcessView : UserControl
{
public TechnologicalProcessView()
{
InitializeComponent();
}
}
}