committed by
GitHub
28 changed files with 1375 additions and 3 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,199 @@ |
|||
#pragma checksum "..\..\..\AlarmSet.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "59BFA4F8D2CBCFAA5AAF46E345571EEF"
|
|||
//------------------------------------------------------------------------------
|
|||
// <auto-generated>
|
|||
// 此代码由工具生成。
|
|||
// 运行时版本:4.0.30319.42000
|
|||
//
|
|||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
|||
// 重新生成代码,这些更改将会丢失。
|
|||
// </auto-generated>
|
|||
//------------------------------------------------------------------------------
|
|||
|
|||
using CoreTest; |
|||
using Microsoft.Windows.Controls; |
|||
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.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 CoreTest { |
|||
|
|||
|
|||
/// <summary>
|
|||
/// AlarmSet
|
|||
/// </summary>
|
|||
public partial class AlarmSet : System.Windows.Window, System.Windows.Markup.IComponentConnector { |
|||
|
|||
|
|||
#line 20 "..\..\..\AlarmSet.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal System.Windows.Controls.TabControl tab1; |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
|
|||
|
|||
#line 22 "..\..\..\AlarmSet.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal System.Windows.Controls.DataGrid list0; |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
|
|||
|
|||
#line 45 "..\..\..\AlarmSet.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal System.Windows.Controls.ListView list2; |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
|
|||
|
|||
#line 65 "..\..\..\AlarmSet.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal System.Windows.Controls.ToolBar toolBar1; |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
|
|||
|
|||
#line 70 "..\..\..\AlarmSet.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal Microsoft.Windows.Controls.DateTimePicker dtstart; |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
|
|||
|
|||
#line 72 "..\..\..\AlarmSet.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal Microsoft.Windows.Controls.DateTimePicker dtend; |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
|
|||
|
|||
#line 75 "..\..\..\AlarmSet.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal Microsoft.Windows.Controls.ColorPicker colorpicker; |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
|
|||
|
|||
#line 77 "..\..\..\AlarmSet.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal System.Windows.Controls.ListView list1; |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
|
|||
|
|||
#line 94 "..\..\..\AlarmSet.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal System.Windows.Controls.ListBox list3; |
|||
|
|||
#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("/CoreTest;component/alarmset.xaml", System.UriKind.Relative); |
|||
|
|||
#line 1 "..\..\..\AlarmSet.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: |
|||
|
|||
#line 6 "..\..\..\AlarmSet.xaml"
|
|||
((CoreTest.AlarmSet)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
|
|||
#line 6 "..\..\..\AlarmSet.xaml"
|
|||
((CoreTest.AlarmSet)(target)).Closed += new System.EventHandler(this.Window_Closed); |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
return; |
|||
case 2: |
|||
this.tab1 = ((System.Windows.Controls.TabControl)(target)); |
|||
return; |
|||
case 3: |
|||
this.list0 = ((System.Windows.Controls.DataGrid)(target)); |
|||
return; |
|||
case 4: |
|||
this.list2 = ((System.Windows.Controls.ListView)(target)); |
|||
return; |
|||
case 5: |
|||
this.toolBar1 = ((System.Windows.Controls.ToolBar)(target)); |
|||
return; |
|||
case 6: |
|||
this.dtstart = ((Microsoft.Windows.Controls.DateTimePicker)(target)); |
|||
return; |
|||
case 7: |
|||
this.dtend = ((Microsoft.Windows.Controls.DateTimePicker)(target)); |
|||
return; |
|||
case 8: |
|||
this.colorpicker = ((Microsoft.Windows.Controls.ColorPicker)(target)); |
|||
|
|||
#line 75 "..\..\..\AlarmSet.xaml"
|
|||
this.colorpicker.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler<System.Windows.Media.Color>(this.ColorPicker_SelectedColorChanged); |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
return; |
|||
case 9: |
|||
this.list1 = ((System.Windows.Controls.ListView)(target)); |
|||
return; |
|||
case 10: |
|||
this.list3 = ((System.Windows.Controls.ListBox)(target)); |
|||
return; |
|||
} |
|||
this._contentLoaded = true; |
|||
} |
|||
} |
|||
} |
|||
|
|||
@ -0,0 +1,78 @@ |
|||
#pragma checksum "..\..\..\App.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "87C752EAB1D8111DD0461A1A34A553FD"
|
|||
//------------------------------------------------------------------------------
|
|||
// <auto-generated>
|
|||
// 此代码由工具生成。
|
|||
// 运行时版本:4.0.30319.42000
|
|||
//
|
|||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
|||
// 重新生成代码,这些更改将会丢失。
|
|||
// </auto-generated>
|
|||
//------------------------------------------------------------------------------
|
|||
|
|||
using Microsoft.Windows.Controls; |
|||
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.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 CoreTest { |
|||
|
|||
|
|||
/// <summary>
|
|||
/// App
|
|||
/// </summary>
|
|||
public partial class App : System.Windows.Application { |
|||
|
|||
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("/CoreTest;component/app.xaml", System.UriKind.Relative); |
|||
|
|||
#line 1 "..\..\..\App.xaml"
|
|||
System.Windows.Application.LoadComponent(this, resourceLocater); |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
} |
|||
|
|||
/// <summary>
|
|||
/// Application Entry Point.
|
|||
/// </summary>
|
|||
[System.STAThreadAttribute()] |
|||
[System.Diagnostics.DebuggerNonUserCodeAttribute()] |
|||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] |
|||
public static void Main() { |
|||
CoreTest.App app = new CoreTest.App(); |
|||
app.InitializeComponent(); |
|||
app.Run(); |
|||
} |
|||
} |
|||
} |
|||
|
|||
Binary file not shown.
@ -0,0 +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); |
|||
} |
|||
} |
|||
} |
|||
|
|||
@ -0,0 +1,205 @@ |
|||
#pragma checksum "..\..\..\Login.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "375A0423B4D66B38B66903C58FC0AA60"
|
|||
//------------------------------------------------------------------------------
|
|||
// <auto-generated>
|
|||
// 此代码由工具生成。
|
|||
// 运行时版本:4.0.30319.42000
|
|||
//
|
|||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
|||
// 重新生成代码,这些更改将会丢失。
|
|||
// </auto-generated>
|
|||
//------------------------------------------------------------------------------
|
|||
|
|||
using CoreTest; |
|||
using HMIControl; |
|||
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.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 CoreTest { |
|||
|
|||
|
|||
/// <summary>
|
|||
/// Login
|
|||
/// </summary>
|
|||
public partial class Login : System.Windows.Window, System.Windows.Markup.IComponentConnector { |
|||
|
|||
|
|||
#line 10 "..\..\..\Login.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal System.Windows.Controls.Button button1; |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
|
|||
|
|||
#line 11 "..\..\..\Login.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal System.Windows.Controls.Button button2; |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
|
|||
|
|||
#line 12 "..\..\..\Login.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal System.Windows.Controls.TextBlock textBlock2; |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
|
|||
|
|||
#line 13 "..\..\..\Login.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal System.Windows.Controls.TextBlock textBlock3; |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
|
|||
|
|||
#line 14 "..\..\..\Login.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal System.Windows.Controls.TextBox txtUser; |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
|
|||
|
|||
#line 15 "..\..\..\Login.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal System.Windows.Controls.TextBlock textBlock4; |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
|
|||
|
|||
#line 16 "..\..\..\Login.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal System.Windows.Controls.PasswordBox txtPassword; |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
|
|||
|
|||
#line 17 "..\..\..\Login.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal System.Windows.Controls.TextBlock txterr; |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
|
|||
|
|||
#line 18 "..\..\..\Login.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal System.Windows.Controls.Button button3; |
|||
|
|||
#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("/CoreTest;component/login.xaml", System.UriKind.Relative); |
|||
|
|||
#line 1 "..\..\..\Login.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: |
|||
|
|||
#line 4 "..\..\..\Login.xaml"
|
|||
((CoreTest.Login)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
return; |
|||
case 2: |
|||
this.button1 = ((System.Windows.Controls.Button)(target)); |
|||
|
|||
#line 10 "..\..\..\Login.xaml"
|
|||
this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click); |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
return; |
|||
case 3: |
|||
this.button2 = ((System.Windows.Controls.Button)(target)); |
|||
|
|||
#line 11 "..\..\..\Login.xaml"
|
|||
this.button2.Click += new System.Windows.RoutedEventHandler(this.button2_Click); |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
return; |
|||
case 4: |
|||
this.textBlock2 = ((System.Windows.Controls.TextBlock)(target)); |
|||
return; |
|||
case 5: |
|||
this.textBlock3 = ((System.Windows.Controls.TextBlock)(target)); |
|||
return; |
|||
case 6: |
|||
this.txtUser = ((System.Windows.Controls.TextBox)(target)); |
|||
return; |
|||
case 7: |
|||
this.textBlock4 = ((System.Windows.Controls.TextBlock)(target)); |
|||
return; |
|||
case 8: |
|||
this.txtPassword = ((System.Windows.Controls.PasswordBox)(target)); |
|||
return; |
|||
case 9: |
|||
this.txterr = ((System.Windows.Controls.TextBlock)(target)); |
|||
return; |
|||
case 10: |
|||
this.button3 = ((System.Windows.Controls.Button)(target)); |
|||
|
|||
#line 19 "..\..\..\Login.xaml"
|
|||
this.button3.Click += new System.Windows.RoutedEventHandler(this.button3_Click); |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
return; |
|||
} |
|||
this._contentLoaded = true; |
|||
} |
|||
} |
|||
} |
|||
|
|||
@ -0,0 +1,188 @@ |
|||
#pragma checksum "..\..\..\RuntimeChart.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "DC1BFB7524CCB66F5D58735A70216F0A"
|
|||
//------------------------------------------------------------------------------
|
|||
// <auto-generated>
|
|||
// 此代码由工具生成。
|
|||
// 运行时版本:4.0.30319.42000
|
|||
//
|
|||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
|||
// 重新生成代码,这些更改将会丢失。
|
|||
// </auto-generated>
|
|||
//------------------------------------------------------------------------------
|
|||
|
|||
using CoreTest; |
|||
using HMIControl; |
|||
using Microsoft.Research.DynamicDataDisplay; |
|||
using Microsoft.Research.DynamicDataDisplay.Charts; |
|||
using Microsoft.Research.DynamicDataDisplay.Charts.Axes; |
|||
using Microsoft.Research.DynamicDataDisplay.Charts.Axes.Numeric; |
|||
using Microsoft.Research.DynamicDataDisplay.Charts.Isolines; |
|||
using Microsoft.Research.DynamicDataDisplay.Charts.Markers; |
|||
using Microsoft.Research.DynamicDataDisplay.Charts.Navigation; |
|||
using Microsoft.Research.DynamicDataDisplay.Charts.Shapes; |
|||
using Microsoft.Research.DynamicDataDisplay.Common.Palettes; |
|||
using Microsoft.Research.DynamicDataDisplay.Converters; |
|||
using Microsoft.Research.DynamicDataDisplay.DataSources; |
|||
using Microsoft.Research.DynamicDataDisplay.MarkupExtensions; |
|||
using Microsoft.Research.DynamicDataDisplay.Navigation; |
|||
using Microsoft.Research.DynamicDataDisplay.PointMarkers; |
|||
using Microsoft.Research.DynamicDataDisplay.ViewportRestrictions; |
|||
using Microsoft.Windows.Controls; |
|||
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.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 CoreTest { |
|||
|
|||
|
|||
/// <summary>
|
|||
/// RuntimeChart
|
|||
/// </summary>
|
|||
public partial class RuntimeChart : System.Windows.Window, System.Windows.Markup.IComponentConnector { |
|||
|
|||
|
|||
#line 16 "..\..\..\RuntimeChart.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal System.Windows.Controls.ComboBox comb1; |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
|
|||
|
|||
#line 18 "..\..\..\RuntimeChart.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal Microsoft.Windows.Controls.ColorPicker colorpicker; |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
|
|||
|
|||
#line 20 "..\..\..\RuntimeChart.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal Microsoft.Research.DynamicDataDisplay.ChartPlotter chartPlotter1; |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
|
|||
|
|||
#line 22 "..\..\..\RuntimeChart.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal Microsoft.Research.DynamicDataDisplay.Charts.HorizontalDateTimeAxis hTimeSpanAxis; |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
|
|||
|
|||
#line 24 "..\..\..\RuntimeChart.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal Microsoft.Research.DynamicDataDisplay.Charts.HorizontalLine hilevel; |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
|
|||
|
|||
#line 25 "..\..\..\RuntimeChart.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal Microsoft.Research.DynamicDataDisplay.Charts.HorizontalLine lolevel; |
|||
|
|||
#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("/CoreTest;component/runtimechart.xaml", System.UriKind.Relative); |
|||
|
|||
#line 1 "..\..\..\RuntimeChart.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: |
|||
|
|||
#line 8 "..\..\..\RuntimeChart.xaml"
|
|||
((CoreTest.RuntimeChart)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
|
|||
#line 8 "..\..\..\RuntimeChart.xaml"
|
|||
((CoreTest.RuntimeChart)(target)).Closed += new System.EventHandler(this.Window_Closed); |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
return; |
|||
case 2: |
|||
this.comb1 = ((System.Windows.Controls.ComboBox)(target)); |
|||
|
|||
#line 16 "..\..\..\RuntimeChart.xaml"
|
|||
this.comb1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comb1_SelectionChanged); |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
return; |
|||
case 3: |
|||
this.colorpicker = ((Microsoft.Windows.Controls.ColorPicker)(target)); |
|||
|
|||
#line 18 "..\..\..\RuntimeChart.xaml"
|
|||
this.colorpicker.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler<System.Windows.Media.Color>(this.ColorPicker_SelectedColorChanged); |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
return; |
|||
case 4: |
|||
this.chartPlotter1 = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target)); |
|||
return; |
|||
case 5: |
|||
this.hTimeSpanAxis = ((Microsoft.Research.DynamicDataDisplay.Charts.HorizontalDateTimeAxis)(target)); |
|||
return; |
|||
case 6: |
|||
this.hilevel = ((Microsoft.Research.DynamicDataDisplay.Charts.HorizontalLine)(target)); |
|||
return; |
|||
case 7: |
|||
this.lolevel = ((Microsoft.Research.DynamicDataDisplay.Charts.HorizontalLine)(target)); |
|||
return; |
|||
} |
|||
this._contentLoaded = true; |
|||
} |
|||
} |
|||
} |
|||
|
|||
@ -0,0 +1,151 @@ |
|||
#pragma checksum "..\..\..\StartDevice.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "14206CA5E5BB144386A3AAAB0A6BD5A5"
|
|||
//------------------------------------------------------------------------------
|
|||
// <auto-generated>
|
|||
// 此代码由工具生成。
|
|||
// 运行时版本:4.0.30319.42000
|
|||
//
|
|||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
|||
// 重新生成代码,这些更改将会丢失。
|
|||
// </auto-generated>
|
|||
//------------------------------------------------------------------------------
|
|||
|
|||
using HMIControl; |
|||
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.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 CoreTest { |
|||
|
|||
|
|||
/// <summary>
|
|||
/// StartDevice
|
|||
/// </summary>
|
|||
public partial class StartDevice : System.Windows.Window, System.Windows.Markup.IComponentConnector { |
|||
|
|||
|
|||
#line 8 "..\..\..\StartDevice.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal System.Windows.Controls.Grid grd; |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
|
|||
|
|||
#line 20 "..\..\..\StartDevice.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal System.Windows.Controls.Border border1; |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
|
|||
|
|||
#line 21 "..\..\..\StartDevice.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal System.Windows.Controls.TextBlock devicename; |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
|
|||
|
|||
#line 22 "..\..\..\StartDevice.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal System.Windows.Controls.Button btnStop; |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
|
|||
|
|||
#line 23 "..\..\..\StartDevice.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal System.Windows.Controls.Button btnExit; |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
|
|||
|
|||
#line 24 "..\..\..\StartDevice.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal System.Windows.Controls.Button btnStart; |
|||
|
|||
#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("/CoreTest;component/startdevice.xaml", System.UriKind.Relative); |
|||
|
|||
#line 1 "..\..\..\StartDevice.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.grd = ((System.Windows.Controls.Grid)(target)); |
|||
return; |
|||
case 2: |
|||
this.border1 = ((System.Windows.Controls.Border)(target)); |
|||
return; |
|||
case 3: |
|||
this.devicename = ((System.Windows.Controls.TextBlock)(target)); |
|||
return; |
|||
case 4: |
|||
this.btnStop = ((System.Windows.Controls.Button)(target)); |
|||
return; |
|||
case 5: |
|||
this.btnExit = ((System.Windows.Controls.Button)(target)); |
|||
|
|||
#line 23 "..\..\..\StartDevice.xaml"
|
|||
this.btnExit.Click += new System.Windows.RoutedEventHandler(this.btnExit_Click); |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
return; |
|||
case 6: |
|||
this.btnStart = ((System.Windows.Controls.Button)(target)); |
|||
return; |
|||
} |
|||
this._contentLoaded = true; |
|||
} |
|||
} |
|||
} |
|||
|
|||
@ -0,0 +1,136 @@ |
|||
#pragma checksum "..\..\..\TagMonitor.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "0A98A6F201A7031A640A21A10F8B84E7"
|
|||
//------------------------------------------------------------------------------
|
|||
// <auto-generated>
|
|||
// 此代码由工具生成。
|
|||
// 运行时版本:4.0.30319.42000
|
|||
//
|
|||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
|||
// 重新生成代码,这些更改将会丢失。
|
|||
// </auto-generated>
|
|||
//------------------------------------------------------------------------------
|
|||
|
|||
using CoreTest; |
|||
using Microsoft.Windows.Controls; |
|||
using Microsoft.Windows.Controls.PropertyGrid; |
|||
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.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 CoreTest { |
|||
|
|||
|
|||
/// <summary>
|
|||
/// TagMonitor
|
|||
/// </summary>
|
|||
public partial class TagMonitor : System.Windows.Window, System.Windows.Markup.IComponentConnector { |
|||
|
|||
|
|||
#line 16 "..\..\..\TagMonitor.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal System.Windows.Controls.DataGrid list1; |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
|
|||
|
|||
#line 24 "..\..\..\TagMonitor.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal Microsoft.Windows.Controls.ChildWindow childWindow1; |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
|
|||
|
|||
#line 26 "..\..\..\TagMonitor.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal System.Windows.Controls.TextBox textBox1; |
|||
|
|||
#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("/CoreTest;component/tagmonitor.xaml", System.UriKind.Relative); |
|||
|
|||
#line 1 "..\..\..\TagMonitor.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: |
|||
|
|||
#line 7 "..\..\..\TagMonitor.xaml"
|
|||
((CoreTest.TagMonitor)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
|
|||
#line 7 "..\..\..\TagMonitor.xaml"
|
|||
((CoreTest.TagMonitor)(target)).Closed += new System.EventHandler(this.Window_Closed); |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
return; |
|||
case 2: |
|||
this.list1 = ((System.Windows.Controls.DataGrid)(target)); |
|||
return; |
|||
case 3: |
|||
this.childWindow1 = ((Microsoft.Windows.Controls.ChildWindow)(target)); |
|||
return; |
|||
case 4: |
|||
this.textBox1 = ((System.Windows.Controls.TextBox)(target)); |
|||
return; |
|||
case 5: |
|||
|
|||
#line 27 "..\..\..\TagMonitor.xaml"
|
|||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
return; |
|||
} |
|||
this._contentLoaded = true; |
|||
} |
|||
} |
|||
} |
|||
|
|||
@ -0,0 +1,264 @@ |
|||
#pragma checksum "..\..\..\Trend.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "1B342724173D1F60676E7E203DB0077B"
|
|||
//------------------------------------------------------------------------------
|
|||
// <auto-generated>
|
|||
// 此代码由工具生成。
|
|||
// 运行时版本:4.0.30319.42000
|
|||
//
|
|||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
|||
// 重新生成代码,这些更改将会丢失。
|
|||
// </auto-generated>
|
|||
//------------------------------------------------------------------------------
|
|||
|
|||
using CoreTest; |
|||
using Microsoft.Research.DynamicDataDisplay; |
|||
using Microsoft.Research.DynamicDataDisplay.Charts; |
|||
using Microsoft.Research.DynamicDataDisplay.Charts.Axes; |
|||
using Microsoft.Research.DynamicDataDisplay.Charts.Axes.Numeric; |
|||
using Microsoft.Research.DynamicDataDisplay.Charts.Isolines; |
|||
using Microsoft.Research.DynamicDataDisplay.Charts.Markers; |
|||
using Microsoft.Research.DynamicDataDisplay.Charts.Navigation; |
|||
using Microsoft.Research.DynamicDataDisplay.Charts.Shapes; |
|||
using Microsoft.Research.DynamicDataDisplay.Common.Palettes; |
|||
using Microsoft.Research.DynamicDataDisplay.Converters; |
|||
using Microsoft.Research.DynamicDataDisplay.DataSources; |
|||
using Microsoft.Research.DynamicDataDisplay.MarkupExtensions; |
|||
using Microsoft.Research.DynamicDataDisplay.Navigation; |
|||
using Microsoft.Research.DynamicDataDisplay.PointMarkers; |
|||
using Microsoft.Research.DynamicDataDisplay.ViewportRestrictions; |
|||
using Microsoft.Windows.Controls; |
|||
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.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 CoreTest { |
|||
|
|||
|
|||
/// <summary>
|
|||
/// Trend
|
|||
/// </summary>
|
|||
public partial class Trend : System.Windows.Window, System.Windows.Markup.IComponentConnector { |
|||
|
|||
|
|||
#line 15 "..\..\..\Trend.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal System.Windows.Controls.ToolBar toolBar1; |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
|
|||
|
|||
#line 23 "..\..\..\Trend.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal Microsoft.Windows.Controls.DateTimePicker dtstart; |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
|
|||
|
|||
#line 25 "..\..\..\Trend.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal Microsoft.Windows.Controls.DateTimePicker dtend; |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
|
|||
|
|||
#line 27 "..\..\..\Trend.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal System.Windows.Controls.CheckBox PCheckBox; |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
|
|||
|
|||
#line 28 "..\..\..\Trend.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal System.Windows.Controls.Primitives.Popup popusBottom; |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
|
|||
|
|||
#line 34 "..\..\..\Trend.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal Microsoft.Windows.Controls.CheckListBox chklist; |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
|
|||
|
|||
#line 40 "..\..\..\Trend.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal System.Windows.Controls.ComboBox comodel; |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
|
|||
|
|||
#line 45 "..\..\..\Trend.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal System.Windows.Controls.CheckBox chkshow; |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
|
|||
|
|||
#line 46 "..\..\..\Trend.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal Microsoft.Windows.Controls.ColorPicker colorpicker; |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
|
|||
|
|||
#line 48 "..\..\..\Trend.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal Microsoft.Research.DynamicDataDisplay.ChartPlotter chartPlotter1; |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
|
|||
|
|||
#line 50 "..\..\..\Trend.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal Microsoft.Research.DynamicDataDisplay.Charts.HorizontalDateTimeAxis hTimeSpanAxis; |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
|
|||
|
|||
#line 52 "..\..\..\Trend.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal Microsoft.Research.DynamicDataDisplay.Charts.Navigation.CursorCoordinateGraph cursor; |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
|
|||
|
|||
#line 53 "..\..\..\Trend.xaml"
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
|||
internal Microsoft.Research.DynamicDataDisplay.Charts.Navigation.AxisCursorGraph axiscuror; |
|||
|
|||
#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("/CoreTest;component/trend.xaml", System.UriKind.Relative); |
|||
|
|||
#line 1 "..\..\..\Trend.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: |
|||
|
|||
#line 9 "..\..\..\Trend.xaml"
|
|||
((CoreTest.Trend)(target)).Closed += new System.EventHandler(this.Window_Closed); |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
return; |
|||
case 2: |
|||
this.toolBar1 = ((System.Windows.Controls.ToolBar)(target)); |
|||
return; |
|||
case 3: |
|||
this.dtstart = ((Microsoft.Windows.Controls.DateTimePicker)(target)); |
|||
return; |
|||
case 4: |
|||
this.dtend = ((Microsoft.Windows.Controls.DateTimePicker)(target)); |
|||
return; |
|||
case 5: |
|||
this.PCheckBox = ((System.Windows.Controls.CheckBox)(target)); |
|||
return; |
|||
case 6: |
|||
this.popusBottom = ((System.Windows.Controls.Primitives.Popup)(target)); |
|||
return; |
|||
case 7: |
|||
this.chklist = ((Microsoft.Windows.Controls.CheckListBox)(target)); |
|||
return; |
|||
case 8: |
|||
this.comodel = ((System.Windows.Controls.ComboBox)(target)); |
|||
|
|||
#line 40 "..\..\..\Trend.xaml"
|
|||
this.comodel.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comodel_SelectionChanged); |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
return; |
|||
case 9: |
|||
this.chkshow = ((System.Windows.Controls.CheckBox)(target)); |
|||
|
|||
#line 45 "..\..\..\Trend.xaml"
|
|||
this.chkshow.Click += new System.Windows.RoutedEventHandler(this.chkshow_Click); |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
return; |
|||
case 10: |
|||
this.colorpicker = ((Microsoft.Windows.Controls.ColorPicker)(target)); |
|||
|
|||
#line 46 "..\..\..\Trend.xaml"
|
|||
this.colorpicker.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler<System.Windows.Media.Color>(this.ColorPicker_SelectedColorChanged); |
|||
|
|||
#line default
|
|||
#line hidden
|
|||
return; |
|||
case 11: |
|||
this.chartPlotter1 = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target)); |
|||
return; |
|||
case 12: |
|||
this.hTimeSpanAxis = ((Microsoft.Research.DynamicDataDisplay.Charts.HorizontalDateTimeAxis)(target)); |
|||
return; |
|||
case 13: |
|||
this.cursor = ((Microsoft.Research.DynamicDataDisplay.Charts.Navigation.CursorCoordinateGraph)(target)); |
|||
return; |
|||
case 14: |
|||
this.axiscuror = ((Microsoft.Research.DynamicDataDisplay.Charts.Navigation.AxisCursorGraph)(target)); |
|||
return; |
|||
} |
|||
this._contentLoaded = true; |
|||
} |
|||
} |
|||
} |
|||
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +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); |
|||
} |
|||
} |
|||
} |
|||
|
|||
@ -0,0 +1,20 @@ |
|||
HMIControl |
|||
|
|||
|
|||
library |
|||
C# |
|||
.cs |
|||
D:\GitHub\SharpSCADA\SCADA\Program\HMIControl\obj\Debug\ |
|||
HMIControl |
|||
none |
|||
false |
|||
DEBUG;TRACE |
|||
|
|||
1-731644535 |
|||
|
|||
91-2085358112 |
|||
11-1261211329 |
|||
Themes\Generic.xaml; |
|||
|
|||
True |
|||
|
|||
@ -0,0 +1,4 @@ |
|||
D:\GitHub\SharpSCADA\SCADA\Program\HMIControl\obj\Debug\GeneratedInternalTypeHelper.g.i.cs |
|||
|
|||
FD:\GitHub\SharpSCADA\SCADA\Program\HMIControl\Themes\Generic.xaml;; |
|||
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue