|
|
|
|
#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "CEC8155E9CDD94D48DB05B7846E165FA20893D537FD23F43CB35589BC58004F7"
|
|
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
// <auto-generated>
|
|
|
|
|
// 此代码由工具生成。
|
|
|
|
|
// 运行时版本:4.0.30319.42000
|
|
|
|
|
//
|
|
|
|
|
// 对此文件的更改可能会导致不正确的行为,并且如果
|
|
|
|
|
// 重新生成代码,这些更改将会丢失。
|
|
|
|
|
// </auto-generated>
|
|
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
using Aucma.Scada.UI;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Diagnostics;
|
|
|
|
|
using System.Windows;
|
|
|
|
|
using System.Windows.Automation;
|
|
|
|
|
using System.Windows.Controls;
|
|
|
|
|
using System.Windows.Controls.Primitives;
|
|
|
|
|
using System.Windows.Data;
|
|
|
|
|
using System.Windows.Documents;
|
|
|
|
|
using System.Windows.Ink;
|
|
|
|
|
using System.Windows.Input;
|
|
|
|
|
using System.Windows.Markup;
|
|
|
|
|
using System.Windows.Media;
|
|
|
|
|
using System.Windows.Media.Animation;
|
|
|
|
|
using System.Windows.Media.Effects;
|
|
|
|
|
using System.Windows.Media.Imaging;
|
|
|
|
|
using System.Windows.Media.Media3D;
|
|
|
|
|
using System.Windows.Media.TextFormatting;
|
|
|
|
|
using System.Windows.Navigation;
|
|
|
|
|
using System.Windows.Shapes;
|
|
|
|
|
using System.Windows.Shell;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace Aucma.Scada.UI {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// MainWindow
|
|
|
|
|
/// </summary>
|
|
|
|
|
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 8 "..\..\MainWindow.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal Aucma.Scada.UI.MainWindow window;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 83 "..\..\MainWindow.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal System.Windows.Controls.Button instoreInfo;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 84 "..\..\MainWindow.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal System.Windows.Controls.Button outstoreInfo;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 85 "..\..\MainWindow.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal System.Windows.Controls.Button taskInfo;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 86 "..\..\MainWindow.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal System.Windows.Controls.Button inventoryInfo;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 87 "..\..\MainWindow.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal System.Windows.Controls.Button assemblyPlan;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 91 "..\..\MainWindow.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal System.Windows.Controls.Button Minimized;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 92 "..\..\MainWindow.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal System.Windows.Controls.Button Exit;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 98 "..\..\MainWindow.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal System.Windows.Media.ImageBrush MesDbStatus;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 101 "..\..\MainWindow.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal System.Windows.Controls.TextBlock MesDbStateTxt;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 104 "..\..\MainWindow.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal System.Windows.Media.ImageBrush PlcStatus;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 107 "..\..\MainWindow.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal System.Windows.Controls.TextBlock PLCState;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 111 "..\..\MainWindow.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal System.Windows.Media.ImageBrush Scanner1Status;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 114 "..\..\MainWindow.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal System.Windows.Controls.TextBlock Scanner1;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 117 "..\..\MainWindow.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal System.Windows.Media.ImageBrush Scanner2Status;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#line 120 "..\..\MainWindow.xaml"
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
|
|
internal System.Windows.Controls.TextBlock Scanner2;
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
|
private bool _contentLoaded;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// InitializeComponent
|
|
|
|
|
/// </summary>
|
|
|
|
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
|
|
|
|
public void InitializeComponent() {
|
|
|
|
|
if (_contentLoaded) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
_contentLoaded = true;
|
|
|
|
|
System.Uri resourceLocater = new System.Uri("/Aucma.Scada.UI;component/mainwindow.xaml", System.UriKind.Relative);
|
|
|
|
|
|
|
|
|
|
#line 1 "..\..\MainWindow.xaml"
|
|
|
|
|
System.Windows.Application.LoadComponent(this, resourceLocater);
|
|
|
|
|
|
|
|
|
|
#line default
|
|
|
|
|
#line hidden
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
|
|
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
|
|
|
|
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
|
|
|
|
switch (connectionId)
|
|
|
|
|
{
|
|
|
|
|
case 1:
|
|
|
|
|
this.window = ((Aucma.Scada.UI.MainWindow)(target));
|
|
|
|
|
return;
|
|
|
|
|
case 2:
|
|
|
|
|
this.instoreInfo = ((System.Windows.Controls.Button)(target));
|
|
|
|
|
return;
|
|
|
|
|
case 3:
|
|
|
|
|
this.outstoreInfo = ((System.Windows.Controls.Button)(target));
|
|
|
|
|
return;
|
|
|
|
|
case 4:
|
|
|
|
|
this.taskInfo = ((System.Windows.Controls.Button)(target));
|
|
|
|
|
return;
|
|
|
|
|
case 5:
|
|
|
|
|
this.inventoryInfo = ((System.Windows.Controls.Button)(target));
|
|
|
|
|
return;
|
|
|
|
|
case 6:
|
|
|
|
|
this.assemblyPlan = ((System.Windows.Controls.Button)(target));
|
|
|
|
|
return;
|
|
|
|
|
case 7:
|
|
|
|
|
this.Minimized = ((System.Windows.Controls.Button)(target));
|
|
|
|
|
return;
|
|
|
|
|
case 8:
|
|
|
|
|
this.Exit = ((System.Windows.Controls.Button)(target));
|
|
|
|
|
return;
|
|
|
|
|
case 9:
|
|
|
|
|
this.MesDbStatus = ((System.Windows.Media.ImageBrush)(target));
|
|
|
|
|
return;
|
|
|
|
|
case 10:
|
|
|
|
|
this.MesDbStateTxt = ((System.Windows.Controls.TextBlock)(target));
|
|
|
|
|
return;
|
|
|
|
|
case 11:
|
|
|
|
|
this.PlcStatus = ((System.Windows.Media.ImageBrush)(target));
|
|
|
|
|
return;
|
|
|
|
|
case 12:
|
|
|
|
|
this.PLCState = ((System.Windows.Controls.TextBlock)(target));
|
|
|
|
|
return;
|
|
|
|
|
case 13:
|
|
|
|
|
this.Scanner1Status = ((System.Windows.Media.ImageBrush)(target));
|
|
|
|
|
return;
|
|
|
|
|
case 14:
|
|
|
|
|
this.Scanner1 = ((System.Windows.Controls.TextBlock)(target));
|
|
|
|
|
return;
|
|
|
|
|
case 15:
|
|
|
|
|
this.Scanner2Status = ((System.Windows.Media.ImageBrush)(target));
|
|
|
|
|
return;
|
|
|
|
|
case 16:
|
|
|
|
|
this.Scanner2 = ((System.Windows.Controls.TextBlock)(target));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
this._contentLoaded = true;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|