查看工艺、物料、SOP

20260122
zhaoaomin 2 years ago
parent 20f8cbb815
commit 5496895696

Binary file not shown.

@ -409,5 +409,7 @@ namespace CommonFunc.Tools
bool passwordMatches = BCrypt.Net.BCrypt.Verify(plainPassword, hashedPassword);
return passwordMatches;
}
}
}

@ -657,7 +657,7 @@ select a.TrayCode,a.ProductBarNo,a.carcode,a.createtime,a.lineno,b.HadNumber
//workorder.status = 'w1' and
string sql = $@"select wetDetail.id,wetDetail.factory_code,wetDetail.material_code as prod_code, wetDetail.sync_flag,wetDetail.plan_time,
wetDetail.workorder_id,bucket_id,bucket_code,material_code,material_name,
wetDetail.material_name as product_name,wetDetail.shift_desc,prod_line_code,workorder.status,workorder.workorder_code
wetDetail.material_name as product_name,wetDetail.shift_desc,prod_line_code,workorder.status,workorder.workorder_code,route_code
from pro_wet_material_plan_detail wetDetail
left join pro_order_workorder workorder on workorder.workorder_id = wetDetail.workorder_id where 1=1 and
workorder.end_flag = '1' and CONVERT(VARCHAR(10), wetDetail.plan_time , 120)= CONVERT(VARCHAR(10), GetDate() , 120)";
@ -675,7 +675,7 @@ left join pro_order_workorder workorder on workorder.workorder_id = wetDetail.wo
/// <returns></returns>
public DataTable GetFlowInfo(string workorderno)
{
string sql = $@"SELECT process_code,process_name,order_num,next_process_code,next_process_name,color_code,workorder.workorder_code
string sql = $@"SELECT process_code,process_name,order_num,next_process_code,next_process_name,color_code,workorder.workorder_code,route.route_code,route_name,workorder.product_code,workorder.product_name
FROM [dbo].[pro_route_process] process
LEFT JOIN pro_route route on process.route_id = route.route_id
LEFT JOIN pro_order_workorder workorder on route.route_code = workorder.route_code
@ -690,6 +690,40 @@ order by order_num"; //where CONVERT(VARCHAR(10), wet.plan_time , 120)= CONVERT
}
/// <summary>
/// 查询SOP信息
/// </summary>
/// <returns></returns>
public DataTable GetSOPInfo(string processid)
{
string sql = $@"select file_name,file_address from pro_route route
LEFT JOIN base_file files ON route.route_id = files.source_id
where route.route_code = '{processid}'"; //where CONVERT(VARCHAR(10), wet.plan_time , 120)= CONVERT(VARCHAR(10), GetDate() , 120)
DataSet dtset = Utils.netClientDBHelper.getDataSet(sql);
if (dtset != null && dtset.Tables.Count > 0 && dtset.Tables[0].Rows.Count > 0)
{
return dtset.Tables[0];
}
return null;
}
/// <summary>
/// 查询物料信息
/// </summary>
/// <returns></returns>
public DataTable GetMaterialInfo(string processid)
{
string sql = $@" select workorder_code, product_code, product_name, material_code, material_name,quantity,product_spc from mes_prepare pre
LEFT JOIN mes_prepare_detail detail on pre.prepare_id = detail.prepare_id
where workorder_code = '{processid}'"; //where CONVERT(VARCHAR(10), wet.plan_time , 120)= CONVERT(VARCHAR(10), GetDate() , 120)
DataSet dtset = Utils.netClientDBHelper.getDataSet(sql);
if (dtset != null && dtset.Tables.Count > 0 && dtset.Tables[0].Rows.Count > 0)
{
return dtset.Tables[0];
}
return null;
}
/// <summary>
/// 获取工单是否齐套
/// </summary>

@ -19,7 +19,8 @@ namespace XGL.Data.DBService
public DataTable GetFormingMachineInfo(string devicecode)
{
string sql = $@"SELECT ord.workorder_code,res.OrderCode,product_name,product_code,isnull(car_num,0) as car_num,isnull([begin],'1900-01-01 08:00:00') as [begin],ord.status FROM [dbo].[mes_material_transfer_result] res
string sql = $@"SELECT ord.workorder_id,ord.workorder_code,res.OrderCode,product_name,product_code,isnull(car_num,0) as car_num,isnull([begin],'1900-01-01 08:00:00') as [begin],ord.status ,ord.route_code
FROM [dbo].[mes_material_transfer_result] res
LEFT JOIN pro_order_workorder ord on res.OrderCode = ord.workorder_id
where equipmentCode = '{devicecode}'; ";
@ -92,15 +93,31 @@ where res.taskcode = '1' and equipmentCode = '{devicecode}'; ";
}
/// <summary>
/// 暂停工单
/// 获取工单当前状态
/// </summary>
/// <param name="bdt"></param>
/// <param name="edt"></param>
/// <returns></returns>
public bool PauseWorkOrder(string orderCode)
public string GetWorkOrderStatus(string orderCode)
{
string sql = $@"update pro_order_workorder set status = 'w4' where workorder_code = '{orderCode}'";
string sql = $@"select status from pro_order_workorder where workorder_code = '{orderCode}'";
var obj = Utils.netClientDBHelper.getScalar(sql, null);
string issucc = obj == null ? "" : obj.ToString();
return issucc;
}
/// <summary>
/// 更新工单
/// </summary>
/// <param name="bdt"></param>
/// <param name="edt"></param>
/// <returns></returns>
public bool UpdateWorkOrder(string orderCode,string status)
{
string sql = $@"update pro_order_workorder set status = '{status}' where workorder_code = '{orderCode}'";
int issucc = Utils.netClientDBHelper.executeUpdate(sql);

@ -9,6 +9,7 @@ namespace XGL.Models.Model.FoamingMac
public class FoamingMacModel
{
public string id { get; set; }
public string workorder_id { get; set; }
public string workorder_code { get; set; }
public string product_name { get; set; }
@ -21,6 +22,6 @@ namespace XGL.Models.Model.FoamingMac
public string product_date { get; set; }
public string create_by { get; set; }
public string process_id { get; set; }
}
}

@ -26,6 +26,8 @@ namespace XGL.Models.Model.OrderPrepare
public string shift_desc { get; set; }
public string prod_line_code { get; set; }
public string status { get; set; }
public string processid { get; set; }
}
}

@ -1,46 +1,45 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="XGL.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
<section name="ITE.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
<section name="XGL.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
<section name="ITE.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</sectionGroup>
</configSections>
<appSettings>
<!--车间编码-->
<add key="SiteCode" value="1000"/>
<add key="SiteCode" value="1000" />
<!--设备编码-->
<add key="DeviceCode" value="C1"/>
<add key="DeviceCode" value="C1" />
<!--上位机类型 0:工单准备1成型机\shoupei2烘房-->
<add key="ClientMode" value="2"/>
<add key="ClientMode" value="0" />
<!--上位机类型 1 上件 2 排空区 0下件区-->
<add key="PostType" value="1"/>
<add key="PostType" value="1" />
<!--线体编码-->
<add key="LineCode" value="101"/>
<add key="plcIp" value="127.0.0.1"/>
<add key="plcIp2" value="127.0.0.1"/>
<add key="plcport" value="60001"/>
<add key="LineCode" value="101" />
<add key="plcIp" value="127.0.0.1" />
<add key="plcIp2" value="127.0.0.1" />
<add key="plcport" value="60001" />
<add key="LineId" value="1"/>
<add key="LineId" value="1" />
<!--看板刷新时间 单位秒-->
<add key="BoardRefresh" value="6000"/>
<add key="BoardRefresh" value="6000" />
<!--下件界面刷新时间 单位秒-->
<add key="TakeOffRefresh" value="10"/>
<add key="TakeOffRefresh" value="10" />
<!--排空区刷新时间 单位秒-->
<add key="EmptyRefresh" value="10"/>
<add key="EmptyRefresh" value="10" />
<!--获取设备状态间隔时间 单位秒-->
<add key="GetDeviceStateInterval" value="60"/>
<add key="thriftIp" value="192.168.3.150"/>
<add key="GetDeviceStateInterval" value="60" />
<add key="thriftIp" value="192.168.3.150" />
<!--上件点发车thrift端口 7911 ,7912-->
<add key="thriftPort" value="7921"/>
<add key="thriftPort" value="7921" />
<!--出库点thrift端口-->
<add key="thriftBoxPort" value="7915"/>
<add key="thriftBoxPort" value="7915" />
<!--FormBoardthrift端口-->
<add key="FormBoardThriftPort" value="7931"/>
<add key="FormBoardThriftPort" value="7931" />
</appSettings>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
</startup>
<applicationSettings>
<XGL.Properties.Settings>
@ -66,18 +65,39 @@
<system.web>
<membership defaultProvider="ClientAuthenticationMembershipProvider">
<providers>
<add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri=""/>
<add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
</providers>
</membership>
<roleManager defaultProvider="ClientRoleProvider" enabled="true">
<providers>
<add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400"/>
<add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
</providers>
</roleManager>
</system.web>
<system.data>
<DbProviderFactories>
<remove invariant="MySql.Data.MySqlClient"/>
<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.8.8.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d"/>
<remove invariant="MySql.Data.MySqlClient" />
<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.8.8.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
</DbProviderFactories>
</system.data></configuration>
</system.data>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.6.0" newVersion="4.0.6.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Numerics.Vectors" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.1.4.0" newVersion="4.1.4.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="ICSharpCode.SharpZipLib" publicKeyToken="1b03e6acf1164f73" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.3.3.11" newVersion="1.3.3.11" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

@ -195,7 +195,38 @@
</Setter.Value>
</Setter>
</Style>
<Style x:Key="RoundButton" TargetType="Label">
<Setter Property="Width" Value="35" />
<Setter Property="Height" Value="35" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type Label}">
<Grid>
<Ellipse
Name="GelBackground"
Stroke="Black"
StrokeThickness="1" >
<!--<Ellipse.Fill>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="#FF34268A" Offset="0.1"></GradientStop>
<GradientStop Color="#FF33288B" Offset="0.5"></GradientStop>
<GradientStop Color="#FF2281D1" Offset="0.9"></GradientStop>
</LinearGradientBrush>
</Ellipse.Fill>-->
</Ellipse>
<ContentPresenter
Name="GelButtonContent"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Content="{TemplateBinding Content}" />
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<convert:NetStatusToColorConvert x:Key="colorconvert"></convert:NetStatusToColorConvert>
<convert:MyValueConverter x:Key="MyConverter"/>
<convert:BtnBackGroundColorConverter x:Key="ButtonContentToBackgroundColorConverter"/>
</ResourceDictionary>
</Window.Resources>
<Viewbox Stretch="Fill">
@ -252,7 +283,7 @@
Height="80"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Orientation="Horizontal">
Orientation="Horizontal" Visibility="Collapsed">
<TextBlock
Margin="45,25"
HorizontalAlignment="Left"
@ -311,7 +342,7 @@
Text="白班" />
</StackPanel>
<StackPanel
Grid.Column="4"
Grid.Column="1"
Width="300"
Height="80"
HorizontalAlignment="Center"
@ -332,6 +363,38 @@
Foreground="#1A68CA"
Text="N/12" />
</StackPanel>
<StackPanel
Grid.Row="2"
Grid.Column="3"
Width="370"
Height="80"
Margin="5,5"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Orientation="Horizontal">
<TextBlock
HorizontalAlignment="Left"
VerticalAlignment="Center"
FontSize="20"
Text="设备状态:" />
<Border CornerRadius="50" Width="40" Height="35" Background="{Binding ElementName=LbDeviceState,Path=Content, Converter={StaticResource ButtonContentToBackgroundColorConverter}}">
<Label Name="LbDeviceState" Content="Hello" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="White" FontWeight="Bold"/>
</Border>
<!--<Label x:Name="LbDeviceState" Style="{StaticResource RoundButton}"
Background="{Binding RelativeSource={RelativeSource Mode=Self},Path=Content, Converter={StaticResource ButtonContentToBackgroundColorConverter}}"></Label>
<Label
x:Name="LbDeviceState1" Background="Red"
Width="80"
Height="50"
FontSize="28"
HorizontalContentAlignment="Center" HorizontalAlignment="Center"
VerticalContentAlignment="Center" VerticalAlignment="Center"
Foreground="White" FontWeight="Bold"></Label>-->
<!-- Background="{Binding RelativeSource={RelativeSource Mode=Self},Path=Content, Converter={StaticResource ButtonContentToBackgroundColorConverter}}"-->
</StackPanel>
<StackPanel
Grid.Column="5"
Width="370"

@ -18,6 +18,7 @@ using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using XGL.Data.DBService;
using XGL.Views;
namespace XGL.FormItem
@ -30,7 +31,9 @@ namespace XGL.FormItem
public static Main main;
Frame frame1 = new Frame() { Content = new Views.LanJu_Index()};
Timer timer = new Timer();
string deviceCode = Utils.GetAppSetting("DeviceCode");
Timer timerDeciveState = new Timer();
System.Threading.Timer Time { get; set; }
@ -43,8 +46,7 @@ namespace XGL.FormItem
{
OnPropertyChanged("PingSeconds");
}
}
}
public event PropertyChangedEventHandler PropertyChanged;
protected void OnPropertyChanged(string info)
{
@ -119,14 +121,10 @@ namespace XGL.FormItem
}
private void btnExit_Click(object sender, RoutedEventArgs e)
{
if (MessageBox.Show("是否确认关闭程序", "提示信息", MessageBoxButton.YesNo, MessageBoxImage.Information) == MessageBoxResult.No)
{
}
else
if (MessageBox.Show("是否确认关闭程序", "提示信息", MessageBoxButton.YesNo, MessageBoxImage.Information) == MessageBoxResult.Yes)
{
System.Environment.Exit(System.Environment.ExitCode);
}
}
}
private void btnZXH_Click(object sender, RoutedEventArgs e)
@ -142,8 +140,11 @@ namespace XGL.FormItem
string sitecode = Utils.GetAppSetting("SiteCode");
DBService userDbWareHouse = new DBService();
DataTable dt = userDbWareHouse.GetFactoryInfo(sitecode);
string name = dt == null?"": dt.Rows[0][0].ToString();
string name = dt == null ? "" : dt.Rows[0][0].ToString();
this.tbFactory.Text = name;
timerDeciveState.Interval = Utils.GetAppSetting("GetDeviceStateInterval") == "" ? 15000 : Convert.ToInt32(Utils.GetAppSetting("GetDeviceStateInterval"));
timerDeciveState.Elapsed += TimerDeciveState_Elapsed;
timerDeciveState.Start();
}
@ -205,9 +206,34 @@ namespace XGL.FormItem
{
p1.SendAsyncCancel();
}
}, 1, 0, 2000);
}, 1, 0, 2000);
}
private void TimerDeciveState_Elapsed(object sender, ElapsedEventArgs e)
{
FormingMachineService formingMachineService = new FormingMachineService();
DataTable dt = formingMachineService.GetFormingMachineState(deviceCode);
if (dt == null) return;
// 使用Dispatcher来在UI线程上更新UI
this.Dispatcher.Invoke(
new Action(() => { LbDeviceState.Content = dt.Rows[0][0].ToString() == "1" ? "正常" : "异常"; }
),
System.Windows.Threading.DispatcherPriority.Render);
//if (dt.Rows[0][0].ToString() == "1")
//{
// this.Dispatcher.Invoke(
// new Action(() => { LbDeviceState.Background = Brushes.Green; }
// ),
// System.Windows.Threading.DispatcherPriority.Render);
//}
//else
//{
// this.Dispatcher.Invoke(
// new Action(() => { LbDeviceState.Background = Brushes.Red; }
// ),
// System.Windows.Threading.DispatcherPriority.Render);
//}
}
}

@ -0,0 +1,73 @@
<Window x:Class="XGL.Views.FlowInfoWin"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
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:XGL.Views"
mc:Ignorable="d"
Title="FlowInfoWin" Height="450" Width="800" Loaded="Window_Loaded" WindowStartupLocation="CenterScreen" WindowStyle="None">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Label
Grid.Row="0"
Width="175"
Height="37"
Margin="25,20,0,25"
HorizontalAlignment="Left"
VerticalAlignment="Center">
<TextBlock
FontSize="22"
FontWeight="Bold"
Text="工艺路线" />
</Label>
<Button
Grid.Row="0"
Width="90"
Height="44"
Margin="0,20,25,25"
HorizontalAlignment="Right"
VerticalAlignment="Center"
Background="#2B7EE6"
Click="Back_Click" Content="关闭" FontSize="20"
Foreground="White"> </Button>
<DataGrid x:Name="dgFlow"
Grid.Row="1"
AutoGenerateColumns="False"
CanUserAddRows="False"
IsReadOnly='True'
FontSize="16"
LoadingRow="dgFlow_LoadingRow" HeadersVisibility="Column">
<DataGrid.ColumnHeaderStyle>
<Style TargetType="DataGridColumnHeader">
<Setter Property="HorizontalContentAlignment" Value="Center" />
<Setter Property="Height" Value="48" />
<Setter Property="FontSize" Value="18" />
<Setter Property="Foreground" Value="White" />
<Setter Property="Background" Value="#2B7EE6" />
</Style>
</DataGrid.ColumnHeaderStyle>
<DataGrid.Columns>
<DataGridTemplateColumn Header=" 序号" Width="80" MinWidth="10" IsReadOnly="True">
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<TextBlock Text="{Binding RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type DataGridRow}}, Path=Header}" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="10,0,0,0"></TextBlock>
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
<DataGridTextColumn Width="2*" Header="工序编码" Binding="{Binding process_code}"/>
<DataGridTextColumn Width="2*" Header="工序名称" Binding="{Binding process_name}"/>
<DataGridTextColumn Width="2*" Header="下一工序编码" Binding="{Binding next_process_code}"/>
<DataGridTextColumn Width="2*" Header="下一工序名称" Binding="{Binding next_process_name}"/>
<DataGridTextColumn Width="2*" Header="物料编码" Binding="{Binding product_code}"/>
<DataGridTextColumn Width="2*" Header="物料名称" Binding="{Binding product_name}"/>
<DataGridTextColumn Width="2*" Header="工单" Binding="{Binding workorder_code}"/>
</DataGrid.Columns>
</DataGrid>
</Grid>
</Window>

@ -0,0 +1,50 @@
using System;
using System.Collections.Generic;
using System.Data;
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.Shapes;
namespace XGL.Views
{
/// <summary>
/// FlowInfoWin.xaml 的交互逻辑
/// </summary>
public partial class FlowInfoWin : Window
{
DataTable _dt;
public FlowInfoWin()
{
InitializeComponent();
}
public FlowInfoWin(DataTable dt)
{
InitializeComponent();
_dt = dt;
}
private void Back_Click(object sender, RoutedEventArgs e)
{
this.Close();
}
private void Window_Loaded(object sender, RoutedEventArgs e)
{
this.WindowState = WindowState.Maximized;
this.dgFlow.ItemsSource = _dt.DefaultView;
}
private void dgFlow_LoadingRow(object sender, DataGridRowEventArgs e)
{
e.Row.Header = (e.Row.GetIndex() + 1).ToString();
}
}
}

@ -1,4 +1,4 @@
<UserControl
<Window
x:Class="XGL.Views.LanJu_Material"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@ -7,7 +7,7 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
Width="1920"
Height="800"
mc:Ignorable="d">
mc:Ignorable="d" Loaded="Window_Loaded" WindowStartupLocation="CenterScreen">
<Viewbox Stretch="Fill">
<Canvas
Width="1920"
@ -41,7 +41,7 @@
Margin="0,20,25,25"
HorizontalAlignment="Right"
VerticalAlignment="Center"
Background="#2B7EE6">
Background="#2B7EE6" Click="Button_Click">
<TextBlock
FontSize="20"
Foreground="White"
@ -49,10 +49,13 @@
</Button>
<DataGrid
x:Name="dgMaterialInfo"
Grid.Row="1"
Width="1870"
Height="612"
Margin="25,0"
LoadingRow="DataGrid_LoadingRow"
HeadersVisibility="Column"
AutoGenerateColumns="False">
<DataGrid.ColumnHeaderStyle>
<Style TargetType="DataGridColumnHeader">
@ -64,16 +67,22 @@
</Style>
</DataGrid.ColumnHeaderStyle>
<DataGrid.Columns>
<DataGridTextColumn Width="200" Header="序号" />
<DataGridTextColumn Width="250" Header="物料编码" />
<DataGridTextColumn Width="250" Header="物料名称" />
<DataGridTextColumn Width="250" Header="规格型号" />
<DataGridTextColumn Width="250" Header="数量" />
<DataGridTextColumn Width="250" Header="备货单单号" />
<DataGridTextColumn Width="*" Header="是否准备完成" />
<DataGridTemplateColumn Header=" 序号" Width="80" MinWidth="10" IsReadOnly="True">
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<TextBlock Text="{Binding RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type DataGridRow}}, Path=Header}" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="10,0,0,0"></TextBlock>
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
<DataGridTextColumn Width="250" Header="物料编码" Binding="{Binding material_code}"/>
<DataGridTextColumn Width="250" Header="物料名称" Binding="{Binding material_name}" />
<DataGridTextColumn Width="250" Header="规格型号" Binding="{Binding product_spc}" />
<DataGridTextColumn Width="250" Header="数量" Binding="{Binding quantity}" />
<DataGridTextColumn Width="250" Header="备货单单号" Binding="{Binding workorder_code}" />
<DataGridTextColumn Width="*" Header="是否准备完成" Binding="{Binding material_code}" Visibility="Collapsed"/>
</DataGrid.Columns>
</DataGrid>
</Grid>
</Canvas>
</Viewbox>
</UserControl>
</Window>

@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
@ -18,11 +19,36 @@ namespace XGL.Views
/// <summary>
/// LanJu_Material.xaml 的交互逻辑
/// </summary>
public partial class LanJu_Material : UserControl
public partial class LanJu_Material : Window
{
DataTable _dt;
public LanJu_Material()
{
InitializeComponent();
}
public LanJu_Material(DataTable dt)
{
InitializeComponent();
_dt = dt;
}
private void Window_Loaded(object sender, RoutedEventArgs e)
{
this.WindowState = WindowState.Maximized;
if (_dt == null) return;
this.dgMaterialInfo.ItemsSource = _dt.DefaultView;
}
private void DataGrid_LoadingRow(object sender, DataGridRowEventArgs e)
{
e.Row.Header = (e.Row.GetIndex() + 1).ToString();
}
private void Button_Click(object sender, RoutedEventArgs e)
{
this.Close();
}
}
}

@ -42,7 +42,7 @@
<ColumnDefinition Width="1*" />
<ColumnDefinition Width="220" />
</Grid.ColumnDefinitions>
<StackPanel
<!--<StackPanel
Grid.Row="0"
Grid.Column="0"
Grid.ColumnSpan="3"
@ -90,9 +90,9 @@
FontSize="13"
Foreground="Gray"
Text="请输入内容" />
</StackPanel>
</StackPanel>-->
<StackPanel
<!--<StackPanel
Grid.Row="0"
Grid.Column="6"
Grid.ColumnSpan="2"
@ -116,14 +116,14 @@
Foreground="White" FontSize="14" FontWeight="Bold">
</Label>
<!--#70B603Background="{Binding RelativeSource={RelativeSource Mode=Self},Path=Content, Converter={StaticResource ButtonContentToBackgroundColorConverter}}"-->
</StackPanel>
</StackPanel>-->
<!--#70B603Background="{Binding RelativeSource={RelativeSource Mode=Self},Path=Content, Converter={StaticResource ButtonContentToBackgroundColorConverter}}"-->
<StackPanel
Grid.Row="1"
Grid.Column="0"
Width="220"
Height="90">
Height="90" Visibility="Collapsed">
<Button
Width="170"
Height="80"
@ -143,7 +143,7 @@
<StackPanel
Grid.Row="1"
Grid.Column="1"
Height="90">
Height="90" Visibility="Collapsed">
<Button
Width="170"
Height="80"
@ -163,19 +163,19 @@
<StackPanel
Grid.Row="1"
Grid.Column="2"
Height="90">
Height="90" Visibility="Collapsed">
<Button
Width="170"
Height="80"
Margin="10,5"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Background="#2B7EE6">
Background="#2B7EE6" >
<Button.Content>
<TextBlock
VerticalAlignment="Center"
FontSize="20"
Foreground="White"
Foreground="White"
Text="注销" />
</Button.Content>
</Button>
@ -183,7 +183,7 @@
<StackPanel
Grid.Row="1"
Grid.Column="3"
Height="90">
Height="90" Visibility="Collapsed">
<Button
Width="170"
Height="80"
@ -202,7 +202,7 @@
</StackPanel>
<StackPanel
Grid.Row="1"
Grid.Column="4"
Grid.Column="0"
Height="90">
<Button
x:Name="btnPause"
@ -224,15 +224,15 @@
</StackPanel>
<StackPanel
Grid.Row="1"
Grid.Column="5"
Grid.Column="1"
Height="90">
<Button
<Button x:Name="btnRecover"
Width="170"
Height="80"
Margin="10,5"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Background="#2B7EE6">
Background="#2B7EE6" Click="btnRecover_Click">
<Button.Content>
<TextBlock
VerticalAlignment="Center"
@ -244,7 +244,7 @@
</StackPanel>
<StackPanel
Grid.Row="1"
Grid.Column="6"
Grid.Column="2"
Height="90">
<Button
Width="170"
@ -265,7 +265,7 @@
</StackPanel>
<StackPanel
Grid.Row="1"
Grid.Column="7"
Grid.Column="3"
Height="90">
<Button
Width="170"
@ -286,7 +286,7 @@
</StackPanel>
<StackPanel
Grid.Row="1"
Grid.Column="8"
Grid.Column="4"
Width="220"
Height="90">
<Button
@ -295,7 +295,8 @@
Margin="25,5"
HorizontalAlignment="Right"
VerticalAlignment="Center"
Background="#2B7EE6">
Background="#2B7EE6"
Click="Button_Click">
<Button.Content>
<TextBlock
VerticalAlignment="Center"
@ -336,12 +337,19 @@
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
<DataGridTextColumn Width="250" Header="工单/SFC" Binding="{Binding workorder_id}" Visibility="Hidden"/>
<DataGridTextColumn Width="250" Header="工单/SFC" Binding="{Binding workorder_code}" />
<DataGridTextColumn Width="250" Header="产品名称" Binding="{Binding product_name}" />
<DataGridTextColumn Width="250" Header="产品型号" Binding="{Binding product_code}" />
<DataGridTextColumn Width="250" Header="工单数量" Binding="{Binding car_num}" />
<DataGridTextColumn Width="250" Header="开始时间" Binding="{Binding begin}" />
<DataGridTextColumn Width="*" Header="工单状态" Binding="{Binding status,Converter={StaticResource MyConverter}}" />
<DataGridTextColumn Width="*" Header="工单状态" Binding="{Binding status,Converter={StaticResource MyConverter}}" >
<!--<DataGridTextColumn.ElementStyle>
<Style TargetType="TextBlock">
<Setter Property="Foreground" Value="{Binding status, Converter={StaticResource SyncFlagColorConvert}}" />
</Style>
</DataGridTextColumn.ElementStyle>-->
</DataGridTextColumn>
</DataGrid.Columns>
</DataGrid>

@ -1,4 +1,5 @@
using CommonFunc;
using CentralControl.DBDAO;
using CommonFunc;
using CommonFunc.Tools;
using COSMO.IM.LanJu.Index;
using System;
@ -30,11 +31,12 @@ namespace XGL.Views
public partial class LanJu_Operator : UserControl
{
FormingMachineService formingMachineService = new FormingMachineService();
DBService userDbWareHouse = new DBService();
public static LanJu_Operator lanJu_Operator;
Frame frame = new Frame() { Content = new Views.LanJu_InOut()};
string deviceCode = Utils.GetAppSetting("DeviceCode");
Timer timerDeciveState = new Timer();
public enum WindowID
{
frame
@ -43,36 +45,10 @@ namespace XGL.Views
{
InitializeComponent();
WindowChange(WindowID.frame);
timerDeciveState.Interval = Utils.GetAppSetting("GetDeviceStateInterval") == "" ? 15000 : Convert.ToInt32(Utils.GetAppSetting("GetDeviceStateInterval"));
timerDeciveState.Elapsed += TimerDeciveState_Elapsed;
timerDeciveState.Start();
}
private void TimerDeciveState_Elapsed(object sender, ElapsedEventArgs e)
{
DataTable dt = formingMachineService.GetFormingMachineState(deviceCode);
if (dt == null) return;
// 使用Dispatcher来在UI线程上更新UI
this.Dispatcher.Invoke(
new Action(() => { LbDeviceState.Content = dt.Rows[0][0].ToString() == "1" ? "正常" : "异常"; }
),
System.Windows.Threading.DispatcherPriority.Render);
//if (dt.Rows[0][0].ToString() == "1")
//{
// this.Dispatcher.Invoke(
// new Action(() => { LbDeviceState.Background = Brushes.Green; }
// ),
// System.Windows.Threading.DispatcherPriority.Render);
//}
//else
//{
// this.Dispatcher.Invoke(
// new Action(() => { LbDeviceState.Background = Brushes.Red; }
// ),
// System.Windows.Threading.DispatcherPriority.Render);
//}
}
public void WindowChange(WindowID windowID)
{
@ -115,30 +91,7 @@ namespace XGL.Views
};
}
/// <summary>
/// 上部按钮
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void Flow_Click(object sender, RoutedEventArgs e)
{
LanJu_Flow lanJu_Flow = new LanJu_Flow();
LanJu_Flow.jump = 1;
Window2.Content = new Frame
{
Content= lanJu_Flow
};
}
private void Material_Click(object sender, RoutedEventArgs e)
{
LanJu_Material lanJu_Material = new LanJu_Material();
Window2.Content = new Frame
{
Content = lanJu_Material
};
}
private void UCOperator_Loaded(object sender, RoutedEventArgs e)
{
GetWorkOrderInfo();
@ -157,6 +110,7 @@ namespace XGL.Views
foreach (DataRow i in dt.Rows)
{
FoamingMacModel order = new FoamingMacModel();
order.workorder_id = i["workorder_id"].ToString();
order.workorder_code = i["workorder_code"].ToString();
order.product_name = i["product_name"].ToString();
@ -164,7 +118,7 @@ namespace XGL.Views
order.car_num = Convert.ToInt32(i["car_num"].ToString());
order.begin = Convert.ToDateTime(i["begin"].ToString());
order.status = i["status"].ToString();
order.process_id = i["route_code"].ToString();
orderList.Add(order);
}
@ -176,7 +130,13 @@ namespace XGL.Views
LogHelper.instance.log.Error("获取工单准备信息时发生异常:" + ex.Message);
}
}
private void dgWorkOrderInfo_LoadingRow(object sender, DataGridRowEventArgs e)
{
e.Row.Header = (e.Row.GetIndex() + 1).ToString();
}
private void btnPause_Click(object sender, RoutedEventArgs e)
{
var selectedRow = dgWorkOrderInfo.SelectedItem as FoamingMacModel;
@ -185,14 +145,78 @@ namespace XGL.Views
MessageBox.Show("请选择你要暂停的工单!", "温馨提示", MessageBoxButton.OK, MessageBoxImage.Warning);
return;
}
MessageBoxResult result = MessageBox.Show("你确定要暂停该工单吗?", "温馨提示", MessageBoxButton.YesNo, MessageBoxImage.Information);
if (result == MessageBoxResult.No)
return;
var workordercode = selectedRow.workorder_code;
formingMachineService.PauseWorkOrder(workordercode);
string currStatus = selectedRow.status;
if(currStatus!="w2")
{
MessageBox.Show("只有活动中的工单才支持暂停!", "温馨提示", MessageBoxButton.OK, MessageBoxImage.Warning);
return;
}
formingMachineService.UpdateWorkOrder(workordercode,"w4");
GetWorkOrderInfo();
}
private void dgWorkOrderInfo_LoadingRow(object sender, DataGridRowEventArgs e)
private void btnRecover_Click(object sender, RoutedEventArgs e)
{
e.Row.Header = (e.Row.GetIndex() + 1).ToString();
var selectedRow = dgWorkOrderInfo.SelectedItem as FoamingMacModel;
if (selectedRow == null)
{
MessageBox.Show("请选择你要恢复的工单!", "温馨提示", MessageBoxButton.OK, MessageBoxImage.Warning);
return;
}
MessageBoxResult result = MessageBox.Show("你确定要恢复该工单吗?", "温馨提示", MessageBoxButton.YesNo, MessageBoxImage.Information);
if (result == MessageBoxResult.No)
return;
var workordercode = selectedRow.workorder_code;
formingMachineService.UpdateWorkOrder(workordercode, "w2");
GetWorkOrderInfo();
}
/// <summary>
/// 查看工艺
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void Flow_Click(object sender, RoutedEventArgs e)
{
var selectedRow = dgWorkOrderInfo.SelectedItem as FoamingMacModel;
var workordercode = selectedRow.workorder_code;
DataTable dt = userDbWareHouse.GetFlowInfo(workordercode);
FlowInfoWin flowInfoWin = new FlowInfoWin(dt);
flowInfoWin.ShowDialog();
}
/// <summary>
/// 查看物料
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void Material_Click(object sender, RoutedEventArgs e)
{
var selectedRow = dgWorkOrderInfo.SelectedItem as FoamingMacModel;
var processid = selectedRow.process_id;
DataTable dt = userDbWareHouse.GetMaterialInfo(processid);
LanJu_Material sopInfoWin = new LanJu_Material(dt);
sopInfoWin.ShowDialog();
}
/// <summary>
/// 查看SOP
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void Button_Click(object sender, RoutedEventArgs e)
{
var selectedRow = dgWorkOrderInfo.SelectedItem as FoamingMacModel;
var workordercode = selectedRow.workorder_code;
DataTable dt = userDbWareHouse.GetSOPInfo(workordercode);
SopInfoWin sopInfoWin = new SopInfoWin(dt);
sopInfoWin.ShowDialog();
}
}
}

@ -72,7 +72,8 @@ namespace XGL.Views
wet.shift_desc = i["shift_desc"].ToString();
wet.prod_line_code = i["prod_line_code"].ToString();
wet.status = i["status"].ToString();
wet.sync_flag = i["sync_flag"].ToString();
wet.sync_flag = i["sync_flag"].ToString();
wet.processid = i["route_code"].ToString();
wetList.Add(wet);
// list_modelWareHouse.WorkOrderCode = i["WorkOrderCode"].ToString();
// list_modelWareHouse.OrderCode = i["OrderCode"].ToString();
@ -92,24 +93,7 @@ namespace XGL.Views
}
private void Flow_Click(object sender, RoutedEventArgs e)
{
int index = 0;
Button flowButton = (Button)sender;
DataGridRow row = FindParent<DataGridRow>(flowButton);
if (row != null)
{
// 获取对应行的数据项对象
var rowDataItem = row.Item;
// 获取行号
index = row.GetIndex();
}
var selectedRow = WorkOrder.Items[index] as WorkOrder;
var workordercode = selectedRow.WorkOrderCode;
dt = userDbWareHouse.GetFlowInfo(workordercode);
}
private T FindParent<T>(DependencyObject child) where T : DependencyObject
{
@ -266,14 +250,69 @@ namespace XGL.Views
}
}
private void Flow_Click(object sender, RoutedEventArgs e)
{
int index = 0;
Button flowButton = (Button)sender;
DataGridRow row = FindParent<DataGridRow>(flowButton);
if (row != null)
{
// 获取对应行的数据项对象
var rowDataItem = row.Item;
// 获取行号
index = row.GetIndex();
}
var selectedRow = WorkOrder.Items[index] as WetMaterialModel;
var workordercode = selectedRow.workorder_code;
dt = userDbWareHouse.GetFlowInfo(workordercode);
FlowInfoWin flowInfoWin = new FlowInfoWin(dt);
flowInfoWin.ShowDialog();
}
private void SOP_Click(object sender, RoutedEventArgs e)
{
int index = 0;
Button sopButton = (Button)sender;
DataGridRow row = FindParent<DataGridRow>(sopButton);
if (row != null)
{
// 获取对应行的数据项对象
var rowDataItem = row.Item;
// 获取行号
index = row.GetIndex();
}
var selectedRow = WorkOrder.Items[index] as WetMaterialModel;
var processid = selectedRow.processid;
dt = userDbWareHouse.GetSOPInfo(processid);
SopInfoWin sopInfoWin = new SopInfoWin(dt);
sopInfoWin.ShowDialog();
}
private void Material_Click(object sender, RoutedEventArgs e)
{
int index = 0;
Button sopButton = (Button)sender;
DataGridRow row = FindParent<DataGridRow>(sopButton);
if (row != null)
{
// 获取对应行的数据项对象
var rowDataItem = row.Item;
// 获取行号
index = row.GetIndex();
}
var selectedRow = WorkOrder.Items[index] as WetMaterialModel;
var processid = selectedRow.workorder_code;
dt = userDbWareHouse.GetMaterialInfo(processid);
LanJu_Material sopInfoWin = new LanJu_Material(dt);
sopInfoWin.ShowDialog();
}

@ -0,0 +1,51 @@
<Window x:Class="XGL.Views.SopInfoWin"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
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:XGL.Views"
xmlns:pdf="clr-namespace:PdfiumViewer;assembly=PdfiumViewer"
mc:Ignorable="d"
Title="FlowInfoWin" Height="450" Width="800" Loaded="Window_Loaded" WindowStartupLocation="CenterScreen" WindowStyle="None">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Label
Grid.Row="0"
Width="175"
Height="37"
Margin="25,20,0,25"
HorizontalAlignment="Left"
VerticalAlignment="Center">
<TextBlock
FontSize="22"
FontWeight="Bold"
Text="SOP" />
</Label>
<Button
Grid.Row="0"
Width="90"
Height="44"
Margin="0,20,25,25"
HorizontalAlignment="Right"
VerticalAlignment="Center"
Background="#2B7EE6"
Click="Back_Click" Content="关闭" FontSize="20"
Foreground="White"> </Button>
<StackPanel Grid.Row="1">
<WindowsFormsHost Name="windowsFormsHost" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Visibility="Hidden"/>
</StackPanel>
<ContentControl
x:Name="Window2"
Grid.Row="1"
VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
>
<pdf:PdfViewer x:Name="pdfViewer" Visible="False" />
</ContentControl>
</Grid>
</Window>

@ -0,0 +1,129 @@
using PdfSharpCore.Drawing;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Forms;
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.Shapes;
using PdfiumViewer;
namespace XGL.Views
{
/// <summary>
/// FlowInfoWin.xaml 的交互逻辑
/// </summary>
public partial class SopInfoWin : Window
{
DataTable _dt;
Image imgSop = new Image();
private System.Windows.Forms.WebBrowser webBrowser;
public SopInfoWin()
{
InitializeComponent();
}
public SopInfoWin(DataTable dt)
{
InitializeComponent();
_dt = dt;
}
private void Back_Click(object sender, RoutedEventArgs e)
{
this.Close();
}
private void Window_Loaded(object sender, RoutedEventArgs e)
{
this.WindowState = WindowState.Maximized;
if (_dt == null || _dt.Rows.Count == 0) return;
string address = _dt.Rows[0][0].ToString();
if (address.ToLower().Contains(".png") || address.ToLower().Contains(".jpg"))
{
windowsFormsHost.Visibility = Visibility.Collapsed;
pdfViewer.Visible = false;
System.Windows.Media.Imaging.BitmapImage src = new System.Windows.Media.Imaging.BitmapImage();
src.BeginInit();
src.UriSource = new Uri(address, UriKind.Relative);
src.CacheOption = System.Windows.Media.Imaging.BitmapCacheOption.OnLoad;
src.EndInit();
imgSop.Stretch = System.Windows.Media.Stretch.Fill;
imgSop.Source = src;
Window2.Content = new Frame
{
Content = imgSop
};
}
if (address.ToLower().Contains(".doc") || address.ToLower().Contains(".docx") || address.ToLower().Contains(".xls") || address.ToLower().Contains(".xlxs"))
{
imgSop.Visibility = Visibility.Collapsed;
pdfViewer.Visible = false;
windowsFormsHost.Visibility = Visibility.Visible;
InitializeOfficeViewer(address);
}
if (address.ToLower().Contains(".pdf"))
{
windowsFormsHost.Visibility = Visibility.Collapsed;
imgSop.Visibility = Visibility.Collapsed;
pdfViewer.Visible = true;
LoadPdfFile(address);
}
}
private void LoadPdfFile(string filePath)
{
try
{
PdfDocument pdfDocument = PdfDocument.Load(filePath);
pdfViewer.Document = pdfDocument;
}
catch (Exception ex)
{
// 处理加载 PDF 文件的异常
System.Windows.MessageBox.Show("无法加载 PDF 文件:" + ex.Message);
}
}
private void InitializeOfficeViewer(string filePath)
{
webBrowser = new System.Windows.Forms.WebBrowser();
// Add WebBrowser control to WindowsFormsHost
windowsFormsHost.Child = webBrowser;
// Load and display the Office document
LoadOfficeDocument("path_to_your_office_document.docx");
}
private void LoadOfficeDocument(string filePath)
{
try
{
webBrowser.Navigate(filePath);
}
catch (Exception ex)
{
System.Windows.MessageBox.Show($"Error loading Office document: {ex.Message}", "Error", MessageBoxButton.OK, MessageBoxImage.Error);
}
}
private void dgFlow_LoadingRow(object sender, DataGridRowEventArgs e)
{
e.Row.Header = (e.Row.GetIndex() + 1).ToString();
}
}
}

@ -87,6 +87,9 @@
<Reference Include="Google.Protobuf, Version=3.5.1.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL">
<HintPath>..\packages\Google.Protobuf.3.5.1\lib\net45\Google.Protobuf.dll</HintPath>
</Reference>
<Reference Include="ICSharpCode.SharpZipLib, Version=1.3.3.11, Culture=neutral, PublicKeyToken=1b03e6acf1164f73, processorArchitecture=MSIL">
<HintPath>..\packages\SharpZipLib.1.3.3\lib\net45\ICSharpCode.SharpZipLib.dll</HintPath>
</Reference>
<Reference Include="LiveCharts, Version=0.9.7.0, Culture=neutral, PublicKeyToken=0bc1f845d1ebb8df, processorArchitecture=MSIL">
<HintPath>..\packages\LiveCharts.0.9.7\lib\net40\LiveCharts.dll</HintPath>
</Reference>
@ -115,7 +118,22 @@
<Reference Include="NLog">
<HintPath>..\..\..\海尔中一悬挂链\前台\XGL\bin\x86\Debug\NLog.dll</HintPath>
</Reference>
<Reference Include="PdfiumViewer, Version=2.13.0.0, Culture=neutral, PublicKeyToken=91e4789cfb0609e0, processorArchitecture=MSIL">
<HintPath>..\packages\PdfiumViewer.2.13.0.0\lib\net20\PdfiumViewer.dll</HintPath>
</Reference>
<Reference Include="PdfSharpCore, Version=1.3.60.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\PdfSharpCore.1.3.60\lib\netstandard2.0\PdfSharpCore.dll</HintPath>
</Reference>
<Reference Include="SixLabors.Fonts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d998eea7b14cab13, processorArchitecture=MSIL">
<HintPath>..\packages\SixLabors.Fonts.1.0.0\lib\netstandard2.0\SixLabors.Fonts.dll</HintPath>
</Reference>
<Reference Include="SixLabors.ImageSharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d998eea7b14cab13, processorArchitecture=MSIL">
<HintPath>..\packages\SixLabors.ImageSharp.1.0.4\lib\net472\SixLabors.ImageSharp.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll</HintPath>
</Reference>
<Reference Include="System.ComponentModel" />
<Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System.Configuration" />
@ -125,6 +143,16 @@
<Reference Include="System.Drawing.Design" />
<Reference Include="System.EnterpriseServices" />
<Reference Include="System.Management" />
<Reference Include="System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Memory.4.5.4\lib\net461\System.Memory.dll</HintPath>
</Reference>
<Reference Include="System.Numerics" />
<Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll</HintPath>
</Reference>
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=4.0.6.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.4.7.0\lib\netstandard2.0\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
</Reference>
<Reference Include="System.Runtime.Serialization">
<Private>True</Private>
</Reference>
@ -148,6 +176,7 @@
<Reference Include="WindowsBase" />
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="WindowsFormsIntegration" />
<Reference Include="Xceed.Wpf.AvalonDock, Version=3.3.0.0, Culture=neutral, PublicKeyToken=3e4669d2f30244f4, processorArchitecture=MSIL">
<HintPath>..\packages\Extended.Wpf.Toolkit.3.3.0\lib\net40\Xceed.Wpf.AvalonDock.dll</HintPath>
</Reference>
@ -294,6 +323,12 @@
<Compile Include="Views\DryingRoomUC.xaml.cs">
<DependentUpon>DryingRoomUC.xaml</DependentUpon>
</Compile>
<Compile Include="Views\SopInfoWin.xaml.cs">
<DependentUpon>SopInfoWin.xaml</DependentUpon>
</Compile>
<Compile Include="Views\FlowInfoWin.xaml.cs">
<DependentUpon>FlowInfoWin.xaml</DependentUpon>
</Compile>
<Compile Include="Views\LanJu_Complete.xaml.cs">
<DependentUpon>LanJu_Complete.xaml</DependentUpon>
</Compile>
@ -514,6 +549,14 @@
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\SopInfoWin.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Views\FlowInfoWin.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\LanJu_Complete.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectView>ShowAllFiles</ProjectView>
<ProjectView>ProjectFiles</ProjectView>
</PropertyGroup>
</Project>

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?><doc>
<?xml version="1.0" encoding="utf-8"?>
<doc>
<assembly>
<name>System.Runtime.CompilerServices.Unsafe</name>
</assembly>
@ -20,6 +21,13 @@
<typeparam name="T">The type of reference.</typeparam>
<returns>A new reference that reflects the addition of offset to pointer.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.Add``1(System.Void*,System.Int32)">
<summary>Adds an element offset to the given void pointer.</summary>
<param name="source">The void pointer to add the offset to.</param>
<param name="elementOffset">The offset to add.</param>
<typeparam name="T">The type of void pointer.</typeparam>
<returns>A new void pointer that reflects the addition of offset to the specified pointer.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.AddByteOffset``1(``0@,System.IntPtr)">
<summary>Adds a byte offset to the given reference.</summary>
<param name="source">The reference to add the offset to.</param>
@ -32,7 +40,8 @@
<param name="left">The first reference to compare.</param>
<param name="right">The second reference to compare.</param>
<typeparam name="T">The type of reference.</typeparam>
<returns>true if <paramref name="left">left</paramref> and <paramref name="right">right</paramref> point to the same location; otherwise, false.</returns>
<returns>
<see langword="true" /> if <paramref name="left" /> and <paramref name="right" /> point to the same location; otherwise, <see langword="false" />.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.As``1(System.Object)">
<summary>Casts the given object to the specified type.</summary>
@ -41,11 +50,11 @@
<returns>The original object, casted to the given type.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.As``2(``0@)">
<summary>Reinterprets the given reference as a reference to a value of type <typeparamref name="TTo">TTo</typeparamref>.</summary>
<summary>Reinterprets the given reference as a reference to a value of type <typeparamref name="TTo" />.</summary>
<param name="source">The reference to reinterpret.</param>
<typeparam name="TFrom">The type of reference to reinterpret..</typeparam>
<typeparam name="TFrom">The type of reference to reinterpret.</typeparam>
<typeparam name="TTo">The desired type of the reference.</typeparam>
<returns>A reference to a value of type <typeparamref name="TTo">TTo</typeparamref>.</returns>
<returns>A reference to a value of type <typeparamref name="TTo" />.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.AsPointer``1(``0@)">
<summary>Returns a pointer to the given by-ref parameter.</summary>
@ -53,31 +62,37 @@
<typeparam name="T">The type of object.</typeparam>
<returns>A pointer to the given value.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.AsRef``1(``0@)">
<summary>Reinterprets the given read-only reference as a reference.</summary>
<param name="source">The read-only reference to reinterpret.</param>
<typeparam name="T">The type of reference.</typeparam>
<returns>A reference to a value of type <typeparamref name="T" />.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.AsRef``1(System.Void*)">
<summary>Reinterprets the given location as a reference to a value of type <typeparamref name="T">T</typeparamref>.</summary>
<summary>Reinterprets the given location as a reference to a value of type <typeparamref name="T" />.</summary>
<param name="source">The location of the value to reference.</param>
<typeparam name="T">The type of the interpreted location.</typeparam>
<returns>A reference to a value of type <typeparamref name="T">T</typeparamref>.</returns>
<returns>A reference to a value of type <typeparamref name="T" />.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.ByteOffset``1(``0@,``0@)">
<summary>Determines the byte offset from origin to target from the given references.</summary>
<param name="origin">The reference to origin.</param>
<param name="target">The reference to target.</param>
<typeparam name="T">The type of reference.</typeparam>
<returns>Byte offset from origin to target i.e. <paramref name="target">target</paramref> - <paramref name="origin">origin</paramref>.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.Copy``1(System.Void*,``0@)">
<summary>Copies a value of type <typeparamref name="T">T</typeparamref> to the given location.</summary>
<param name="destination">The location to copy to.</param>
<param name="source">A reference to the value to copy.</param>
<typeparam name="T">The type of value to copy.</typeparam>
<returns>Byte offset from origin to target i.e. <paramref name="target" /> - <paramref name="origin" />.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.Copy``1(``0@,System.Void*)">
<summary>Copies a value of type <typeparamref name="T">T</typeparamref> to the given location.</summary>
<summary>Copies a value of type <typeparamref name="T" /> to the given location.</summary>
<param name="destination">The location to copy to.</param>
<param name="source">A pointer to the value to copy.</param>
<typeparam name="T">The type of value to copy.</typeparam>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.Copy``1(System.Void*,``0@)">
<summary>Copies a value of type <typeparamref name="T" /> to the given location.</summary>
<param name="destination">The location to copy to.</param>
<param name="source">A reference to the value to copy.</param>
<typeparam name="T">The type of value to copy.</typeparam>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.CopyBlock(System.Byte@,System.Byte@,System.UInt32)">
<summary>Copies bytes from the source address to the destination address.</summary>
<param name="destination">The destination address to copy to.</param>
@ -90,15 +105,15 @@
<param name="source">The source address to copy from.</param>
<param name="byteCount">The number of bytes to copy.</param>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.CopyBlockUnaligned(System.Void*,System.Void*,System.UInt32)">
<summary>Copies bytes from the source address to the destination address
<member name="M:System.Runtime.CompilerServices.Unsafe.CopyBlockUnaligned(System.Byte@,System.Byte@,System.UInt32)">
<summary>Copies bytes from the source address to the destination address
without assuming architecture dependent alignment of the addresses.</summary>
<param name="destination">The destination address to copy to.</param>
<param name="source">The source address to copy from.</param>
<param name="byteCount">The number of bytes to copy.</param>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.CopyBlockUnaligned(System.Byte@,System.Byte@,System.UInt32)">
<summary>Copies bytes from the source address to the destination address
<member name="M:System.Runtime.CompilerServices.Unsafe.CopyBlockUnaligned(System.Void*,System.Void*,System.UInt32)">
<summary>Copies bytes from the source address to the destination address
without assuming architecture dependent alignment of the addresses.</summary>
<param name="destination">The destination address to copy to.</param>
<param name="source">The source address to copy from.</param>
@ -117,80 +132,117 @@ without assuming architecture dependent alignment of the addresses.</summary>
<param name="byteCount">The number of bytes to initialize.</param>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.InitBlockUnaligned(System.Byte@,System.Byte,System.UInt32)">
<summary>Initializes a block of memory at the given location with a given initial value
<summary>Initializes a block of memory at the given location with a given initial value
without assuming architecture dependent alignment of the address.</summary>
<param name="startAddress">The address of the start of the memory block to initialize.</param>
<param name="value">The value to initialize the block to.</param>
<param name="byteCount">The number of bytes to initialize.</param>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.InitBlockUnaligned(System.Void*,System.Byte,System.UInt32)">
<summary>Initializes a block of memory at the given location with a given initial value
<summary>Initializes a block of memory at the given location with a given initial value
without assuming architecture dependent alignment of the address.</summary>
<param name="startAddress">The address of the start of the memory block to initialize.</param>
<param name="value">The value to initialize the block to.</param>
<param name="byteCount">The number of bytes to initialize.</param>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.IsAddressGreaterThan``1(``0@,``0@)">
<summary>Returns a value that indicates whether a specified reference is greater than another specified reference.</summary>
<param name="left">The first value to compare.</param>
<param name="right">The second value to compare.</param>
<typeparam name="T">The type of the reference.</typeparam>
<returns>
<see langword="true" /> if <paramref name="left" /> is greater than <paramref name="right" />; otherwise, <see langword="false" />.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.IsAddressLessThan``1(``0@,``0@)">
<summary>Returns a value that indicates whether a specified reference is less than another specified reference.</summary>
<param name="left">The first value to compare.</param>
<param name="right">The second value to compare.</param>
<typeparam name="T">The type of the reference.</typeparam>
<returns>
<see langword="true" /> if <paramref name="left" /> is less than <paramref name="right" />; otherwise, <see langword="false" />.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.Read``1(System.Void*)">
<summary>Reads a value of type <typeparamref name="T">T</typeparamref> from the given location.</summary>
<summary>Reads a value of type <typeparamref name="T" /> from the given location.</summary>
<param name="source">The location to read from.</param>
<typeparam name="T">The type to read.</typeparam>
<returns>An object of type <typeparamref name="T">T</typeparamref> read from the given location.</returns>
<returns>An object of type <typeparamref name="T" /> read from the given location.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.ReadUnaligned``1(System.Byte@)">
<summary>Reads a value of type <typeparamref name="T">T</typeparamref> from the given location
<summary>Reads a value of type <typeparamref name="T" /> from the given location
without assuming architecture dependent alignment of the addresses.</summary>
<param name="source">The location to read from.</param>
<typeparam name="T">The type to read.</typeparam>
<returns>An object of type <typeparamref name="T">T</typeparamref> read from the given location.</returns>
<returns>An object of type <typeparamref name="T" /> read from the given location.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.ReadUnaligned``1(System.Void*)">
<summary>Reads a value of type <typeparamref name="T">T</typeparamref> from the given location
<summary>Reads a value of type <typeparamref name="T" /> from the given location
without assuming architecture dependent alignment of the addresses.</summary>
<param name="source">The location to read from.</param>
<typeparam name="T">The type to read.</typeparam>
<returns>An object of type <typeparamref name="T">T</typeparamref> read from the given location.</returns>
<returns>An object of type <typeparamref name="T" /> read from the given location.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.SizeOf``1">
<summary>Returns the size of an object of the given type parameter.</summary>
<typeparam name="T">The type of object whose size is retrieved.</typeparam>
<returns>The size of an object of type <typeparamref name="T">T</typeparamref>.</returns>
<returns>The size of an object of type <typeparamref name="T" />.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.Subtract``1(``0@,System.Int32)">
<summary>Subtracts an element offset from the given reference.</summary>
<param name="source">The reference to subtract the offset from.</param>
<param name="elementOffset">The offset to subtract.</param>
<typeparam name="T">The type of reference.</typeparam>
<returns>A new reference that reflects the subraction of offset from pointer.</returns>
<returns>A new reference that reflects the subtraction of offset from pointer.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.Subtract``1(``0@,System.IntPtr)">
<summary>Subtracts an element offset from the given reference.</summary>
<param name="source">The reference to subtract the offset from.</param>
<param name="elementOffset">The offset to subtract.</param>
<typeparam name="T">The type of reference.</typeparam>
<returns>A new reference that reflects the subraction of offset from pointer.</returns>
<returns>A new reference that reflects the subtraction of offset from pointer.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.Subtract``1(System.Void*,System.Int32)">
<summary>Subtracts an element offset from the given void pointer.</summary>
<param name="source">The void pointer to subtract the offset from.</param>
<param name="elementOffset">The offset to subtract.</param>
<typeparam name="T">The type of the void pointer.</typeparam>
<returns>A new void pointer that reflects the subtraction of offset from the specified pointer.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.SubtractByteOffset``1(``0@,System.IntPtr)">
<summary>Subtracts a byte offset from the given reference.</summary>
<param name="source">The reference to subtract the offset from.</param>
<param name="byteOffset"></param>
<param name="byteOffset">The offset to subtract.</param>
<typeparam name="T">The type of reference.</typeparam>
<returns>A new reference that reflects the subraction of byte offset from pointer.</returns>
<returns>A new reference that reflects the subtraction of byte offset from pointer.</returns>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.Unbox``1(System.Object)">
<summary>Returns a <see langword="mutable ref" /> to a boxed value.</summary>
<param name="box">The value to unbox.</param>
<typeparam name="T">The type to be unboxed.</typeparam>
<returns>A <see langword="mutable ref" /> to the boxed value <paramref name="box" />.</returns>
<exception cref="T:System.NullReferenceException">
<paramref name="box" /> is <see langword="null" />, and <typeparamref name="T" /> is a non-nullable value type.</exception>
<exception cref="T:System.InvalidCastException">
<paramref name="box" /> is not a boxed value type.
-or-
<paramref name="box" /> is not a boxed <typeparamref name="T" />.</exception>
<exception cref="T:System.TypeLoadException">
<typeparamref name="T" /> cannot be found.</exception>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.Write``1(System.Void*,``0)">
<summary>Writes a value of type <typeparamref name="T">T</typeparamref> to the given location.</summary>
<summary>Writes a value of type <typeparamref name="T" /> to the given location.</summary>
<param name="destination">The location to write to.</param>
<param name="value">The value to write.</param>
<typeparam name="T">The type of value to write.</typeparam>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.WriteUnaligned``1(System.Byte@,``0)">
<summary>Writes a value of type <typeparamref name="T">T</typeparamref> to the given location
<summary>Writes a value of type <typeparamref name="T" /> to the given location
without assuming architecture dependent alignment of the addresses.</summary>
<param name="destination">The location to write to.</param>
<param name="value">The value to write.</param>
<typeparam name="T">The type of value to write.</typeparam>
</member>
<member name="M:System.Runtime.CompilerServices.Unsafe.WriteUnaligned``1(System.Void*,``0)">
<summary>Writes a value of type <typeparamref name="T">T</typeparamref> to the given location
<summary>Writes a value of type <typeparamref name="T" /> to the given location
without assuming architecture dependent alignment of the addresses.</summary>
<param name="destination">The location to write to.</param>
<param name="value">The value to write.</param>

@ -1,46 +1,45 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="XGL.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
<section name="ITE.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
<section name="XGL.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
<section name="ITE.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</sectionGroup>
</configSections>
<appSettings>
<!--车间编码-->
<add key="SiteCode" value="1000"/>
<add key="SiteCode" value="1000" />
<!--设备编码-->
<add key="DeviceCode" value="C1"/>
<add key="DeviceCode" value="C1" />
<!--上位机类型 0:工单准备1成型机\shoupei2烘房-->
<add key="ClientMode" value="2"/>
<add key="ClientMode" value="0" />
<!--上位机类型 1 上件 2 排空区 0下件区-->
<add key="PostType" value="1"/>
<add key="PostType" value="1" />
<!--线体编码-->
<add key="LineCode" value="101"/>
<add key="plcIp" value="127.0.0.1"/>
<add key="plcIp2" value="127.0.0.1"/>
<add key="plcport" value="60001"/>
<add key="LineCode" value="101" />
<add key="plcIp" value="127.0.0.1" />
<add key="plcIp2" value="127.0.0.1" />
<add key="plcport" value="60001" />
<add key="LineId" value="1"/>
<add key="LineId" value="1" />
<!--看板刷新时间 单位秒-->
<add key="BoardRefresh" value="6000"/>
<add key="BoardRefresh" value="6000" />
<!--下件界面刷新时间 单位秒-->
<add key="TakeOffRefresh" value="10"/>
<add key="TakeOffRefresh" value="10" />
<!--排空区刷新时间 单位秒-->
<add key="EmptyRefresh" value="10"/>
<add key="EmptyRefresh" value="10" />
<!--获取设备状态间隔时间 单位秒-->
<add key="GetDeviceStateInterval" value="60"/>
<add key="thriftIp" value="192.168.3.150"/>
<add key="GetDeviceStateInterval" value="60" />
<add key="thriftIp" value="192.168.3.150" />
<!--上件点发车thrift端口 7911 ,7912-->
<add key="thriftPort" value="7921"/>
<add key="thriftPort" value="7921" />
<!--出库点thrift端口-->
<add key="thriftBoxPort" value="7915"/>
<add key="thriftBoxPort" value="7915" />
<!--FormBoardthrift端口-->
<add key="FormBoardThriftPort" value="7931"/>
<add key="FormBoardThriftPort" value="7931" />
</appSettings>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
</startup>
<applicationSettings>
<XGL.Properties.Settings>
@ -66,18 +65,39 @@
<system.web>
<membership defaultProvider="ClientAuthenticationMembershipProvider">
<providers>
<add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri=""/>
<add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
</providers>
</membership>
<roleManager defaultProvider="ClientRoleProvider" enabled="true">
<providers>
<add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400"/>
<add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
</providers>
</roleManager>
</system.web>
<system.data>
<DbProviderFactories>
<remove invariant="MySql.Data.MySqlClient"/>
<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.8.8.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d"/>
<remove invariant="MySql.Data.MySqlClient" />
<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.8.8.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
</DbProviderFactories>
</system.data></configuration>
</system.data>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.6.0" newVersion="4.0.6.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Numerics.Vectors" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.1.4.0" newVersion="4.1.4.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="ICSharpCode.SharpZipLib" publicKeyToken="1b03e6acf1164f73" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.3.3.11" newVersion="1.3.3.11" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

@ -17,6 +17,7 @@ using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Forms.Integration;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;

@ -17,6 +17,7 @@ using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Forms.Integration;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;

@ -17,6 +17,7 @@ using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Forms.Integration;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;

@ -17,6 +17,7 @@ using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Forms.Integration;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;

@ -17,6 +17,7 @@ using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Forms.Integration;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;

@ -17,6 +17,7 @@ using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Forms.Integration;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;

@ -17,6 +17,7 @@ using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Forms.Integration;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;

@ -17,6 +17,7 @@ using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Forms.Integration;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;

@ -17,6 +17,7 @@ using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Forms.Integration;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;

@ -17,6 +17,7 @@ using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Forms.Integration;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;

@ -17,6 +17,7 @@ using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Forms.Integration;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;

@ -17,6 +17,7 @@ using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Forms.Integration;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;

@ -17,6 +17,7 @@ using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Forms.Integration;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;

@ -17,6 +17,7 @@ using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Forms.Integration;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;

@ -1,4 +1,4 @@
#pragma checksum "..\..\..\..\FormItem\Main.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "E4CBD1EA41A4CAA96D3E098595CA343ABDF87B08BE66F876185C1F36205FC9B9"
#pragma checksum "..\..\..\..\FormItem\Main.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "832B0933F9C91C190825FC376F3177C85C0F3074DBC62B719E66E660B2252330"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
@ -17,6 +17,7 @@ using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Forms.Integration;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;
@ -42,7 +43,7 @@ namespace XGL.FormItem {
public partial class Main : System.Windows.Window, System.Windows.Markup.IComponentConnector {
#line 207 "..\..\..\..\FormItem\Main.xaml"
#line 238 "..\..\..\..\FormItem\Main.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel UpperStart1;
@ -50,7 +51,7 @@ namespace XGL.FormItem {
#line hidden
#line 241 "..\..\..\..\FormItem\Main.xaml"
#line 272 "..\..\..\..\FormItem\Main.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock tbFactory;
@ -58,7 +59,7 @@ namespace XGL.FormItem {
#line hidden
#line 262 "..\..\..\..\FormItem\Main.xaml"
#line 293 "..\..\..\..\FormItem\Main.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock tbLineCode;
@ -66,7 +67,7 @@ namespace XGL.FormItem {
#line hidden
#line 327 "..\..\..\..\FormItem\Main.xaml"
#line 358 "..\..\..\..\FormItem\Main.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock tbDevice;
@ -74,7 +75,15 @@ namespace XGL.FormItem {
#line hidden
#line 349 "..\..\..\..\FormItem\Main.xaml"
#line 382 "..\..\..\..\FormItem\Main.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Label LbDeviceState;
#line default
#line hidden
#line 412 "..\..\..\..\FormItem\Main.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock tbOperator;
@ -82,7 +91,7 @@ namespace XGL.FormItem {
#line hidden
#line 360 "..\..\..\..\FormItem\Main.xaml"
#line 423 "..\..\..\..\FormItem\Main.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Grid UpperStart2;
@ -90,7 +99,7 @@ namespace XGL.FormItem {
#line hidden
#line 367 "..\..\..\..\FormItem\Main.xaml"
#line 430 "..\..\..\..\FormItem\Main.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.ContentControl Index;
@ -98,7 +107,7 @@ namespace XGL.FormItem {
#line hidden
#line 396 "..\..\..\..\FormItem\Main.xaml"
#line 459 "..\..\..\..\FormItem\Main.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Label LabDate;
@ -106,7 +115,7 @@ namespace XGL.FormItem {
#line hidden
#line 407 "..\..\..\..\FormItem\Main.xaml"
#line 470 "..\..\..\..\FormItem\Main.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Label LabTime;
@ -114,7 +123,7 @@ namespace XGL.FormItem {
#line hidden
#line 457 "..\..\..\..\FormItem\Main.xaml"
#line 520 "..\..\..\..\FormItem\Main.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel DownStart;
@ -122,7 +131,7 @@ namespace XGL.FormItem {
#line hidden
#line 479 "..\..\..\..\FormItem\Main.xaml"
#line 542 "..\..\..\..\FormItem\Main.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock myTb;
@ -130,7 +139,7 @@ namespace XGL.FormItem {
#line hidden
#line 482 "..\..\..\..\FormItem\Main.xaml"
#line 545 "..\..\..\..\FormItem\Main.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Documents.Run btnText;
@ -138,7 +147,7 @@ namespace XGL.FormItem {
#line hidden
#line 486 "..\..\..\..\FormItem\Main.xaml"
#line 549 "..\..\..\..\FormItem\Main.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnZXH;
@ -146,7 +155,7 @@ namespace XGL.FormItem {
#line hidden
#line 490 "..\..\..\..\FormItem\Main.xaml"
#line 553 "..\..\..\..\FormItem\Main.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnFault;
@ -210,42 +219,45 @@ namespace XGL.FormItem {
this.tbDevice = ((System.Windows.Controls.TextBlock)(target));
return;
case 6:
this.tbOperator = ((System.Windows.Controls.TextBlock)(target));
this.LbDeviceState = ((System.Windows.Controls.Label)(target));
return;
case 7:
this.UpperStart2 = ((System.Windows.Controls.Grid)(target));
this.tbOperator = ((System.Windows.Controls.TextBlock)(target));
return;
case 8:
this.Index = ((System.Windows.Controls.ContentControl)(target));
this.UpperStart2 = ((System.Windows.Controls.Grid)(target));
return;
case 9:
this.LabDate = ((System.Windows.Controls.Label)(target));
this.Index = ((System.Windows.Controls.ContentControl)(target));
return;
case 10:
this.LabTime = ((System.Windows.Controls.Label)(target));
this.LabDate = ((System.Windows.Controls.Label)(target));
return;
case 11:
this.DownStart = ((System.Windows.Controls.StackPanel)(target));
this.LabTime = ((System.Windows.Controls.Label)(target));
return;
case 12:
this.myTb = ((System.Windows.Controls.TextBlock)(target));
this.DownStart = ((System.Windows.Controls.StackPanel)(target));
return;
case 13:
this.btnText = ((System.Windows.Documents.Run)(target));
this.myTb = ((System.Windows.Controls.TextBlock)(target));
return;
case 14:
this.btnText = ((System.Windows.Documents.Run)(target));
return;
case 15:
this.btnZXH = ((System.Windows.Controls.Button)(target));
#line 486 "..\..\..\..\FormItem\Main.xaml"
#line 549 "..\..\..\..\FormItem\Main.xaml"
this.btnZXH.Click += new System.Windows.RoutedEventHandler(this.btnZXH_Click);
#line default
#line hidden
return;
case 15:
case 16:
this.btnFault = ((System.Windows.Controls.Button)(target));
#line 495 "..\..\..\..\FormItem\Main.xaml"
#line 558 "..\..\..\..\FormItem\Main.xaml"
this.btnFault.Click += new System.Windows.RoutedEventHandler(this.btnExit_Click);
#line default

@ -1,4 +1,4 @@
#pragma checksum "..\..\..\..\FormItem\Main.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "E4CBD1EA41A4CAA96D3E098595CA343ABDF87B08BE66F876185C1F36205FC9B9"
#pragma checksum "..\..\..\..\FormItem\Main.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "832B0933F9C91C190825FC376F3177C85C0F3074DBC62B719E66E660B2252330"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
@ -17,6 +17,7 @@ using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Forms.Integration;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;
@ -42,7 +43,7 @@ namespace XGL.FormItem {
public partial class Main : System.Windows.Window, System.Windows.Markup.IComponentConnector {
#line 207 "..\..\..\..\FormItem\Main.xaml"
#line 238 "..\..\..\..\FormItem\Main.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel UpperStart1;
@ -50,7 +51,7 @@ namespace XGL.FormItem {
#line hidden
#line 241 "..\..\..\..\FormItem\Main.xaml"
#line 272 "..\..\..\..\FormItem\Main.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock tbFactory;
@ -58,7 +59,7 @@ namespace XGL.FormItem {
#line hidden
#line 262 "..\..\..\..\FormItem\Main.xaml"
#line 293 "..\..\..\..\FormItem\Main.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock tbLineCode;
@ -66,7 +67,7 @@ namespace XGL.FormItem {
#line hidden
#line 327 "..\..\..\..\FormItem\Main.xaml"
#line 358 "..\..\..\..\FormItem\Main.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock tbDevice;
@ -74,7 +75,15 @@ namespace XGL.FormItem {
#line hidden
#line 349 "..\..\..\..\FormItem\Main.xaml"
#line 382 "..\..\..\..\FormItem\Main.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Label LbDeviceState;
#line default
#line hidden
#line 412 "..\..\..\..\FormItem\Main.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock tbOperator;
@ -82,7 +91,7 @@ namespace XGL.FormItem {
#line hidden
#line 360 "..\..\..\..\FormItem\Main.xaml"
#line 423 "..\..\..\..\FormItem\Main.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Grid UpperStart2;
@ -90,7 +99,7 @@ namespace XGL.FormItem {
#line hidden
#line 367 "..\..\..\..\FormItem\Main.xaml"
#line 430 "..\..\..\..\FormItem\Main.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.ContentControl Index;
@ -98,7 +107,7 @@ namespace XGL.FormItem {
#line hidden
#line 396 "..\..\..\..\FormItem\Main.xaml"
#line 459 "..\..\..\..\FormItem\Main.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Label LabDate;
@ -106,7 +115,7 @@ namespace XGL.FormItem {
#line hidden
#line 407 "..\..\..\..\FormItem\Main.xaml"
#line 470 "..\..\..\..\FormItem\Main.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Label LabTime;
@ -114,7 +123,7 @@ namespace XGL.FormItem {
#line hidden
#line 457 "..\..\..\..\FormItem\Main.xaml"
#line 520 "..\..\..\..\FormItem\Main.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel DownStart;
@ -122,7 +131,7 @@ namespace XGL.FormItem {
#line hidden
#line 479 "..\..\..\..\FormItem\Main.xaml"
#line 542 "..\..\..\..\FormItem\Main.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock myTb;
@ -130,7 +139,7 @@ namespace XGL.FormItem {
#line hidden
#line 482 "..\..\..\..\FormItem\Main.xaml"
#line 545 "..\..\..\..\FormItem\Main.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Documents.Run btnText;
@ -138,7 +147,7 @@ namespace XGL.FormItem {
#line hidden
#line 486 "..\..\..\..\FormItem\Main.xaml"
#line 549 "..\..\..\..\FormItem\Main.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnZXH;
@ -146,7 +155,7 @@ namespace XGL.FormItem {
#line hidden
#line 490 "..\..\..\..\FormItem\Main.xaml"
#line 553 "..\..\..\..\FormItem\Main.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnFault;
@ -210,42 +219,45 @@ namespace XGL.FormItem {
this.tbDevice = ((System.Windows.Controls.TextBlock)(target));
return;
case 6:
this.tbOperator = ((System.Windows.Controls.TextBlock)(target));
this.LbDeviceState = ((System.Windows.Controls.Label)(target));
return;
case 7:
this.UpperStart2 = ((System.Windows.Controls.Grid)(target));
this.tbOperator = ((System.Windows.Controls.TextBlock)(target));
return;
case 8:
this.Index = ((System.Windows.Controls.ContentControl)(target));
this.UpperStart2 = ((System.Windows.Controls.Grid)(target));
return;
case 9:
this.LabDate = ((System.Windows.Controls.Label)(target));
this.Index = ((System.Windows.Controls.ContentControl)(target));
return;
case 10:
this.LabTime = ((System.Windows.Controls.Label)(target));
this.LabDate = ((System.Windows.Controls.Label)(target));
return;
case 11:
this.DownStart = ((System.Windows.Controls.StackPanel)(target));
this.LabTime = ((System.Windows.Controls.Label)(target));
return;
case 12:
this.myTb = ((System.Windows.Controls.TextBlock)(target));
this.DownStart = ((System.Windows.Controls.StackPanel)(target));
return;
case 13:
this.btnText = ((System.Windows.Documents.Run)(target));
this.myTb = ((System.Windows.Controls.TextBlock)(target));
return;
case 14:
this.btnText = ((System.Windows.Documents.Run)(target));
return;
case 15:
this.btnZXH = ((System.Windows.Controls.Button)(target));
#line 486 "..\..\..\..\FormItem\Main.xaml"
#line 549 "..\..\..\..\FormItem\Main.xaml"
this.btnZXH.Click += new System.Windows.RoutedEventHandler(this.btnZXH_Click);
#line default
#line hidden
return;
case 15:
case 16:
this.btnFault = ((System.Windows.Controls.Button)(target));
#line 495 "..\..\..\..\FormItem\Main.xaml"
#line 558 "..\..\..\..\FormItem\Main.xaml"
this.btnFault.Click += new System.Windows.RoutedEventHandler(this.btnExit_Click);
#line default

@ -1,2 +1,62 @@

//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace XamlGeneratedNamespace {
/// <summary>
/// GeneratedInternalTypeHelper
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public sealed class GeneratedInternalTypeHelper : System.Windows.Markup.InternalTypeHelper {
/// <summary>
/// CreateInstance
/// </summary>
protected override object CreateInstance(System.Type type, System.Globalization.CultureInfo culture) {
return System.Activator.CreateInstance(type, ((System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic)
| (System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.CreateInstance)), null, null, culture);
}
/// <summary>
/// GetPropertyValue
/// </summary>
protected override object GetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, System.Globalization.CultureInfo culture) {
return propertyInfo.GetValue(target, System.Reflection.BindingFlags.Default, null, null, culture);
}
/// <summary>
/// SetPropertyValue
/// </summary>
protected override void SetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, object value, System.Globalization.CultureInfo culture) {
propertyInfo.SetValue(target, value, System.Reflection.BindingFlags.Default, null, null, culture);
}
/// <summary>
/// CreateDelegate
/// </summary>
protected override System.Delegate CreateDelegate(System.Type delegateType, object target, string handler) {
return ((System.Delegate)(target.GetType().InvokeMember("_CreateDelegate", (System.Reflection.BindingFlags.InvokeMethod
| (System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance)), null, target, new object[] {
delegateType,
handler}, null)));
}
/// <summary>
/// AddEventHandler
/// </summary>
protected override void AddEventHandler(System.Reflection.EventInfo eventInfo, object target, System.Delegate handler) {
eventInfo.AddEventHandler(target, handler);
}
}
}

@ -21,6 +21,7 @@ using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Forms.Integration;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;

@ -21,6 +21,7 @@ using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Forms.Integration;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;

@ -17,6 +17,7 @@ using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Forms.Integration;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;

@ -17,6 +17,7 @@ using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Forms.Integration;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save