forked from yanw/App_win_iot_V2.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
441 lines
17 KiB
441 lines
17 KiB
#pragma checksum "..\..\..\View\WeatherControl.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "6EFE1F29F1F446EF17BA94D90D84BBF27B3A92A534697DE8620DA1EAF56684C5"
|
|
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// 此代码由工具生成。
|
|
// 运行时版本:4.0.30319.42000
|
|
//
|
|
// 对此文件的更改可能会导致不正确的行为,并且如果
|
|
// 重新生成代码,这些更改将会丢失。
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
using IOTContainer.View;
|
|
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 IOTContainer.View {
|
|
|
|
|
|
/// <summary>
|
|
/// WeatherControl
|
|
/// </summary>
|
|
public partial class WeatherControl : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector {
|
|
|
|
|
|
#line 9 "..\..\..\View\WeatherControl.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Grid gridMain;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 10 "..\..\..\View\WeatherControl.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Viewbox style1;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 27 "..\..\..\View\WeatherControl.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Image imgWeather1;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 28 "..\..\..\View\WeatherControl.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock txtTemp1;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 29 "..\..\..\View\WeatherControl.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock txtTempZ1;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 39 "..\..\..\View\WeatherControl.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Image sd;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 40 "..\..\..\View\WeatherControl.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock txtsd1;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 41 "..\..\..\View\WeatherControl.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock txtsdp1;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 50 "..\..\..\View\WeatherControl.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Image fl;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 51 "..\..\..\View\WeatherControl.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock txtFL1;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 61 "..\..\..\View\WeatherControl.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Image aqi;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 62 "..\..\..\View\WeatherControl.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock txtAQI1;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 63 "..\..\..\View\WeatherControl.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock txtAQIA1;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 73 "..\..\..\View\WeatherControl.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Image pm;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 74 "..\..\..\View\WeatherControl.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock txtPM1;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 80 "..\..\..\View\WeatherControl.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock txtPMpm1;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 81 "..\..\..\View\WeatherControl.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock txtPMV1;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 86 "..\..\..\View\WeatherControl.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Viewbox style2;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 106 "..\..\..\View\WeatherControl.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Image imgWeather2;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 107 "..\..\..\View\WeatherControl.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock txtTemp2;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 108 "..\..\..\View\WeatherControl.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock txtTempZ2;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 121 "..\..\..\View\WeatherControl.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Image sd2;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 122 "..\..\..\View\WeatherControl.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock txtsd2;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 123 "..\..\..\View\WeatherControl.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock txtsdp2;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 135 "..\..\..\View\WeatherControl.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Image fl2;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 136 "..\..\..\View\WeatherControl.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock txtFL2;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 149 "..\..\..\View\WeatherControl.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Image aqi2;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 150 "..\..\..\View\WeatherControl.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock txtAQI2;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 151 "..\..\..\View\WeatherControl.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock txtAQIA2;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 164 "..\..\..\View\WeatherControl.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.Image pm2;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 165 "..\..\..\View\WeatherControl.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock txtPM2;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 171 "..\..\..\View\WeatherControl.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock txtPMpm2;
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
|
|
#line 172 "..\..\..\View\WeatherControl.xaml"
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
internal System.Windows.Controls.TextBlock txtPMV2;
|
|
|
|
#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("/IOTContainer;component/view/weathercontrol.xaml", System.UriKind.Relative);
|
|
|
|
#line 1 "..\..\..\View\WeatherControl.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.gridMain = ((System.Windows.Controls.Grid)(target));
|
|
return;
|
|
case 2:
|
|
this.style1 = ((System.Windows.Controls.Viewbox)(target));
|
|
return;
|
|
case 3:
|
|
this.imgWeather1 = ((System.Windows.Controls.Image)(target));
|
|
return;
|
|
case 4:
|
|
this.txtTemp1 = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
case 5:
|
|
this.txtTempZ1 = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
case 6:
|
|
this.sd = ((System.Windows.Controls.Image)(target));
|
|
return;
|
|
case 7:
|
|
this.txtsd1 = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
case 8:
|
|
this.txtsdp1 = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
case 9:
|
|
this.fl = ((System.Windows.Controls.Image)(target));
|
|
return;
|
|
case 10:
|
|
this.txtFL1 = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
case 11:
|
|
this.aqi = ((System.Windows.Controls.Image)(target));
|
|
return;
|
|
case 12:
|
|
this.txtAQI1 = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
case 13:
|
|
this.txtAQIA1 = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
case 14:
|
|
this.pm = ((System.Windows.Controls.Image)(target));
|
|
return;
|
|
case 15:
|
|
this.txtPM1 = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
case 16:
|
|
this.txtPMpm1 = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
case 17:
|
|
this.txtPMV1 = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
case 18:
|
|
this.style2 = ((System.Windows.Controls.Viewbox)(target));
|
|
return;
|
|
case 19:
|
|
this.imgWeather2 = ((System.Windows.Controls.Image)(target));
|
|
return;
|
|
case 20:
|
|
this.txtTemp2 = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
case 21:
|
|
this.txtTempZ2 = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
case 22:
|
|
this.sd2 = ((System.Windows.Controls.Image)(target));
|
|
return;
|
|
case 23:
|
|
this.txtsd2 = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
case 24:
|
|
this.txtsdp2 = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
case 25:
|
|
this.fl2 = ((System.Windows.Controls.Image)(target));
|
|
return;
|
|
case 26:
|
|
this.txtFL2 = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
case 27:
|
|
this.aqi2 = ((System.Windows.Controls.Image)(target));
|
|
return;
|
|
case 28:
|
|
this.txtAQI2 = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
case 29:
|
|
this.txtAQIA2 = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
case 30:
|
|
this.pm2 = ((System.Windows.Controls.Image)(target));
|
|
return;
|
|
case 31:
|
|
this.txtPM2 = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
case 32:
|
|
this.txtPMpm2 = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
case 33:
|
|
this.txtPMV2 = ((System.Windows.Controls.TextBlock)(target));
|
|
return;
|
|
}
|
|
this._contentLoaded = true;
|
|
}
|
|
}
|
|
}
|
|
|
|
|