310 lines
12 KiB
C#
310 lines
12 KiB
C#
|
|
#pragma checksum "..\..\..\..\DataQuery\Views\Curve.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "E7B91349E32F3C9FDF8058EEEFA9CDAD0B06EFEE4ACC36ED0667E799735E7E5E"
|
|||
|
|
//------------------------------------------------------------------------------
|
|||
|
|
// <auto-generated>
|
|||
|
|
// 此代码由工具生成。
|
|||
|
|
// 运行时版本:4.0.30319.42000
|
|||
|
|
//
|
|||
|
|
// 对此文件的更改可能会导致不正确的行为,并且如果
|
|||
|
|
// 重新生成代码,这些更改将会丢失。
|
|||
|
|
// </auto-generated>
|
|||
|
|
//------------------------------------------------------------------------------
|
|||
|
|
|
|||
|
|
using AvalonDock.Themes;
|
|||
|
|
using Cowain.Bake.BLL.Converter;
|
|||
|
|
using HandyControl.Controls;
|
|||
|
|
using HandyControl.Data;
|
|||
|
|
using HandyControl.Expression.Media;
|
|||
|
|
using HandyControl.Expression.Shapes;
|
|||
|
|
using HandyControl.Interactivity;
|
|||
|
|
using HandyControl.Media.Animation;
|
|||
|
|
using HandyControl.Media.Effects;
|
|||
|
|
using HandyControl.Properties.Langs;
|
|||
|
|
using HandyControl.Themes;
|
|||
|
|
using HandyControl.Tools;
|
|||
|
|
using HandyControl.Tools.Converter;
|
|||
|
|
using HandyControl.Tools.Extension;
|
|||
|
|
using LiveCharts.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.Forms.DataVisualization.Charting;
|
|||
|
|
using System.Windows.Forms.Integration;
|
|||
|
|
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 Cowain.Bake.UI.DataQuery.Views {
|
|||
|
|
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Curve
|
|||
|
|
/// </summary>
|
|||
|
|
public partial class Curve : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector {
|
|||
|
|
|
|||
|
|
|
|||
|
|
#line 53 "..\..\..\..\DataQuery\Views\Curve.xaml"
|
|||
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|||
|
|
internal HandyControl.Controls.DateTimePicker dateTimePicker3;
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
|
|||
|
|
|
|||
|
|
#line 54 "..\..\..\..\DataQuery\Views\Curve.xaml"
|
|||
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|||
|
|
internal HandyControl.Controls.DateTimePicker dateTimePicker4;
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
|
|||
|
|
|
|||
|
|
#line 56 "..\..\..\..\DataQuery\Views\Curve.xaml"
|
|||
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|||
|
|
internal System.Windows.Controls.TextBox DataNameDetail;
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
|
|||
|
|
|
|||
|
|
#line 60 "..\..\..\..\DataQuery\Views\Curve.xaml"
|
|||
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|||
|
|
internal System.Windows.Controls.DataGrid dataGrid1;
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
|
|||
|
|
|
|||
|
|
#line 87 "..\..\..\..\DataQuery\Views\Curve.xaml"
|
|||
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|||
|
|
internal HandyControl.Controls.DateTimePicker dateTimePicker5;
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
|
|||
|
|
|
|||
|
|
#line 88 "..\..\..\..\DataQuery\Views\Curve.xaml"
|
|||
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|||
|
|
internal HandyControl.Controls.DateTimePicker dateTimePicker6;
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
|
|||
|
|
|
|||
|
|
#line 90 "..\..\..\..\DataQuery\Views\Curve.xaml"
|
|||
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|||
|
|
internal System.Windows.Controls.TextBox PidDataNameDetail;
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
|
|||
|
|
|
|||
|
|
#line 94 "..\..\..\..\DataQuery\Views\Curve.xaml"
|
|||
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|||
|
|
internal System.Windows.Controls.DataGrid dataGrid2;
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
|
|||
|
|
|
|||
|
|
#line 110 "..\..\..\..\DataQuery\Views\Curve.xaml"
|
|||
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|||
|
|
internal HandyControl.Controls.DateTimePicker energyStartDate;
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
|
|||
|
|
|
|||
|
|
#line 111 "..\..\..\..\DataQuery\Views\Curve.xaml"
|
|||
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|||
|
|
internal HandyControl.Controls.DateTimePicker energyEndDate;
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
|
|||
|
|
|
|||
|
|
#line 112 "..\..\..\..\DataQuery\Views\Curve.xaml"
|
|||
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|||
|
|
internal System.Windows.Controls.DataGrid energyGrid;
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
|
|||
|
|
|
|||
|
|
#line 126 "..\..\..\..\DataQuery\Views\Curve.xaml"
|
|||
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|||
|
|
internal System.Windows.Controls.Button EletricReport;
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
|
|||
|
|
|
|||
|
|
#line 127 "..\..\..\..\DataQuery\Views\Curve.xaml"
|
|||
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|||
|
|
internal System.Windows.Controls.Button EletricExportExcel;
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
|
|||
|
|
|
|||
|
|
#line 128 "..\..\..\..\DataQuery\Views\Curve.xaml"
|
|||
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|||
|
|
internal System.Windows.Controls.Button GenerateEletriceCurve;
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
|
|||
|
|
|
|||
|
|
#line 133 "..\..\..\..\DataQuery\Views\Curve.xaml"
|
|||
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|||
|
|
internal System.Windows.Forms.DataVisualization.Charting.Chart energyChart;
|
|||
|
|
|
|||
|
|
#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("/Cowain.Bake.UI;component/dataquery/views/curve.xaml", System.UriKind.Relative);
|
|||
|
|
|
|||
|
|
#line 1 "..\..\..\..\DataQuery\Views\Curve.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.dateTimePicker3 = ((HandyControl.Controls.DateTimePicker)(target));
|
|||
|
|
return;
|
|||
|
|
case 2:
|
|||
|
|
this.dateTimePicker4 = ((HandyControl.Controls.DateTimePicker)(target));
|
|||
|
|
return;
|
|||
|
|
case 3:
|
|||
|
|
this.DataNameDetail = ((System.Windows.Controls.TextBox)(target));
|
|||
|
|
return;
|
|||
|
|
case 4:
|
|||
|
|
|
|||
|
|
#line 57 "..\..\..\..\DataQuery\Views\Curve.xaml"
|
|||
|
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Report_Click);
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
return;
|
|||
|
|
case 5:
|
|||
|
|
|
|||
|
|
#line 58 "..\..\..\..\DataQuery\Views\Curve.xaml"
|
|||
|
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ExportExcel_Click);
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
return;
|
|||
|
|
case 6:
|
|||
|
|
this.dataGrid1 = ((System.Windows.Controls.DataGrid)(target));
|
|||
|
|
return;
|
|||
|
|
case 7:
|
|||
|
|
this.dateTimePicker5 = ((HandyControl.Controls.DateTimePicker)(target));
|
|||
|
|
return;
|
|||
|
|
case 8:
|
|||
|
|
this.dateTimePicker6 = ((HandyControl.Controls.DateTimePicker)(target));
|
|||
|
|
return;
|
|||
|
|
case 9:
|
|||
|
|
this.PidDataNameDetail = ((System.Windows.Controls.TextBox)(target));
|
|||
|
|
return;
|
|||
|
|
case 10:
|
|||
|
|
|
|||
|
|
#line 91 "..\..\..\..\DataQuery\Views\Curve.xaml"
|
|||
|
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.PidReport_Click);
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
return;
|
|||
|
|
case 11:
|
|||
|
|
|
|||
|
|
#line 92 "..\..\..\..\DataQuery\Views\Curve.xaml"
|
|||
|
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.PidExportExcel_Click);
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
return;
|
|||
|
|
case 12:
|
|||
|
|
this.dataGrid2 = ((System.Windows.Controls.DataGrid)(target));
|
|||
|
|
return;
|
|||
|
|
case 13:
|
|||
|
|
this.energyStartDate = ((HandyControl.Controls.DateTimePicker)(target));
|
|||
|
|
return;
|
|||
|
|
case 14:
|
|||
|
|
this.energyEndDate = ((HandyControl.Controls.DateTimePicker)(target));
|
|||
|
|
return;
|
|||
|
|
case 15:
|
|||
|
|
this.energyGrid = ((System.Windows.Controls.DataGrid)(target));
|
|||
|
|
return;
|
|||
|
|
case 16:
|
|||
|
|
this.EletricReport = ((System.Windows.Controls.Button)(target));
|
|||
|
|
|
|||
|
|
#line 126 "..\..\..\..\DataQuery\Views\Curve.xaml"
|
|||
|
|
this.EletricReport.Click += new System.Windows.RoutedEventHandler(this.EletricReport_Click);
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
return;
|
|||
|
|
case 17:
|
|||
|
|
this.EletricExportExcel = ((System.Windows.Controls.Button)(target));
|
|||
|
|
|
|||
|
|
#line 127 "..\..\..\..\DataQuery\Views\Curve.xaml"
|
|||
|
|
this.EletricExportExcel.Click += new System.Windows.RoutedEventHandler(this.EletricExportExcel_Click);
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
return;
|
|||
|
|
case 18:
|
|||
|
|
this.GenerateEletriceCurve = ((System.Windows.Controls.Button)(target));
|
|||
|
|
|
|||
|
|
#line 128 "..\..\..\..\DataQuery\Views\Curve.xaml"
|
|||
|
|
this.GenerateEletriceCurve.Click += new System.Windows.RoutedEventHandler(this.GenerateEletriceCurve_Click);
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
return;
|
|||
|
|
case 19:
|
|||
|
|
this.energyChart = ((System.Windows.Forms.DataVisualization.Charting.Chart)(target));
|
|||
|
|
return;
|
|||
|
|
}
|
|||
|
|
this._contentLoaded = true;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|