324 lines
12 KiB
C#
324 lines
12 KiB
C#
|
|
#pragma checksum "..\..\..\Pages\GatewayPage.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "AD46577C7B1F8341FA8948443614B6661F41BCF60263F7064FF2BFEBAFA9DC81"
|
|||
|
|
//------------------------------------------------------------------------------
|
|||
|
|
// <auto-generated>
|
|||
|
|
// 此代码由工具生成。
|
|||
|
|
// 运行时版本:4.0.30319.42000
|
|||
|
|
//
|
|||
|
|
// 对此文件的更改可能会导致不正确的行为,并且如果
|
|||
|
|
// 重新生成代码,这些更改将会丢失。
|
|||
|
|
// </auto-generated>
|
|||
|
|
//------------------------------------------------------------------------------
|
|||
|
|
|
|||
|
|
using System;
|
|||
|
|
using System.Diagnostics;
|
|||
|
|
using System.Windows;
|
|||
|
|
using System.Windows.Automation;
|
|||
|
|
using System.Windows.Controls;
|
|||
|
|
using System.Windows.Controls.Primitives;
|
|||
|
|
using System.Windows.Data;
|
|||
|
|
using System.Windows.Documents;
|
|||
|
|
using System.Windows.Ink;
|
|||
|
|
using System.Windows.Input;
|
|||
|
|
using System.Windows.Markup;
|
|||
|
|
using System.Windows.Media;
|
|||
|
|
using System.Windows.Media.Animation;
|
|||
|
|
using System.Windows.Media.Effects;
|
|||
|
|
using System.Windows.Media.Imaging;
|
|||
|
|
using System.Windows.Media.Media3D;
|
|||
|
|
using System.Windows.Media.TextFormatting;
|
|||
|
|
using System.Windows.Navigation;
|
|||
|
|
using System.Windows.Shapes;
|
|||
|
|
using System.Windows.Shell;
|
|||
|
|
|
|||
|
|
|
|||
|
|
namespace YKC {
|
|||
|
|
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// GatewayPage
|
|||
|
|
/// </summary>
|
|||
|
|
public partial class GatewayPage : System.Windows.Controls.Page, System.Windows.Markup.IComponentConnector {
|
|||
|
|
|
|||
|
|
|
|||
|
|
#line 25 "..\..\..\Pages\GatewayPage.xaml"
|
|||
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|||
|
|
internal System.Windows.Controls.TextBlock txtGwId;
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
|
|||
|
|
|
|||
|
|
#line 29 "..\..\..\Pages\GatewayPage.xaml"
|
|||
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|||
|
|
internal System.Windows.Controls.TextBlock txtGwSw;
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
|
|||
|
|
|
|||
|
|
#line 32 "..\..\..\Pages\GatewayPage.xaml"
|
|||
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|||
|
|
internal System.Windows.Controls.TextBlock txtGwHw;
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
|
|||
|
|
|
|||
|
|
#line 35 "..\..\..\Pages\GatewayPage.xaml"
|
|||
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|||
|
|
internal System.Windows.Controls.TextBlock txtGwUptime;
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
|
|||
|
|
|
|||
|
|
#line 40 "..\..\..\Pages\GatewayPage.xaml"
|
|||
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|||
|
|
internal System.Windows.Controls.TextBlock txtGwStatus;
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
|
|||
|
|
|
|||
|
|
#line 54 "..\..\..\Pages\GatewayPage.xaml"
|
|||
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|||
|
|
internal System.Windows.Controls.TextBlock txtSim;
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
|
|||
|
|
|
|||
|
|
#line 58 "..\..\..\Pages\GatewayPage.xaml"
|
|||
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|||
|
|
internal System.Windows.Controls.TextBlock txtNetStatus;
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
|
|||
|
|
|
|||
|
|
#line 62 "..\..\..\Pages\GatewayPage.xaml"
|
|||
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|||
|
|
internal System.Windows.Controls.TextBlock txtSignal;
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
|
|||
|
|
|
|||
|
|
#line 65 "..\..\..\Pages\GatewayPage.xaml"
|
|||
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|||
|
|
internal System.Windows.Controls.TextBlock txtIsp;
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
|
|||
|
|
|
|||
|
|
#line 70 "..\..\..\Pages\GatewayPage.xaml"
|
|||
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|||
|
|
internal System.Windows.Controls.TextBlock txt4GStatus;
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
|
|||
|
|
|
|||
|
|
#line 91 "..\..\..\Pages\GatewayPage.xaml"
|
|||
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|||
|
|
internal System.Windows.Controls.TextBox txtCloudHost;
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
|
|||
|
|
|
|||
|
|
#line 95 "..\..\..\Pages\GatewayPage.xaml"
|
|||
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|||
|
|
internal System.Windows.Controls.TextBox txtCloudPort;
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
|
|||
|
|
|
|||
|
|
#line 103 "..\..\..\Pages\GatewayPage.xaml"
|
|||
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|||
|
|
internal System.Windows.Controls.TextBlock txtCloudResult;
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
|
|||
|
|
|
|||
|
|
#line 117 "..\..\..\Pages\GatewayPage.xaml"
|
|||
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|||
|
|
internal System.Windows.Controls.TextBox txtNetIp;
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
|
|||
|
|
|
|||
|
|
#line 121 "..\..\..\Pages\GatewayPage.xaml"
|
|||
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|||
|
|
internal System.Windows.Controls.TextBox txtNetMask;
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
|
|||
|
|
|
|||
|
|
#line 125 "..\..\..\Pages\GatewayPage.xaml"
|
|||
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|||
|
|
internal System.Windows.Controls.TextBox txtNetGw;
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
|
|||
|
|
|
|||
|
|
#line 129 "..\..\..\Pages\GatewayPage.xaml"
|
|||
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|||
|
|
internal System.Windows.Controls.TextBox txtNetDns;
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
|
|||
|
|
|
|||
|
|
#line 137 "..\..\..\Pages\GatewayPage.xaml"
|
|||
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|||
|
|
internal System.Windows.Controls.TextBlock txtNetResult;
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
|
|||
|
|
private bool _contentLoaded;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// InitializeComponent
|
|||
|
|
/// </summary>
|
|||
|
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
|||
|
|
public void InitializeComponent() {
|
|||
|
|
if (_contentLoaded) {
|
|||
|
|
return;
|
|||
|
|
}
|
|||
|
|
_contentLoaded = true;
|
|||
|
|
System.Uri resourceLocater = new System.Uri("/YKC;component/pages/gatewaypage.xaml", System.UriKind.Relative);
|
|||
|
|
|
|||
|
|
#line 1 "..\..\..\Pages\GatewayPage.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.txtGwId = ((System.Windows.Controls.TextBlock)(target));
|
|||
|
|
return;
|
|||
|
|
case 2:
|
|||
|
|
this.txtGwSw = ((System.Windows.Controls.TextBlock)(target));
|
|||
|
|
return;
|
|||
|
|
case 3:
|
|||
|
|
this.txtGwHw = ((System.Windows.Controls.TextBlock)(target));
|
|||
|
|
return;
|
|||
|
|
case 4:
|
|||
|
|
this.txtGwUptime = ((System.Windows.Controls.TextBlock)(target));
|
|||
|
|
return;
|
|||
|
|
case 5:
|
|||
|
|
|
|||
|
|
#line 39 "..\..\..\Pages\GatewayPage.xaml"
|
|||
|
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.RefreshGwInfo_Click);
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
return;
|
|||
|
|
case 6:
|
|||
|
|
this.txtGwStatus = ((System.Windows.Controls.TextBlock)(target));
|
|||
|
|
return;
|
|||
|
|
case 7:
|
|||
|
|
this.txtSim = ((System.Windows.Controls.TextBlock)(target));
|
|||
|
|
return;
|
|||
|
|
case 8:
|
|||
|
|
this.txtNetStatus = ((System.Windows.Controls.TextBlock)(target));
|
|||
|
|
return;
|
|||
|
|
case 9:
|
|||
|
|
this.txtSignal = ((System.Windows.Controls.TextBlock)(target));
|
|||
|
|
return;
|
|||
|
|
case 10:
|
|||
|
|
this.txtIsp = ((System.Windows.Controls.TextBlock)(target));
|
|||
|
|
return;
|
|||
|
|
case 11:
|
|||
|
|
|
|||
|
|
#line 69 "..\..\..\Pages\GatewayPage.xaml"
|
|||
|
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Refresh4G_Click);
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
return;
|
|||
|
|
case 12:
|
|||
|
|
this.txt4GStatus = ((System.Windows.Controls.TextBlock)(target));
|
|||
|
|
return;
|
|||
|
|
case 13:
|
|||
|
|
this.txtCloudHost = ((System.Windows.Controls.TextBox)(target));
|
|||
|
|
return;
|
|||
|
|
case 14:
|
|||
|
|
this.txtCloudPort = ((System.Windows.Controls.TextBox)(target));
|
|||
|
|
return;
|
|||
|
|
case 15:
|
|||
|
|
|
|||
|
|
#line 100 "..\..\..\Pages\GatewayPage.xaml"
|
|||
|
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.LoadCloudConfig_Click);
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
return;
|
|||
|
|
case 16:
|
|||
|
|
|
|||
|
|
#line 102 "..\..\..\Pages\GatewayPage.xaml"
|
|||
|
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveCloudConfig_Click);
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
return;
|
|||
|
|
case 17:
|
|||
|
|
this.txtCloudResult = ((System.Windows.Controls.TextBlock)(target));
|
|||
|
|
return;
|
|||
|
|
case 18:
|
|||
|
|
this.txtNetIp = ((System.Windows.Controls.TextBox)(target));
|
|||
|
|
return;
|
|||
|
|
case 19:
|
|||
|
|
this.txtNetMask = ((System.Windows.Controls.TextBox)(target));
|
|||
|
|
return;
|
|||
|
|
case 20:
|
|||
|
|
this.txtNetGw = ((System.Windows.Controls.TextBox)(target));
|
|||
|
|
return;
|
|||
|
|
case 21:
|
|||
|
|
this.txtNetDns = ((System.Windows.Controls.TextBox)(target));
|
|||
|
|
return;
|
|||
|
|
case 22:
|
|||
|
|
|
|||
|
|
#line 134 "..\..\..\Pages\GatewayPage.xaml"
|
|||
|
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.LoadNetConfig_Click);
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
return;
|
|||
|
|
case 23:
|
|||
|
|
|
|||
|
|
#line 136 "..\..\..\Pages\GatewayPage.xaml"
|
|||
|
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveNetConfig_Click);
|
|||
|
|
|
|||
|
|
#line default
|
|||
|
|
#line hidden
|
|||
|
|
return;
|
|||
|
|
case 24:
|
|||
|
|
this.txtNetResult = ((System.Windows.Controls.TextBlock)(target));
|
|||
|
|
return;
|
|||
|
|
}
|
|||
|
|
this._contentLoaded = true;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|