committed by
GitHub
47 changed files with 3100 additions and 90 deletions
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.
@ -0,0 +1,199 @@ |
|||
#pragma checksum "..\..\..\AlarmSet.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "11D7D1142659883006DE8D16FF16C98ECF5D96E5"
|
|||
//------------------------------------------------------------------------------
|
|||
// <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" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "E1F43B7F6CA36743FBDCC124511923BCB538201D"
|
|||
//------------------------------------------------------------------------------
|
|||
// <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" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "AE28E95762DCC3C98413991AB3FD0D23F37D3CE3"
|
|||
//------------------------------------------------------------------------------
|
|||
// <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" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "8AE27EC0F869EF1ADB433A4756BFD002B4305BD3"
|
|||
//------------------------------------------------------------------------------
|
|||
// <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" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "0EEE22AD3B597E0CB717D8885FB4F7D7B3D7EBF9"
|
|||
//------------------------------------------------------------------------------
|
|||
// <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" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "28C5AB6899D56BC8ADA97D3865FFFC890B9A3DDD"
|
|||
//------------------------------------------------------------------------------
|
|||
// <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" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "A699E208959857EF7ABA7FAB7613F3E3383D42FE"
|
|||
//------------------------------------------------------------------------------
|
|||
// <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.
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:\$MyWorkspace\GitHub\SharpSCADA\SCADA\Program\HMIControl\obj\Debug\ |
|||
HMIControl |
|||
none |
|||
false |
|||
DEBUG;TRACE |
|||
|
|||
1-731644535 |
|||
|
|||
911110599564 |
|||
11-823603823 |
|||
Themes\Generic.xaml; |
|||
|
|||
True |
|||
|
|||
@ -0,0 +1,4 @@ |
|||
D:\$MyWorkspace\GitHub\SharpSCADA\SCADA\Program\HMIControl\obj\Debug\GeneratedInternalTypeHelper.g.i.cs |
|||
|
|||
FD:\$MyWorkspace\GitHub\SharpSCADA\SCADA\Program\HMIControl\Themes\Generic.xaml;; |
|||
|
|||
Binary file not shown.
File diff suppressed because it is too large
@ -0,0 +1,61 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
|||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> |
|||
<PropertyGroup> |
|||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
|||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
|||
<ProjectGuid>{AE7D9641-3F7D-4282-B752-2FA14619CFBF}</ProjectGuid> |
|||
<OutputType>Library</OutputType> |
|||
<AppDesignerFolder>Properties</AppDesignerFolder> |
|||
<RootNamespace>MelsecDriver</RootNamespace> |
|||
<AssemblyName>MelsecDriver</AssemblyName> |
|||
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion> |
|||
<FileAlignment>512</FileAlignment> |
|||
<Deterministic>true</Deterministic> |
|||
<TargetFrameworkProfile /> |
|||
</PropertyGroup> |
|||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
|||
<DebugSymbols>true</DebugSymbols> |
|||
<DebugType>full</DebugType> |
|||
<Optimize>false</Optimize> |
|||
<OutputPath>bin\Debug\</OutputPath> |
|||
<DefineConstants>DEBUG;TRACE</DefineConstants> |
|||
<ErrorReport>prompt</ErrorReport> |
|||
<WarningLevel>4</WarningLevel> |
|||
<Prefer32Bit>false</Prefer32Bit> |
|||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
|||
</PropertyGroup> |
|||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |
|||
<DebugType>pdbonly</DebugType> |
|||
<Optimize>true</Optimize> |
|||
<OutputPath>bin\Release\</OutputPath> |
|||
<DefineConstants>TRACE</DefineConstants> |
|||
<ErrorReport>prompt</ErrorReport> |
|||
<WarningLevel>4</WarningLevel> |
|||
<Prefer32Bit>false</Prefer32Bit> |
|||
</PropertyGroup> |
|||
<ItemGroup> |
|||
<Reference Include="System" /> |
|||
<Reference Include="System.Core" /> |
|||
<Reference Include="System.Xml.Linq" /> |
|||
<Reference Include="System.Data.DataSetExtensions" /> |
|||
<Reference Include="Microsoft.CSharp" /> |
|||
<Reference Include="System.Data" /> |
|||
<Reference Include="System.Xml" /> |
|||
</ItemGroup> |
|||
<ItemGroup> |
|||
<Compile Include="FxSerialReader.cs" /> |
|||
<Compile Include="Properties\AssemblyInfo.cs" /> |
|||
</ItemGroup> |
|||
<ItemGroup> |
|||
<ProjectReference Include="..\..\..\..\HslCommunication\HslCommunication_Net45\HslCommunication_Net45.csproj"> |
|||
<Project>{7f8029da-1b94-4b1d-b91f-5b21dbf2f3a2}</Project> |
|||
<Name>HslCommunication_Net45</Name> |
|||
</ProjectReference> |
|||
<ProjectReference Include="..\DataService\DataService.csproj"> |
|||
<Project>{8965E389-6466-4B30-BD43-83C909044637}</Project> |
|||
<Name>DataService</Name> |
|||
</ProjectReference> |
|||
</ItemGroup> |
|||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
|||
</Project> |
|||
@ -0,0 +1,36 @@ |
|||
using System.Reflection; |
|||
using System.Runtime.CompilerServices; |
|||
using System.Runtime.InteropServices; |
|||
|
|||
// 有关程序集的一般信息由以下
|
|||
// 控制。更改这些特性值可修改
|
|||
// 与程序集关联的信息。
|
|||
[assembly: AssemblyTitle("MelsecDriver")] |
|||
[assembly: AssemblyDescription("")] |
|||
[assembly: AssemblyConfiguration("")] |
|||
[assembly: AssemblyCompany("")] |
|||
[assembly: AssemblyProduct("MelsecDriver")] |
|||
[assembly: AssemblyCopyright("Copyright © 2018")] |
|||
[assembly: AssemblyTrademark("")] |
|||
[assembly: AssemblyCulture("")] |
|||
|
|||
// 将 ComVisible 设置为 false 会使此程序集中的类型
|
|||
//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
|
|||
//请将此类型的 ComVisible 特性设置为 true。
|
|||
[assembly: ComVisible(false)] |
|||
|
|||
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
|
|||
[assembly: Guid("ae7d9641-3f7d-4282-b752-2fa14619cfbf")] |
|||
|
|||
// 程序集的版本信息由下列四个值组成:
|
|||
//
|
|||
// 主版本
|
|||
// 次版本
|
|||
// 生成号
|
|||
// 修订号
|
|||
//
|
|||
// 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号
|
|||
//通过使用 "*",如下所示:
|
|||
// [assembly: AssemblyVersion("1.0.*")]
|
|||
[assembly: AssemblyVersion("1.0.0.0")] |
|||
[assembly: AssemblyFileVersion("1.0.0.0")] |
|||
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