267 lines
10 KiB
C#
267 lines
10 KiB
C#
#pragma checksum "..\..\..\Pages\RealtimePage.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "5EED3EEEA729DC8EA1B9280A5B02D0300579DE890C7796C5C8C4CF0D736781DD"
|
|
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// 此代码由工具生成。
|
|
// 运行时版本:4.0.30319.42000
|
|
//
|
|
// 对此文件的更改可能会导致不正确的行为,并且如果
|
|
// 重新生成代码,这些更改将会丢失。
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
using OxyPlot.Wpf;
|
|
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 YKC {
|
|
|
|
|
|
/// <summary>
|
|
/// RealtimePage
|
|
/// </summary>
|
|
public partial class RealtimePage : System.Windows.Controls.Page, System.Windows.Markup.IComponentConnector {
|
|
|
|
|
|
#line 18 "..\..\..\Pages\RealtimePage.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.ComboBox cmbPile;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 26 "..\..\..\Pages\RealtimePage.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.ComboBox cmbGun;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 39 "..\..\..\Pages\RealtimePage.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock txtCurrent;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 47 "..\..\..\Pages\RealtimePage.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock txtVoltage;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 55 "..\..\..\Pages\RealtimePage.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock txtPower;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 63 "..\..\..\Pages\RealtimePage.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock txtEnergy;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 71 "..\..\..\Pages\RealtimePage.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock txtTotalAmount;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 79 "..\..\..\Pages\RealtimePage.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock txtStatus;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 91 "..\..\..\Pages\RealtimePage.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock txtOrderNo;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 100 "..\..\..\Pages\RealtimePage.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock txtSoc;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 108 "..\..\..\Pages\RealtimePage.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock txtCumTime;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 117 "..\..\..\Pages\RealtimePage.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock txtRemTime;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 140 "..\..\..\Pages\RealtimePage.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal OxyPlot.Wpf.PlotView plotCurrent;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 148 "..\..\..\Pages\RealtimePage.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal OxyPlot.Wpf.PlotView plotVoltage;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 156 "..\..\..\Pages\RealtimePage.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal OxyPlot.Wpf.PlotView plotPower;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 164 "..\..\..\Pages\RealtimePage.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal OxyPlot.Wpf.PlotView plotAmount;
|
|
|
|
#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("/YKC;component/pages/realtimepage.xaml", System.UriKind.Relative);
|
|
|
|
#line 1 "..\..\..\Pages\RealtimePage.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.cmbPile = ((System.Windows.Controls.ComboBox)(target));
|
|
|
|
#line 19 "..\..\..\Pages\RealtimePage.xaml"
|
|
this.cmbPile.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.PileGun_Changed);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 2:
|
|
this.cmbGun = ((System.Windows.Controls.ComboBox)(target));
|
|
|
|
#line 27 "..\..\..\Pages\RealtimePage.xaml"
|
|
this.cmbGun.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.PileGun_Changed);
|
|
|
|
#line default
|
|
#line hidden
|
|
return;
|
|
case 3:
|
|
this.txtCurrent = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
case 4:
|
|
this.txtVoltage = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
case 5:
|
|
this.txtPower = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
case 6:
|
|
this.txtEnergy = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
case 7:
|
|
this.txtTotalAmount = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
case 8:
|
|
this.txtStatus = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
case 9:
|
|
this.txtOrderNo = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
case 10:
|
|
this.txtSoc = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
case 11:
|
|
this.txtCumTime = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
case 12:
|
|
this.txtRemTime = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
case 13:
|
|
this.plotCurrent = ((OxyPlot.Wpf.PlotView)(target));
|
|
return;
|
|
case 14:
|
|
this.plotVoltage = ((OxyPlot.Wpf.PlotView)(target));
|
|
return;
|
|
case 15:
|
|
this.plotPower = ((OxyPlot.Wpf.PlotView)(target));
|
|
return;
|
|
case 16:
|
|
this.plotAmount = ((OxyPlot.Wpf.PlotView)(target));
|
|
return;
|
|
}
|
|
this._contentLoaded = true;
|
|
}
|
|
}
|
|
}
|
|
|