diff --git a/Backup/MES_Wind.sln b/Backup/MES_Wind.sln
new file mode 100644
index 0000000000000000000000000000000000000000..1895143762d07ea371a685657390d02fd14055ec
--- /dev/null
+++ b/Backup/MES_Wind.sln
@@ -0,0 +1,22 @@
+
+Microsoft Visual Studio Solution File, Format Version 10.00
+# Visual Studio 10
+VisualStudioVersion = 14.0.25420.1
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MES_Wind", "MES_Wind\MES_Wind.csproj", "{A303A9F5-8181-46B5-876C-D1BC99C3FFFD}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {A303A9F5-8181-46B5-876C-D1BC99C3FFFD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {A303A9F5-8181-46B5-876C-D1BC99C3FFFD}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {A303A9F5-8181-46B5-876C-D1BC99C3FFFD}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {A303A9F5-8181-46B5-876C-D1BC99C3FFFD}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/Backup/MES_Wind/MES_Wind.csproj b/Backup/MES_Wind/MES_Wind.csproj
new file mode 100644
index 0000000000000000000000000000000000000000..270966a75fcb424970cfc13005d7e4f4f807b460
--- /dev/null
+++ b/Backup/MES_Wind/MES_Wind.csproj
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="14.0" DefaultTargets="Build" 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>{A303A9F5-8181-46B5-876C-D1BC99C3FFFD}</ProjectGuid>
+ <OutputType>WinExe</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>MES_Wind</RootNamespace>
+ <AssemblyName>MES_Wind</AssemblyName>
+ <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <PlatformTarget>AnyCPU</PlatformTarget>
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <PlatformTarget>AnyCPU</PlatformTarget>
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\Release\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="DotSpatial.Analysis">
+ <HintPath>..\..\..\..\..\Downloads\DotSpatial 1.9\DotSpatial.Analysis.dll</HintPath>
+ </Reference>
+ <Reference Include="DotSpatial.Compatibility">
+ <HintPath>..\..\..\..\..\Downloads\DotSpatial 1.9\DotSpatial.Compatibility.dll</HintPath>
+ </Reference>
+ <Reference Include="DotSpatial.Controls">
+ <HintPath>..\..\..\..\..\Downloads\DotSpatial 1.9\DotSpatial.Controls.dll</HintPath>
+ </Reference>
+ <Reference Include="DotSpatial.Data">
+ <HintPath>..\..\..\..\..\Downloads\DotSpatial 1.9\DotSpatial.Data.dll</HintPath>
+ </Reference>
+ <Reference Include="DotSpatial.Data.Forms">
+ <HintPath>..\..\..\..\..\Downloads\DotSpatial 1.9\DotSpatial.Data.Forms.dll</HintPath>
+ </Reference>
+ <Reference Include="DotSpatial.Extensions">
+ <HintPath>..\..\..\..\..\Downloads\DotSpatial 1.9\DotSpatial.Extensions.dll</HintPath>
+ </Reference>
+ <Reference Include="DotSpatial.Modeling.Forms">
+ <HintPath>..\..\..\..\..\Downloads\DotSpatial 1.9\DotSpatial.Modeling.Forms.dll</HintPath>
+ </Reference>
+ <Reference Include="DotSpatial.Mono">
+ <HintPath>..\..\..\..\..\Downloads\DotSpatial 1.9\DotSpatial.Mono.dll</HintPath>
+ </Reference>
+ <Reference Include="DotSpatial.Positioning">
+ <HintPath>..\..\..\..\..\Downloads\DotSpatial 1.9\DotSpatial.Positioning.dll</HintPath>
+ </Reference>
+ <Reference Include="DotSpatial.Positioning.Design">
+ <HintPath>..\..\..\..\..\Downloads\DotSpatial 1.9\DotSpatial.Positioning.Design.dll</HintPath>
+ </Reference>
+ <Reference Include="DotSpatial.Positioning.Forms">
+ <HintPath>..\..\..\..\..\Downloads\DotSpatial 1.9\DotSpatial.Positioning.Forms.dll</HintPath>
+ </Reference>
+ <Reference Include="DotSpatial.Projections">
+ <HintPath>..\..\..\..\..\Downloads\DotSpatial 1.9\DotSpatial.Projections.dll</HintPath>
+ </Reference>
+ <Reference Include="DotSpatial.Projections.Forms">
+ <HintPath>..\..\..\..\..\Downloads\DotSpatial 1.9\DotSpatial.Projections.Forms.dll</HintPath>
+ </Reference>
+ <Reference Include="DotSpatial.Serialization">
+ <HintPath>..\..\..\..\..\Downloads\DotSpatial 1.9\DotSpatial.Serialization.dll</HintPath>
+ </Reference>
+ <Reference Include="DotSpatial.Symbology">
+ <HintPath>..\..\..\..\..\Downloads\DotSpatial 1.9\DotSpatial.Symbology.dll</HintPath>
+ </Reference>
+ <Reference Include="DotSpatial.Symbology.Forms">
+ <HintPath>..\..\..\..\..\Downloads\DotSpatial 1.9\DotSpatial.Symbology.Forms.dll</HintPath>
+ </Reference>
+ <Reference Include="DotSpatial.Topology">
+ <HintPath>..\..\..\..\..\Downloads\DotSpatial 1.9\DotSpatial.Topology.dll</HintPath>
+ </Reference>
+ <Reference Include="System" />
+ <Reference Include="System.ComponentModel.Composition" />
+ <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.Deployment" />
+ <Reference Include="System.Drawing" />
+ <Reference Include="System.Windows.Forms" />
+ <Reference Include="System.Xml" />
+ <Reference Include="ZedGraph">
+ <HintPath>..\..\..\..\..\Downloads\zedgraph_dll_v515\zedgraph_dll_v515\zedgraph_dll_v5.1.5\ZedGraph.dll</HintPath>
+ </Reference>
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="frmGraph.cs">
+ <SubType>Form</SubType>
+ </Compile>
+ <Compile Include="frmGraph.Designer.cs">
+ <DependentUpon>frmGraph.cs</DependentUpon>
+ </Compile>
+ <Compile Include="frmMain.cs">
+ <SubType>Form</SubType>
+ </Compile>
+ <Compile Include="frmMain.Designer.cs">
+ <DependentUpon>frmMain.cs</DependentUpon>
+ </Compile>
+ <Compile Include="Program.cs" />
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ <EmbeddedResource Include="frmGraph.resx">
+ <DependentUpon>frmGraph.cs</DependentUpon>
+ </EmbeddedResource>
+ <EmbeddedResource Include="frmMain.resx">
+ <DependentUpon>frmMain.cs</DependentUpon>
+ </EmbeddedResource>
+ <EmbeddedResource Include="Properties\Resources.resx">
+ <Generator>ResXFileCodeGenerator</Generator>
+ <LastGenOutput>Resources.Designer.cs</LastGenOutput>
+ <SubType>Designer</SubType>
+ </EmbeddedResource>
+ <Compile Include="Properties\Resources.Designer.cs">
+ <AutoGen>True</AutoGen>
+ <DependentUpon>Resources.resx</DependentUpon>
+ </Compile>
+ <None Include="Properties\Settings.settings">
+ <Generator>SettingsSingleFileGenerator</Generator>
+ <LastGenOutput>Settings.Designer.cs</LastGenOutput>
+ </None>
+ <Compile Include="Properties\Settings.Designer.cs">
+ <AutoGen>True</AutoGen>
+ <DependentUpon>Settings.settings</DependentUpon>
+ <DesignTimeSharedInput>True</DesignTimeSharedInput>
+ </Compile>
+ </ItemGroup>
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+</Project>
\ No newline at end of file
diff --git a/Backup/MES_Wind/Program.cs b/Backup/MES_Wind/Program.cs
new file mode 100644
index 0000000000000000000000000000000000000000..7d8cb9c89eaeabee69498f6023213d86521e766e
--- /dev/null
+++ b/Backup/MES_Wind/Program.cs
@@ -0,0 +1,21 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Windows.Forms;
+
+namespace MES_Wind
+{
+ static class Program
+ {
+ /// <summary>
+ /// The main entry point for the application.
+ /// </summary>
+ [STAThread]
+ static void Main()
+ {
+ Application.EnableVisualStyles();
+ Application.SetCompatibleTextRenderingDefault(false);
+ Application.Run(new frmMain());
+ }
+ }
+}
diff --git a/Backup/MES_Wind/Properties/AssemblyInfo.cs b/Backup/MES_Wind/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000000000000000000000000000000000000..a63239282fa61ac069da2a24876d55d407969833
--- /dev/null
+++ b/Backup/MES_Wind/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("MES_Wind")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("MES_Wind")]
+[assembly: AssemblyCopyright("Copyright © 2016")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("a303a9f5-8181-46b5-876c-d1bc99c3fffd")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/Backup/MES_Wind/Properties/Resources.Designer.cs b/Backup/MES_Wind/Properties/Resources.Designer.cs
new file mode 100644
index 0000000000000000000000000000000000000000..a84f6348d86c8651a6f040e114cf8affb36a4cf9
--- /dev/null
+++ b/Backup/MES_Wind/Properties/Resources.Designer.cs
@@ -0,0 +1,71 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace MES_Wind.Properties
+{
+
+
+ /// <summary>
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ /// </summary>
+ // This class was auto-generated by the StronglyTypedResourceBuilder
+ // class via a tool like ResGen or Visual Studio.
+ // To add or remove a member, edit your .ResX file then rerun ResGen
+ // with the /str option, or rebuild your VS project.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class Resources
+ {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Resources()
+ {
+ }
+
+ /// <summary>
+ /// Returns the cached ResourceManager instance used by this class.
+ /// </summary>
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager
+ {
+ get
+ {
+ if ((resourceMan == null))
+ {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("MES_Wind.Properties.Resources", typeof(Resources).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ /// <summary>
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ /// </summary>
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture
+ {
+ get
+ {
+ return resourceCulture;
+ }
+ set
+ {
+ resourceCulture = value;
+ }
+ }
+ }
+}
diff --git a/Backup/MES_Wind/Properties/Resources.resx b/Backup/MES_Wind/Properties/Resources.resx
new file mode 100644
index 0000000000000000000000000000000000000000..af7dbebbacef595e3089c01c05671016c21a8304
--- /dev/null
+++ b/Backup/MES_Wind/Properties/Resources.resx
@@ -0,0 +1,117 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+ <!--
+ Microsoft ResX Schema
+
+ Version 2.0
+
+ The primary goals of this format is to allow a simple XML format
+ that is mostly human readable. The generation and parsing of the
+ various data types are done through the TypeConverter classes
+ associated with the data types.
+
+ Example:
+
+ ... ado.net/XML headers & schema ...
+ <resheader name="resmimetype">text/microsoft-resx</resheader>
+ <resheader name="version">2.0</resheader>
+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+ <value>[base64 mime encoded serialized .NET Framework object]</value>
+ </data>
+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+ <comment>This is a comment</comment>
+ </data>
+
+ There are any number of "resheader" rows that contain simple
+ name/value pairs.
+
+ Each data row contains a name, and value. The row also contains a
+ type or mimetype. Type corresponds to a .NET class that support
+ text/value conversion through the TypeConverter architecture.
+ Classes that don't support this are serialized and stored with the
+ mimetype set.
+
+ The mimetype is used for serialized objects, and tells the
+ ResXResourceReader how to depersist the object. This is currently not
+ extensible. For a given mimetype the value must be set accordingly:
+
+ Note - application/x-microsoft.net.object.binary.base64 is the format
+ that the ResXResourceWriter will generate, however the reader can
+ read any of the formats listed below.
+
+ mimetype: application/x-microsoft.net.object.binary.base64
+ value : The object must be serialized with
+ : System.Serialization.Formatters.Binary.BinaryFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.soap.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.bytearray.base64
+ value : The object must be serialized into a byte array
+ : using a System.ComponentModel.TypeConverter
+ : and then encoded with base64 encoding.
+ -->
+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+ <xsd:element name="root" msdata:IsDataSet="true">
+ <xsd:complexType>
+ <xsd:choice maxOccurs="unbounded">
+ <xsd:element name="metadata">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" />
+ <xsd:attribute name="type" type="xsd:string" />
+ <xsd:attribute name="mimetype" type="xsd:string" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="assembly">
+ <xsd:complexType>
+ <xsd:attribute name="alias" type="xsd:string" />
+ <xsd:attribute name="name" type="xsd:string" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="data">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="resheader">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" />
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:choice>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:schema>
+ <resheader name="resmimetype">
+ <value>text/microsoft-resx</value>
+ </resheader>
+ <resheader name="version">
+ <value>2.0</value>
+ </resheader>
+ <resheader name="reader">
+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+ <resheader name="writer">
+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+</root>
\ No newline at end of file
diff --git a/Backup/MES_Wind/Properties/Settings.Designer.cs b/Backup/MES_Wind/Properties/Settings.Designer.cs
new file mode 100644
index 0000000000000000000000000000000000000000..ebe02d15de228e7ac792dd23ae3c6e7e1231bfb8
--- /dev/null
+++ b/Backup/MES_Wind/Properties/Settings.Designer.cs
@@ -0,0 +1,30 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace MES_Wind.Properties
+{
+
+
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
+ internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
+ {
+
+ private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
+
+ public static Settings Default
+ {
+ get
+ {
+ return defaultInstance;
+ }
+ }
+ }
+}
diff --git a/Backup/MES_Wind/Properties/Settings.settings b/Backup/MES_Wind/Properties/Settings.settings
new file mode 100644
index 0000000000000000000000000000000000000000..39645652af62950ebf3b28ec3a5400dcec30b1c4
--- /dev/null
+++ b/Backup/MES_Wind/Properties/Settings.settings
@@ -0,0 +1,7 @@
+<?xml version='1.0' encoding='utf-8'?>
+<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
+ <Profiles>
+ <Profile Name="(Default)" />
+ </Profiles>
+ <Settings />
+</SettingsFile>
diff --git a/Backup/MES_Wind/frmGraph.Designer.cs b/Backup/MES_Wind/frmGraph.Designer.cs
new file mode 100644
index 0000000000000000000000000000000000000000..e3fbb9f963e9bf5e10ec9bf929ee31ad83985d7e
--- /dev/null
+++ b/Backup/MES_Wind/frmGraph.Designer.cs
@@ -0,0 +1,81 @@
+namespace MES_Wind
+{
+ partial class frmGraph
+ {
+ /// <summary>
+ /// Required designer variable.
+ /// </summary>
+ private System.ComponentModel.IContainer components = null;
+
+ /// <summary>
+ /// Clean up any resources being used.
+ /// </summary>
+ /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ /// <summary>
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ /// </summary>
+ private void InitializeComponent()
+ {
+ this.components = new System.ComponentModel.Container();
+ this.pnlGraph_Dock = new System.Windows.Forms.Panel();
+ this.zedGraphControl1 = new ZedGraph.ZedGraphControl();
+ this.pnlGraph_Dock.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // pnlGraph_Dock
+ //
+ this.pnlGraph_Dock.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
+ this.pnlGraph_Dock.Controls.Add(this.zedGraphControl1);
+ this.pnlGraph_Dock.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.pnlGraph_Dock.Location = new System.Drawing.Point(0, 0);
+ this.pnlGraph_Dock.Name = "pnlGraph_Dock";
+ this.pnlGraph_Dock.Size = new System.Drawing.Size(282, 253);
+ this.pnlGraph_Dock.TabIndex = 0;
+ //
+ // zedGraphControl1
+ //
+ this.zedGraphControl1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.zedGraphControl1.Location = new System.Drawing.Point(0, 0);
+ this.zedGraphControl1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+ this.zedGraphControl1.Name = "zedGraphControl1";
+ this.zedGraphControl1.ScrollGrace = 0D;
+ this.zedGraphControl1.ScrollMaxX = 0D;
+ this.zedGraphControl1.ScrollMaxY = 0D;
+ this.zedGraphControl1.ScrollMaxY2 = 0D;
+ this.zedGraphControl1.ScrollMinX = 0D;
+ this.zedGraphControl1.ScrollMinY = 0D;
+ this.zedGraphControl1.ScrollMinY2 = 0D;
+ this.zedGraphControl1.Size = new System.Drawing.Size(282, 253);
+ this.zedGraphControl1.TabIndex = 0;
+ //
+ // frmGraph
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(282, 253);
+ this.Controls.Add(this.pnlGraph_Dock);
+ this.Name = "frmGraph";
+ this.Text = "frmGraph";
+ this.pnlGraph_Dock.ResumeLayout(false);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.Panel pnlGraph_Dock;
+ private ZedGraph.ZedGraphControl zedGraphControl1;
+ }
+}
\ No newline at end of file
diff --git a/Backup/MES_Wind/frmGraph.cs b/Backup/MES_Wind/frmGraph.cs
new file mode 100644
index 0000000000000000000000000000000000000000..ed3923f0e114d1cf54fb09f45660ea655cc39ae9
--- /dev/null
+++ b/Backup/MES_Wind/frmGraph.cs
@@ -0,0 +1,19 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+
+namespace MES_Wind
+{
+ public partial class frmGraph : Form
+ {
+ public frmGraph()
+ {
+ InitializeComponent();
+ }
+ }
+}
diff --git a/Backup/MES_Wind/frmGraph.resx b/Backup/MES_Wind/frmGraph.resx
new file mode 100644
index 0000000000000000000000000000000000000000..1af7de150c99c12dd67a509fe57c10d63e4eeb04
--- /dev/null
+++ b/Backup/MES_Wind/frmGraph.resx
@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+ <!--
+ Microsoft ResX Schema
+
+ Version 2.0
+
+ The primary goals of this format is to allow a simple XML format
+ that is mostly human readable. The generation and parsing of the
+ various data types are done through the TypeConverter classes
+ associated with the data types.
+
+ Example:
+
+ ... ado.net/XML headers & schema ...
+ <resheader name="resmimetype">text/microsoft-resx</resheader>
+ <resheader name="version">2.0</resheader>
+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+ <value>[base64 mime encoded serialized .NET Framework object]</value>
+ </data>
+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+ <comment>This is a comment</comment>
+ </data>
+
+ There are any number of "resheader" rows that contain simple
+ name/value pairs.
+
+ Each data row contains a name, and value. The row also contains a
+ type or mimetype. Type corresponds to a .NET class that support
+ text/value conversion through the TypeConverter architecture.
+ Classes that don't support this are serialized and stored with the
+ mimetype set.
+
+ The mimetype is used for serialized objects, and tells the
+ ResXResourceReader how to depersist the object. This is currently not
+ extensible. For a given mimetype the value must be set accordingly:
+
+ Note - application/x-microsoft.net.object.binary.base64 is the format
+ that the ResXResourceWriter will generate, however the reader can
+ read any of the formats listed below.
+
+ mimetype: application/x-microsoft.net.object.binary.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.soap.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.bytearray.base64
+ value : The object must be serialized into a byte array
+ : using a System.ComponentModel.TypeConverter
+ : and then encoded with base64 encoding.
+ -->
+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+ <xsd:element name="root" msdata:IsDataSet="true">
+ <xsd:complexType>
+ <xsd:choice maxOccurs="unbounded">
+ <xsd:element name="metadata">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" />
+ </xsd:sequence>
+ <xsd:attribute name="name" use="required" type="xsd:string" />
+ <xsd:attribute name="type" type="xsd:string" />
+ <xsd:attribute name="mimetype" type="xsd:string" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="assembly">
+ <xsd:complexType>
+ <xsd:attribute name="alias" type="xsd:string" />
+ <xsd:attribute name="name" type="xsd:string" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="data">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="resheader">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" />
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:choice>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:schema>
+ <resheader name="resmimetype">
+ <value>text/microsoft-resx</value>
+ </resheader>
+ <resheader name="version">
+ <value>2.0</value>
+ </resheader>
+ <resheader name="reader">
+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+ <resheader name="writer">
+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+</root>
\ No newline at end of file
diff --git a/Backup/MES_Wind/frmMain.Designer.cs b/Backup/MES_Wind/frmMain.Designer.cs
new file mode 100644
index 0000000000000000000000000000000000000000..9b758221acc3e90ec04b8fab51747e5cb3ef51de
--- /dev/null
+++ b/Backup/MES_Wind/frmMain.Designer.cs
@@ -0,0 +1,274 @@
+namespace MES_Wind
+{
+ partial class frmMain
+ {
+ /// <summary>
+ /// Required designer variable.
+ /// </summary>
+ private System.ComponentModel.IContainer components = null;
+
+ /// <summary>
+ /// Clean up any resources being used.
+ /// </summary>
+ /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ /// <summary>
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ /// </summary>
+ private void InitializeComponent()
+ {
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMain));
+ this.appManager1 = new DotSpatial.Controls.AppManager();
+ this.sdmMapLegend = new DotSpatial.Controls.SpatialDockManager();
+ this.legend1 = new DotSpatial.Controls.Legend();
+ this.map1 = new DotSpatial.Controls.Map();
+ this.splitter1 = new System.Windows.Forms.Splitter();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.sdmDataOperations = new DotSpatial.Controls.SpatialDockManager();
+ this.gbOperations = new System.Windows.Forms.GroupBox();
+ this.btnViewAttributeTable = new System.Windows.Forms.Button();
+ this.dgvAttributeTable = new System.Windows.Forms.DataGridView();
+ this.bntLoadWindX = new System.Windows.Forms.Button();
+ this.btnLoadWindY = new System.Windows.Forms.Button();
+ this.btnCalcStress = new System.Windows.Forms.Button();
+ ((System.ComponentModel.ISupportInitialize)(this.sdmMapLegend)).BeginInit();
+ this.sdmMapLegend.Panel1.SuspendLayout();
+ this.sdmMapLegend.Panel2.SuspendLayout();
+ this.sdmMapLegend.SuspendLayout();
+ this.panel1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.sdmDataOperations)).BeginInit();
+ this.sdmDataOperations.Panel1.SuspendLayout();
+ this.sdmDataOperations.Panel2.SuspendLayout();
+ this.sdmDataOperations.SuspendLayout();
+ this.gbOperations.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.dgvAttributeTable)).BeginInit();
+ this.SuspendLayout();
+ //
+ // appManager1
+ //
+ this.appManager1.Directories = ((System.Collections.Generic.List<string>)(resources.GetObject("appManager1.Directories")));
+ this.appManager1.DockManager = this.sdmMapLegend;
+ this.appManager1.HeaderControl = null;
+ this.appManager1.Legend = this.legend1;
+ this.appManager1.Map = this.map1;
+ this.appManager1.ProgressHandler = null;
+ this.appManager1.ShowExtensionsDialogMode = DotSpatial.Controls.ShowExtensionsDialogMode.Default;
+ //
+ // sdmMapLegend
+ //
+ this.sdmMapLegend.Dock = System.Windows.Forms.DockStyle.Top;
+ this.sdmMapLegend.Location = new System.Drawing.Point(0, 0);
+ this.sdmMapLegend.Name = "sdmMapLegend";
+ //
+ // sdmMapLegend.Panel1
+ //
+ this.sdmMapLegend.Panel1.Controls.Add(this.legend1);
+ //
+ // sdmMapLegend.Panel2
+ //
+ this.sdmMapLegend.Panel2.Controls.Add(this.map1);
+ this.sdmMapLegend.Size = new System.Drawing.Size(782, 234);
+ this.sdmMapLegend.SplitterDistance = 260;
+ this.sdmMapLegend.TabControl1 = null;
+ this.sdmMapLegend.TabControl2 = null;
+ this.sdmMapLegend.TabIndex = 0;
+ //
+ // legend1
+ //
+ this.legend1.BackColor = System.Drawing.Color.White;
+ this.legend1.ControlRectangle = new System.Drawing.Rectangle(0, 0, 260, 234);
+ this.legend1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.legend1.DocumentRectangle = new System.Drawing.Rectangle(0, 0, 187, 428);
+ this.legend1.HorizontalScrollEnabled = true;
+ this.legend1.Indentation = 30;
+ this.legend1.IsInitialized = false;
+ this.legend1.Location = new System.Drawing.Point(0, 0);
+ this.legend1.MinimumSize = new System.Drawing.Size(5, 5);
+ this.legend1.Name = "legend1";
+ this.legend1.ProgressHandler = null;
+ this.legend1.ResetOnResize = false;
+ this.legend1.SelectionFontColor = System.Drawing.Color.Black;
+ this.legend1.SelectionHighlight = System.Drawing.Color.FromArgb(((int)(((byte)(215)))), ((int)(((byte)(238)))), ((int)(((byte)(252)))));
+ this.legend1.Size = new System.Drawing.Size(260, 234);
+ this.legend1.TabIndex = 0;
+ this.legend1.TabStop = false;
+ this.legend1.Text = "legend1";
+ this.legend1.VerticalScrollEnabled = true;
+ //
+ // map1
+ //
+ this.map1.AllowDrop = true;
+ this.map1.BackColor = System.Drawing.Color.White;
+ this.map1.CollectAfterDraw = false;
+ this.map1.CollisionDetection = false;
+ this.map1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.map1.ExtendBuffer = false;
+ this.map1.FunctionMode = DotSpatial.Controls.FunctionMode.Pan;
+ this.map1.IsBusy = false;
+ this.map1.IsZoomedToMaxExtent = false;
+ this.map1.Legend = this.legend1;
+ this.map1.Location = new System.Drawing.Point(0, 0);
+ this.map1.Name = "map1";
+ this.map1.ProgressHandler = null;
+ this.map1.ProjectionModeDefine = DotSpatial.Controls.ActionMode.Prompt;
+ this.map1.ProjectionModeReproject = DotSpatial.Controls.ActionMode.Prompt;
+ this.map1.RedrawLayersWhileResizing = false;
+ this.map1.SelectionEnabled = true;
+ this.map1.Size = new System.Drawing.Size(518, 234);
+ this.map1.TabIndex = 0;
+ this.map1.ZoomOutFartherThanMaxExtent = false;
+ //
+ // splitter1
+ //
+ this.splitter1.Location = new System.Drawing.Point(0, 0);
+ this.splitter1.Name = "splitter1";
+ this.splitter1.Size = new System.Drawing.Size(114, 360);
+ this.splitter1.TabIndex = 0;
+ this.splitter1.TabStop = false;
+ //
+ // panel1
+ //
+ this.panel1.Controls.Add(this.sdmDataOperations);
+ this.panel1.Controls.Add(this.sdmMapLegend);
+ this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.panel1.Location = new System.Drawing.Point(114, 0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(782, 360);
+ this.panel1.TabIndex = 1;
+ //
+ // sdmDataOperations
+ //
+ this.sdmDataOperations.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.sdmDataOperations.Location = new System.Drawing.Point(0, 234);
+ this.sdmDataOperations.Name = "sdmDataOperations";
+ this.sdmDataOperations.Orientation = System.Windows.Forms.Orientation.Horizontal;
+ //
+ // sdmDataOperations.Panel1
+ //
+ this.sdmDataOperations.Panel1.Controls.Add(this.gbOperations);
+ //
+ // sdmDataOperations.Panel2
+ //
+ this.sdmDataOperations.Panel2.Controls.Add(this.dgvAttributeTable);
+ this.sdmDataOperations.Size = new System.Drawing.Size(782, 126);
+ this.sdmDataOperations.SplitterDistance = 55;
+ this.sdmDataOperations.TabControl1 = null;
+ this.sdmDataOperations.TabControl2 = null;
+ this.sdmDataOperations.TabIndex = 1;
+ //
+ // gbOperations
+ //
+ this.gbOperations.Controls.Add(this.btnViewAttributeTable);
+ this.gbOperations.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.gbOperations.Location = new System.Drawing.Point(0, 0);
+ this.gbOperations.Name = "gbOperations";
+ this.gbOperations.Size = new System.Drawing.Size(782, 55);
+ this.gbOperations.TabIndex = 0;
+ this.gbOperations.TabStop = false;
+ this.gbOperations.Text = "Operations";
+ //
+ // btnViewAttributeTable
+ //
+ this.btnViewAttributeTable.Location = new System.Drawing.Point(7, 22);
+ this.btnViewAttributeTable.Name = "btnViewAttributeTable";
+ this.btnViewAttributeTable.Size = new System.Drawing.Size(188, 23);
+ this.btnViewAttributeTable.TabIndex = 0;
+ this.btnViewAttributeTable.Text = "View Attribute table";
+ this.btnViewAttributeTable.UseVisualStyleBackColor = true;
+ this.btnViewAttributeTable.Click += new System.EventHandler(this.btnViewAttributeTable_Click);
+ //
+ // dgvAttributeTable
+ //
+ this.dgvAttributeTable.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+ this.dgvAttributeTable.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.dgvAttributeTable.Location = new System.Drawing.Point(0, 0);
+ this.dgvAttributeTable.Name = "dgvAttributeTable";
+ this.dgvAttributeTable.RowTemplate.Height = 24;
+ this.dgvAttributeTable.Size = new System.Drawing.Size(782, 67);
+ this.dgvAttributeTable.TabIndex = 0;
+ //
+ // bntLoadWindX
+ //
+ this.bntLoadWindX.Location = new System.Drawing.Point(12, 74);
+ this.bntLoadWindX.Name = "bntLoadWindX";
+ this.bntLoadWindX.Size = new System.Drawing.Size(96, 46);
+ this.bntLoadWindX.TabIndex = 2;
+ this.bntLoadWindX.Text = "Load Xwind";
+ this.bntLoadWindX.UseVisualStyleBackColor = true;
+ this.bntLoadWindX.Click += new System.EventHandler(this.bntLoadWindX_Click);
+ //
+ // btnLoadWindY
+ //
+ this.btnLoadWindY.Location = new System.Drawing.Point(12, 147);
+ this.btnLoadWindY.Name = "btnLoadWindY";
+ this.btnLoadWindY.Size = new System.Drawing.Size(96, 46);
+ this.btnLoadWindY.TabIndex = 3;
+ this.btnLoadWindY.Text = "Load Ywind";
+ this.btnLoadWindY.UseVisualStyleBackColor = true;
+ this.btnLoadWindY.Click += new System.EventHandler(this.btnLoadWindY_Click);
+ //
+ // btnCalcStress
+ //
+ this.btnCalcStress.Location = new System.Drawing.Point(12, 209);
+ this.btnCalcStress.Name = "btnCalcStress";
+ this.btnCalcStress.Size = new System.Drawing.Size(96, 42);
+ this.btnCalcStress.TabIndex = 4;
+ this.btnCalcStress.Text = "Calculate Wind Stress";
+ this.btnCalcStress.UseVisualStyleBackColor = true;
+ this.btnCalcStress.Click += new System.EventHandler(this.btnCalcStress_Click);
+ //
+ // frmMain
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(896, 360);
+ this.Controls.Add(this.btnCalcStress);
+ this.Controls.Add(this.btnLoadWindY);
+ this.Controls.Add(this.bntLoadWindX);
+ this.Controls.Add(this.panel1);
+ this.Controls.Add(this.splitter1);
+ this.Name = "frmMain";
+ this.Text = "Form1";
+ this.sdmMapLegend.Panel1.ResumeLayout(false);
+ this.sdmMapLegend.Panel2.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.sdmMapLegend)).EndInit();
+ this.sdmMapLegend.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
+ this.sdmDataOperations.Panel1.ResumeLayout(false);
+ this.sdmDataOperations.Panel2.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.sdmDataOperations)).EndInit();
+ this.sdmDataOperations.ResumeLayout(false);
+ this.gbOperations.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.dgvAttributeTable)).EndInit();
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private DotSpatial.Controls.AppManager appManager1;
+ private System.Windows.Forms.Splitter splitter1;
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Button bntLoadWindX;
+ private DotSpatial.Controls.SpatialDockManager sdmMapLegend;
+ private DotSpatial.Controls.Legend legend1;
+ private DotSpatial.Controls.Map map1;
+ private System.Windows.Forms.Button btnLoadWindY;
+ private System.Windows.Forms.Button btnCalcStress;
+ private DotSpatial.Controls.SpatialDockManager sdmDataOperations;
+ private System.Windows.Forms.GroupBox gbOperations;
+ private System.Windows.Forms.DataGridView dgvAttributeTable;
+ private System.Windows.Forms.Button btnViewAttributeTable;
+ }
+}
\ No newline at end of file
diff --git a/Backup/MES_Wind/frmMain.cs b/Backup/MES_Wind/frmMain.cs
new file mode 100644
index 0000000000000000000000000000000000000000..733dbb226d292b409261116ec93025f8866772e1
--- /dev/null
+++ b/Backup/MES_Wind/frmMain.cs
@@ -0,0 +1,247 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using System.ComponentModel.Composition;
+using DotSpatial.Controls;
+using DotSpatial.Topology;
+using DotSpatial.Serialization;
+using DotSpatial.Data;
+
+
+
+namespace MES_Wind
+{
+ public partial class frmMain : Form
+ {
+
+ [Export("Shell", typeof(ContainerControl))]
+ private static ContainerControl Shell;
+ #region "Control variables"
+ double distThreshold = 500;
+ #endregion
+
+ public frmMain()
+ {
+
+ InitializeComponent();
+ if (DesignMode) return;
+ Shell = this;
+ appManager1.LoadExtensions();
+ }
+ #region
+ /// <summary>
+ /// This function is used to check if the segment of powerline is broken.
+ /// Based on the given line segment's start and endpoint, it divides the line on
+ /// suitable subsegments defined by threshold length - dThreshold
+ /// </summary>
+ /// <param name="startX">Line segement's start X point</param>
+ /// <param name="startY">Line segement's start Y point</param>
+ /// <param name="endX">Line segement's end X point</param>
+ /// <param name="endY">Line segement's end Y point</param>
+ /// <param name="dThreshold">Line segment length threshold</param>
+ /// <param name="Uwind_raster">Raster Layer for progmostic wind X coord</param>
+ /// <param name="Vwind_raster">Raster Layer for progmostic wind Y coord</param>
+ /// <returns>List of booleans with coordinates if any of them are true, line is broken</returns>
+ /// <remarks></remarks>
+#endregion
+ public List<CheckPoint> CalcBrkPoint(double startX, double startY, double endX, double endY, double dThreshold, IMapRasterLayer Uwind_raster, IMapRasterLayer Vwind_raster)
+ {
+ List<CheckPoint> lineCheckPoint = new List<CheckPoint>();
+ double uwind = 0;
+ double vwind = 0;
+ double umod = 0;
+ double anglewind = 0;
+ double distance = Math.Sqrt((endX - startX) * (endX - startX) + (endY - startY) * (endY - startY));
+ double distpropD = distance / dThreshold;
+ int distpropI = Convert.ToInt32(distpropD);
+ double curX = startX;
+ double curY = startY;
+ CheckPoint chkpnt = new CheckPoint();
+ if (distpropI > 1)
+ {
+ double constXdiff = (endX - startX) / distpropI;
+ double constYdiff = (endY - startY) / distpropI;
+ for (int j = 1; j < distpropI + 1; j++)
+ {
+ if (j == 1)
+ {
+ curX = startX + constXdiff / 2;
+ curY = startY + constXdiff / 2;
+ }
+ else
+ {
+ curX = curX + constXdiff;
+ curY = curY + constYdiff;
+ }
+ Coordinate coords = new Coordinate(curX,curY);
+ RcIndex rowColumnU = Uwind_raster.DataSet.Bounds.ProjToCell(coords);
+ uwind = Uwind_raster.DataSet.Value[rowColumnU.Row, rowColumnU.Column];
+ RcIndex rowColumnV = Vwind_raster.DataSet.Bounds.ProjToCell(coords);
+ vwind = Vwind_raster.DataSet.Value[rowColumnV.Row, rowColumnV.Column];
+ umod = Math.Sqrt(uwind*uwind + vwind*vwind);
+ anglewind = Math.Atan2(uwind,vwind);
+ chkpnt.X = curX;
+ chkpnt.Y = curY;
+ chkpnt.Ifbroken = false;
+ lineCheckPoint.Add(chkpnt);
+ }
+ }
+ return lineCheckPoint;
+ }
+
+
+ private void bntLoadWindX_Click(object sender, EventArgs e)
+ {
+ map1.AddLayer();
+ map1.ZoomToMaxExtent();
+
+ }
+
+ private void btnLoadWindY_Click(object sender, EventArgs e)
+ {
+ map1.AddLayer();
+ map1.ZoomToMaxExtent();
+ }
+
+ private void btnViewAttributeTable_Click(object sender, EventArgs e)
+ {
+ //Declare a datatable
+ DataTable dt = null;
+
+ if (map1.GetLineLayers().Count() > 0)
+ {
+ MapLineLayer pwlLayer = default(MapLineLayer);
+
+ pwlLayer = (MapLineLayer)map1.GetLineLayers()[0];
+
+ if (pwlLayer == null)
+ {
+ MessageBox.Show("The layer is not a line layer.");
+ }
+ else
+ {
+ //Get the shapefile's attribute table to our datatable dt
+ dt = pwlLayer.DataSet.DataTable;
+
+ //Set the datagridview datasource from datatable dt
+ dgvAttributeTable.DataSource = dt;
+ }
+ }
+ else
+ {
+ MessageBox.Show("Please add a layer to the map.");
+ }
+
+
+
+ }
+
+ private void btnCalcStress_Click(object sender, EventArgs e)
+ {
+ try
+ {
+ //extract prognostic u layer
+ IMapRasterLayer u_rasterLayer = default(IMapRasterLayer);
+ IMapRasterLayer v_rasterLayer = default(IMapRasterLayer);
+ if (map1.GetRasterLayers().Count() == 1)
+ {
+ MessageBox.Show("Please add a raster layer");
+ return;
+ }
+
+ //use the first raster layer in the map
+ u_rasterLayer = map1.GetRasterLayers()[0];
+ v_rasterLayer = map1.GetRasterLayers()[1];
+
+ //get the powerline line layer
+ IMapLineLayer pwlLayer = default(IMapLineLayer);
+ if (map1.GetLineLayers().Count() == 0)
+ {
+ MessageBox.Show("Please add powerline shapefile");
+ return;
+ }
+ pwlLayer = map1.GetLineLayers()[0];
+ //copy line layer FeatureSet
+ IFeatureSet pwlineSet = pwlLayer.DataSet;
+ // new FeatureSet for resulting broken powerlines
+ IFeatureSet brklineSet = new FeatureSet(FeatureType.Line);
+ DataTable dt = pwlineSet.DataTable;
+ List<CheckPoint> fullCheckList = new List<CheckPoint>();
+ foreach (IFeature feature in pwlineSet.Features)
+ {
+ List<CheckPoint> lineCheckList = new List<CheckPoint>();
+ LineString linestr = feature.BasicGeometry as LineString;
+ if (linestr != null)
+ { // case if powerline consists of one line
+ // get coordinates list
+ IList<Coordinate> points = linestr.Coordinates;
+ IFeature brklineFeature = brklineSet.AddFeature(linestr);
+ //get associated attributes
+ DataRow featureData = feature.DataRow;
+ int id = int.Parse(featureData["PW_ID"].ToString());
+ int year = int.Parse(featureData["Year"].ToString());
+ double height = double.Parse(featureData["height"].ToString());
+ // cycle throw all points in line
+ for (int i=1; i< points.Count; i++)
+ {
+ List<CheckPoint> segmentCheckList = new List<CheckPoint>();
+ double x1 = points[i - 1].X;
+ double y1 = points[i - 1].Y;
+ double x2 = points[i].X;
+ double y2 = points[i].Y;
+ segmentCheckList = CalcBrkPoint(x1,y1,x2,y2,distThreshold,u_rasterLayer,v_rasterLayer);
+ lineCheckList.AddRange(segmentCheckList);
+ }
+
+ fullCheckList.AddRange(lineCheckList);
+ brklineFeature.CopyAttributes(feature);
+ }
+ else
+ {//case if powerline is multiline
+ MultiLineString multiline = feature.BasicGeometry as MultiLineString;
+ if ( multiline != null){
+ foreach (IGeometry line in multiline.Geometries)
+ {
+ IList<Coordinate> points = line.Coordinates;
+ }
+ IFeature brklineFeature = brklineSet.AddFeature(multiline);
+ MessageBox.Show("Works");
+ }
+
+
+ }
+ }
+
+
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show("Something went wrong");
+ }
+
+ }
+ }
+ public class PathPoint
+ {
+ public double X1;
+ public double Y1;
+ public double X2;
+ public double Y2;
+ public double Distance;
+ public double Uwind;
+ public double Vwind;
+ public int Year;
+ }
+ public class CheckPoint
+ {
+ public double X;
+ public double Y;
+ public bool Ifbroken;
+ }
+
+}
diff --git a/Backup/MES_Wind/frmMain.resx b/Backup/MES_Wind/frmMain.resx
new file mode 100644
index 0000000000000000000000000000000000000000..b270b44ca7ef19ee10c200cd809e2da19f371124
--- /dev/null
+++ b/Backup/MES_Wind/frmMain.resx
@@ -0,0 +1,133 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+ <!--
+ Microsoft ResX Schema
+
+ Version 2.0
+
+ The primary goals of this format is to allow a simple XML format
+ that is mostly human readable. The generation and parsing of the
+ various data types are done through the TypeConverter classes
+ associated with the data types.
+
+ Example:
+
+ ... ado.net/XML headers & schema ...
+ <resheader name="resmimetype">text/microsoft-resx</resheader>
+ <resheader name="version">2.0</resheader>
+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+ <value>[base64 mime encoded serialized .NET Framework object]</value>
+ </data>
+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+ <comment>This is a comment</comment>
+ </data>
+
+ There are any number of "resheader" rows that contain simple
+ name/value pairs.
+
+ Each data row contains a name, and value. The row also contains a
+ type or mimetype. Type corresponds to a .NET class that support
+ text/value conversion through the TypeConverter architecture.
+ Classes that don't support this are serialized and stored with the
+ mimetype set.
+
+ The mimetype is used for serialized objects, and tells the
+ ResXResourceReader how to depersist the object. This is currently not
+ extensible. For a given mimetype the value must be set accordingly:
+
+ Note - application/x-microsoft.net.object.binary.base64 is the format
+ that the ResXResourceWriter will generate, however the reader can
+ read any of the formats listed below.
+
+ mimetype: application/x-microsoft.net.object.binary.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.soap.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.bytearray.base64
+ value : The object must be serialized into a byte array
+ : using a System.ComponentModel.TypeConverter
+ : and then encoded with base64 encoding.
+ -->
+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+ <xsd:element name="root" msdata:IsDataSet="true">
+ <xsd:complexType>
+ <xsd:choice maxOccurs="unbounded">
+ <xsd:element name="metadata">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" />
+ </xsd:sequence>
+ <xsd:attribute name="name" use="required" type="xsd:string" />
+ <xsd:attribute name="type" type="xsd:string" />
+ <xsd:attribute name="mimetype" type="xsd:string" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="assembly">
+ <xsd:complexType>
+ <xsd:attribute name="alias" type="xsd:string" />
+ <xsd:attribute name="name" type="xsd:string" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="data">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="resheader">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" />
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:choice>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:schema>
+ <resheader name="resmimetype">
+ <value>text/microsoft-resx</value>
+ </resheader>
+ <resheader name="version">
+ <value>2.0</value>
+ </resheader>
+ <resheader name="reader">
+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+ <resheader name="writer">
+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+ <metadata name="appManager1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+ <value>17, 17</value>
+ </metadata>
+ <data name="appManager1.Directories" mimetype="application/x-microsoft.net.object.binary.base64">
+ <value>
+ AAEAAAD/////AQAAAAAAAAAMAgAAAJoBbXNjb3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1u
+ ZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5XV0sIG1zY29ybGliLCBWZXJzaW9u
+ PTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OQUB
+ AAAAMFN5c3RlbS5Db2xsZWN0aW9ucy5HZW5lcmljLkxpc3RgMVtbU3lzdGVtLlN0cmluZwMAAAAGX2l0
+ ZW1zBV9zaXplCF92ZXJzaW9uBgAACAgCAAAACQMAAAACAAAAAgAAABEDAAAABAAAAAYEAAAAFkFwcGxp
+ Y2F0aW9uIEV4dGVuc2lvbnMGBQAAAAdQbHVnaW5zDQIL
+</value>
+ </data>
+</root>
\ No newline at end of file
diff --git a/MES_Wind.sln b/MES_Wind.sln
index 0c4a8ab458470c6a61cb120fabd370f675e7438a..c43b26134e609ef13f00c1d361aab4e90688cd7a 100644
--- a/MES_Wind.sln
+++ b/MES_Wind.sln
@@ -1,8 +1,6 @@
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 14
-VisualStudioVersion = 14.0.25420.1
-MinimumVisualStudioVersion = 10.0.40219.1
+Microsoft Visual Studio Solution File, Format Version 11.00
+# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MES_Wind", "MES_Wind\MES_Wind.csproj", "{A303A9F5-8181-46B5-876C-D1BC99C3FFFD}"
EndProject
Global
diff --git a/MES_Wind/bin/Debug/MES_Wind.exe b/MES_Wind/bin/Debug/MES_Wind.exe
index 2f3dcfa7e1360c16960fcf84090cb1cfac7d734d..5f1455ebb25671a2311b7f472bafa8bab5b44534 100644
Binary files a/MES_Wind/bin/Debug/MES_Wind.exe and b/MES_Wind/bin/Debug/MES_Wind.exe differ
diff --git a/MES_Wind/bin/Debug/MES_Wind.pdb b/MES_Wind/bin/Debug/MES_Wind.pdb
index 04fae3c7eb1029c9dd0ee7d57283cef1edaba979..8ad34910943986f957ef34691ef2c610b6f47f5e 100644
Binary files a/MES_Wind/bin/Debug/MES_Wind.pdb and b/MES_Wind/bin/Debug/MES_Wind.pdb differ
diff --git a/MES_Wind/bin/Debug/MES_Wind.vshost.exe b/MES_Wind/bin/Debug/MES_Wind.vshost.exe
index 8f90da475a8319aa76856e089ccc9e517eeb134a..6b241bcd65a4769673693b96129ef13ae25e17ec 100644
Binary files a/MES_Wind/bin/Debug/MES_Wind.vshost.exe and b/MES_Wind/bin/Debug/MES_Wind.vshost.exe differ
diff --git a/MES_Wind/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/MES_Wind/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
index fb508c208a4acab23446b53e82afae5d863e6951..147137f32ceb82e088c1738cdf9d757e9d3d0565 100644
Binary files a/MES_Wind/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/MES_Wind/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ
diff --git a/MES_Wind/obj/Debug/MES_Wind.csproj.FileListAbsolute.txt b/MES_Wind/obj/Debug/MES_Wind.csproj.FileListAbsolute.txt
index 199056c92d0a3db77960547f02074552cb87e685..6cdf416c955c1a03c02dc5d01402d91e52a80909 100644
--- a/MES_Wind/obj/Debug/MES_Wind.csproj.FileListAbsolute.txt
+++ b/MES_Wind/obj/Debug/MES_Wind.csproj.FileListAbsolute.txt
@@ -102,3 +102,89 @@ C:\Users\Алена\documents\visual studio 2015\Projects\MES_Wind\MES_Wind\bin\
C:\Users\Алена\documents\visual studio 2015\Projects\MES_Wind\MES_Wind\bin\Debug\zh-tw\ZedGraph.resources.dll
C:\Users\Алена\documents\visual studio 2015\Projects\MES_Wind\MES_Wind\obj\Debug\MES_Wind.frmGraph.resources
C:\Users\Алена\documents\visual studio 2015\Projects\MES_Wind\MES_Wind\obj\Debug\MES_Wind.csprojResolveAssemblyReference.cache
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\obj\Debug\MES_Wind.exe
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\obj\Debug\MES_Wind.pdb
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\MES_Wind.exe
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\MES_Wind.pdb
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\DotSpatial.Analysis.pdb
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\DotSpatial.Analysis.xml
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\DotSpatial.Compatibility.pdb
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\DotSpatial.Compatibility.xml
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\DotSpatial.Controls.pdb
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\DotSpatial.Controls.xml
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\DotSpatial.Data.pdb
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\DotSpatial.Data.xml
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\DotSpatial.Data.Forms.pdb
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\DotSpatial.Data.Forms.xml
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\DotSpatial.Extensions.pdb
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\DotSpatial.Extensions.xml
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\DotSpatial.Modeling.Forms.pdb
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\DotSpatial.Modeling.Forms.xml
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\DotSpatial.Mono.pdb
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\DotSpatial.Mono.xml
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\DotSpatial.Positioning.pdb
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\DotSpatial.Positioning.xml
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\DotSpatial.Positioning.Design.pdb
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\DotSpatial.Positioning.Design.xml
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\DotSpatial.Positioning.Forms.pdb
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\DotSpatial.Positioning.Forms.xml
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\DotSpatial.Projections.pdb
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\DotSpatial.Projections.xml
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\DotSpatial.Projections.Forms.pdb
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\DotSpatial.Projections.Forms.xml
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\DotSpatial.Serialization.pdb
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\DotSpatial.Serialization.xml
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\DotSpatial.Symbology.pdb
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\DotSpatial.Symbology.xml
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\DotSpatial.Symbology.Forms.pdb
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\DotSpatial.Symbology.Forms.xml
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\DotSpatial.Topology.pdb
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\DotSpatial.Topology.xml
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\ZedGraph.xml
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\de-DE\DotSpatial.Controls.resources.dll
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\it-IT\DotSpatial.Controls.resources.dll
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\pt-BR\DotSpatial.Controls.resources.dll
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\zh-CN\DotSpatial.Controls.resources.dll
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\zh-CN\DotSpatial.Data.Forms.resources.dll
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\zh-CN\DotSpatial.Modeling.Forms.resources.dll
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\zh-MO\DotSpatial.Modeling.Forms.resources.dll
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\cs\DotSpatial.Projections.Forms.resources.dll
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\de\DotSpatial.Projections.Forms.resources.dll
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\de-DE\DotSpatial.Projections.Forms.resources.dll
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\el\DotSpatial.Projections.Forms.resources.dll
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\it-IT\DotSpatial.Projections.Forms.resources.dll
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\ja-JP\DotSpatial.Projections.Forms.resources.dll
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\lt\DotSpatial.Projections.Forms.resources.dll
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\nl\DotSpatial.Projections.Forms.resources.dll
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\pt\DotSpatial.Projections.Forms.resources.dll
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\pt-BR\DotSpatial.Projections.Forms.resources.dll
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\ro\DotSpatial.Projections.Forms.resources.dll
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\th\DotSpatial.Projections.Forms.resources.dll
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\vi-VN\DotSpatial.Projections.Forms.resources.dll
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\zh-CN\DotSpatial.Projections.Forms.resources.dll
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\de-DE\DotSpatial.Symbology.resources.dll
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\cs\DotSpatial.Symbology.Forms.resources.dll
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\de-DE\DotSpatial.Symbology.Forms.resources.dll
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\en-US\DotSpatial.Symbology.Forms.resources.dll
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\it\DotSpatial.Symbology.Forms.resources.dll
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\it-IT\DotSpatial.Symbology.Forms.resources.dll
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\pt-BR\DotSpatial.Symbology.Forms.resources.dll
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\zh-CN\DotSpatial.Symbology.Forms.resources.dll
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\de\ZedGraph.resources.dll
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\es\ZedGraph.resources.dll
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\fr\ZedGraph.resources.dll
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\hu\ZedGraph.resources.dll
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\it\ZedGraph.resources.dll
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\ja\ZedGraph.resources.dll
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\pt\ZedGraph.resources.dll
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\ru\ZedGraph.resources.dll
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\sk\ZedGraph.resources.dll
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\sv\ZedGraph.resources.dll
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\tr\ZedGraph.resources.dll
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\zh-CN\ZedGraph.resources.dll
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\bin\Debug\zh-tw\ZedGraph.resources.dll
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\obj\Debug\MES_Wind.csprojResolveAssemblyReference.cache
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\obj\Debug\MES_Wind.frmGraph.resources
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\obj\Debug\MES_Wind.frmMain.resources
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\obj\Debug\MES_Wind.Properties.Resources.resources
+C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind\obj\Debug\MES_Wind.csproj.GenerateResource.Cache
diff --git a/MES_Wind/obj/Debug/MES_Wind.csproj.GenerateResource.Cache b/MES_Wind/obj/Debug/MES_Wind.csproj.GenerateResource.Cache
index 90f74de816a793b9fbf8a88ff760525e0107a191..2519674b69188d02cab962f1e4ea362abfbc3dc7 100644
Binary files a/MES_Wind/obj/Debug/MES_Wind.csproj.GenerateResource.Cache and b/MES_Wind/obj/Debug/MES_Wind.csproj.GenerateResource.Cache differ
diff --git a/MES_Wind/obj/Debug/MES_Wind.csprojResolveAssemblyReference.cache b/MES_Wind/obj/Debug/MES_Wind.csprojResolveAssemblyReference.cache
index 9b41c699e05e48978f34e427c1a40f71ad5c7656..d5f6c22ffb8e82ddfda4a47b3fdfe5c6b7bea630 100644
Binary files a/MES_Wind/obj/Debug/MES_Wind.csprojResolveAssemblyReference.cache and b/MES_Wind/obj/Debug/MES_Wind.csprojResolveAssemblyReference.cache differ
diff --git a/MES_Wind/obj/Debug/MES_Wind.exe b/MES_Wind/obj/Debug/MES_Wind.exe
index 2f3dcfa7e1360c16960fcf84090cb1cfac7d734d..5f1455ebb25671a2311b7f472bafa8bab5b44534 100644
Binary files a/MES_Wind/obj/Debug/MES_Wind.exe and b/MES_Wind/obj/Debug/MES_Wind.exe differ
diff --git a/MES_Wind/obj/Debug/MES_Wind.pdb b/MES_Wind/obj/Debug/MES_Wind.pdb
index 04fae3c7eb1029c9dd0ee7d57283cef1edaba979..8ad34910943986f957ef34691ef2c610b6f47f5e 100644
Binary files a/MES_Wind/obj/Debug/MES_Wind.pdb and b/MES_Wind/obj/Debug/MES_Wind.pdb differ
diff --git a/UpgradeLog.XML b/UpgradeLog.XML
new file mode 100644
index 0000000000000000000000000000000000000000..a6427f1d0ae054da9c68245377034e882f9736e4
--- /dev/null
+++ b/UpgradeLog.XML
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type='text/xsl' href='_UpgradeReport_Files/UpgradeReport.xslt'?><UpgradeLog>
+<Properties><Property Name="Solution" Value="MES_Wind">
+</Property><Property Name="Файл решения" Value="C:\Users\Geophyslab-laptop\Documents\Mes_wind\MES_Wind.sln">
+</Property><Property Name="Date" Value="25 августа 2016 г.">
+</Property><Property Name="Time" Value="1:08">
+</Property></Properties><Event ErrorLevel="0" Project="" Source="MES_Wind.sln" Description="Успешно создана резервная копия файла C:\Users\Geophyslab-laptop\Documents\Mes_wind\Backup\MES_Wind.sln">
+</Event><Event ErrorLevel="0" Project="MES_Wind" Source="MES_Wind\MES_Wind.csproj" Description="Успешно создана резервная копия файла проекта: C:\Users\Geophyslab-laptop\Documents\Mes_wind\Backup\MES_Wind\MES_Wind.csproj">
+</Event><Event ErrorLevel="0" Project="MES_Wind" Source="MES_Wind\frmGraph.cs" Description="Успешно создана резервная копия файла C:\Users\Geophyslab-laptop\Documents\Mes_wind\Backup\MES_Wind\frmGraph.cs">
+</Event><Event ErrorLevel="0" Project="MES_Wind" Source="MES_Wind\frmGraph.Designer.cs" Description="Успешно создана резервная копия файла C:\Users\Geophyslab-laptop\Documents\Mes_wind\Backup\MES_Wind\frmGraph.Designer.cs">
+</Event><Event ErrorLevel="0" Project="MES_Wind" Source="MES_Wind\frmMain.cs" Description="Успешно создана резервная копия файла C:\Users\Geophyslab-laptop\Documents\Mes_wind\Backup\MES_Wind\frmMain.cs">
+</Event><Event ErrorLevel="0" Project="MES_Wind" Source="MES_Wind\frmMain.Designer.cs" Description="Успешно создана резервная копия файла C:\Users\Geophyslab-laptop\Documents\Mes_wind\Backup\MES_Wind\frmMain.Designer.cs">
+</Event><Event ErrorLevel="0" Project="MES_Wind" Source="MES_Wind\Program.cs" Description="Успешно создана резервная копия файла C:\Users\Geophyslab-laptop\Documents\Mes_wind\Backup\MES_Wind\Program.cs">
+</Event><Event ErrorLevel="0" Project="MES_Wind" Source="MES_Wind\Properties\AssemblyInfo.cs" Description="Успешно создана резервная копия файла C:\Users\Geophyslab-laptop\Documents\Mes_wind\Backup\MES_Wind\Properties\AssemblyInfo.cs">
+</Event><Event ErrorLevel="0" Project="MES_Wind" Source="MES_Wind\Properties\Resources.Designer.cs" Description="Успешно создана резервная копия файла C:\Users\Geophyslab-laptop\Documents\Mes_wind\Backup\MES_Wind\Properties\Resources.Designer.cs">
+</Event><Event ErrorLevel="0" Project="MES_Wind" Source="MES_Wind\Properties\Settings.Designer.cs" Description="Успешно создана резервная копия файла C:\Users\Geophyslab-laptop\Documents\Mes_wind\Backup\MES_Wind\Properties\Settings.Designer.cs">
+</Event><Event ErrorLevel="0" Project="MES_Wind" Source="MES_Wind\Properties\Settings.settings" Description="Успешно создана резервная копия файла C:\Users\Geophyslab-laptop\Documents\Mes_wind\Backup\MES_Wind\Properties\Settings.settings">
+</Event><Event ErrorLevel="0" Project="MES_Wind" Source="MES_Wind\frmGraph.resx" Description="Успешно создана резервная копия файла C:\Users\Geophyslab-laptop\Documents\Mes_wind\Backup\MES_Wind\frmGraph.resx">
+</Event><Event ErrorLevel="0" Project="MES_Wind" Source="MES_Wind\frmMain.resx" Description="Успешно создана резервная копия файла C:\Users\Geophyslab-laptop\Documents\Mes_wind\Backup\MES_Wind\frmMain.resx">
+</Event><Event ErrorLevel="0" Project="MES_Wind" Source="MES_Wind\Properties\Resources.resx" Description="Успешно создана резервная копия файла C:\Users\Geophyslab-laptop\Documents\Mes_wind\Backup\MES_Wind\Properties\Resources.resx">
+</Event><Event ErrorLevel="0" Project="MES_Wind" Source="MES_Wind\MES_Wind.csproj" Description="Файл проекта не нуждается в преобразовании.">
+</Event><Event ErrorLevel="3" Project="MES_Wind" Source="MES_Wind\MES_Wind.csproj" Description="Преобразование не требуется">
+</Event><Event ErrorLevel="0" Project="" Source="MES_Wind.sln" Description="Преобразование решения успешно завершено">
+</Event><Event ErrorLevel="3" Project="" Source="MES_Wind.sln" Description="Converted">
+</Event></UpgradeLog>
\ No newline at end of file
diff --git a/_UpgradeReport_Files/UpgradeReport.css b/_UpgradeReport_Files/UpgradeReport.css
new file mode 100644
index 0000000000000000000000000000000000000000..fae98af0a8673fbeff0703f087b0e0912c95464a
--- /dev/null
+++ b/_UpgradeReport_Files/UpgradeReport.css
@@ -0,0 +1,207 @@
+BODY
+{
+ BACKGROUND-COLOR: white;
+ FONT-FAMILY: "Verdana", sans-serif;
+ FONT-SIZE: 100%;
+ MARGIN-LEFT: 0px;
+ MARGIN-TOP: 0px
+}
+P
+{
+ FONT-FAMILY: "Verdana", sans-serif;
+ FONT-SIZE: 70%;
+ LINE-HEIGHT: 12pt;
+ MARGIN-BOTTOM: 0px;
+ MARGIN-LEFT: 10px;
+ MARGIN-TOP: 10px
+}
+.note
+{
+ BACKGROUND-COLOR: #ffffff;
+ COLOR: #336699;
+ FONT-FAMILY: "Verdana", sans-serif;
+ FONT-SIZE: 100%;
+ MARGIN-BOTTOM: 0px;
+ MARGIN-LEFT: 0px;
+ MARGIN-TOP: 0px;
+ PADDING-RIGHT: 10px
+}
+.infotable
+{
+ BACKGROUND-COLOR: #f0f0e0;
+ BORDER-BOTTOM: #ffffff 0px solid;
+ BORDER-COLLAPSE: collapse;
+ BORDER-LEFT: #ffffff 0px solid;
+ BORDER-RIGHT: #ffffff 0px solid;
+ BORDER-TOP: #ffffff 0px solid;
+ FONT-SIZE: 70%;
+ MARGIN-LEFT: 10px
+}
+.issuetable
+{
+ BACKGROUND-COLOR: #ffffe8;
+ BORDER-COLLAPSE: collapse;
+ COLOR: #000000;
+ FONT-SIZE: 100%;
+ MARGIN-BOTTOM: 10px;
+ MARGIN-LEFT: 13px;
+ MARGIN-TOP: 0px
+}
+.issuetitle
+{
+ BACKGROUND-COLOR: #ffffff;
+ BORDER-BOTTOM: #dcdcdc 1px solid;
+ BORDER-TOP: #dcdcdc 1px;
+ COLOR: #003366;
+ FONT-WEIGHT: normal
+}
+.header
+{
+ BACKGROUND-COLOR: #cecf9c;
+ BORDER-BOTTOM: #ffffff 1px solid;
+ BORDER-LEFT: #ffffff 1px solid;
+ BORDER-RIGHT: #ffffff 1px solid;
+ BORDER-TOP: #ffffff 1px solid;
+ COLOR: #000000;
+ FONT-WEIGHT: bold
+}
+.issuehdr
+{
+ BACKGROUND-COLOR: #E0EBF5;
+ BORDER-BOTTOM: #dcdcdc 1px solid;
+ BORDER-TOP: #dcdcdc 1px solid;
+ COLOR: #000000;
+ FONT-WEIGHT: normal
+}
+.issuenone
+{
+ BACKGROUND-COLOR: #ffffff;
+ BORDER-BOTTOM: 0px;
+ BORDER-LEFT: 0px;
+ BORDER-RIGHT: 0px;
+ BORDER-TOP: 0px;
+ COLOR: #000000;
+ FONT-WEIGHT: normal
+}
+.content
+{
+ BACKGROUND-COLOR: #e7e7ce;
+ BORDER-BOTTOM: #ffffff 1px solid;
+ BORDER-LEFT: #ffffff 1px solid;
+ BORDER-RIGHT: #ffffff 1px solid;
+ BORDER-TOP: #ffffff 1px solid;
+ PADDING-LEFT: 3px
+}
+.issuecontent
+{
+ BACKGROUND-COLOR: #ffffff;
+ BORDER-BOTTOM: #dcdcdc 1px solid;
+ BORDER-TOP: #dcdcdc 1px solid;
+ PADDING-LEFT: 3px
+}
+A:link
+{
+ COLOR: #cc6633;
+ TEXT-DECORATION: underline
+}
+A:visited
+{
+ COLOR: #cc6633;
+}
+A:active
+{
+ COLOR: #cc6633;
+}
+A:hover
+{
+ COLOR: #cc3300;
+ TEXT-DECORATION: underline
+}
+H1
+{
+ BACKGROUND-COLOR: #003366;
+ BORDER-BOTTOM: #336699 6px solid;
+ COLOR: #ffffff;
+ FONT-SIZE: 130%;
+ FONT-WEIGHT: normal;
+ MARGIN: 0em 0em 0em -20px;
+ PADDING-BOTTOM: 8px;
+ PADDING-LEFT: 30px;
+ PADDING-TOP: 16px
+}
+H2
+{
+ COLOR: #000000;
+ FONT-SIZE: 80%;
+ FONT-WEIGHT: bold;
+ MARGIN-BOTTOM: 3px;
+ MARGIN-LEFT: 10px;
+ MARGIN-TOP: 20px;
+ PADDING-LEFT: 0px
+}
+H3
+{
+ COLOR: #000000;
+ FONT-SIZE: 80%;
+ FONT-WEIGHT: bold;
+ MARGIN-BOTTOM: -5px;
+ MARGIN-LEFT: 10px;
+ MARGIN-TOP: 20px
+}
+H4
+{
+ COLOR: #000000;
+ FONT-SIZE: 70%;
+ FONT-WEIGHT: bold;
+ MARGIN-BOTTOM: 0px;
+ MARGIN-TOP: 15px;
+ PADDING-BOTTOM: 0px
+}
+UL
+{
+ COLOR: #000000;
+ FONT-SIZE: 70%;
+ LIST-STYLE: square;
+ MARGIN-BOTTOM: 0pt;
+ MARGIN-TOP: 0pt
+}
+OL
+{
+ COLOR: #000000;
+ FONT-SIZE: 70%;
+ LIST-STYLE: square;
+ MARGIN-BOTTOM: 0pt;
+ MARGIN-TOP: 0pt
+}
+LI
+{
+ LIST-STYLE: square;
+ MARGIN-LEFT: 0px
+}
+.expandable
+{
+ CURSOR: hand
+}
+.expanded
+{
+ color: black
+}
+.collapsed
+{
+ DISPLAY: none
+}
+.foot
+{
+BACKGROUND-COLOR: #ffffff;
+BORDER-BOTTOM: #cecf9c 1px solid;
+BORDER-TOP: #cecf9c 2px solid
+}
+.settings
+{
+MARGIN-LEFT: 25PX;
+}
+.help
+{
+TEXT-ALIGN: right;
+margin-right: 10px;
+}
diff --git a/_UpgradeReport_Files/UpgradeReport.xslt b/_UpgradeReport_Files/UpgradeReport.xslt
new file mode 100644
index 0000000000000000000000000000000000000000..21247d3439f4f331ab91a1be65c32ec2f5beb6cd
--- /dev/null
+++ b/_UpgradeReport_Files/UpgradeReport.xslt
@@ -0,0 +1,232 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt">
+
+ <xsl:key name="ProjectKey" match="Event" use="@Project"/>
+
+ <xsl:template match="Events" mode="createProjects">
+ <projects>
+ <xsl:for-each select="Event">
+ <!--xsl:sort select="@Project" order="descending"/-->
+ <xsl:if test="(1=position()) or (preceding-sibling::*[1]/@Project != @Project)">
+
+ <xsl:variable name="ProjectName" select="@Project"/>
+
+ <project>
+ <xsl:attribute name="name">
+ <xsl:value-of select="@Project"/>
+ </xsl:attribute>
+
+ <xsl:if test="@Project=''">
+ <xsl:attribute name="solution">
+ <xsl:value-of select="@Solution"/>
+ </xsl:attribute>
+ </xsl:if>
+
+ <xsl:for-each select="key('ProjectKey', $ProjectName)">
+ <!--xsl:sort select="@Source" /-->
+ <xsl:if test="(1=position()) or (preceding-sibling::*[1]/@Source != @Source)">
+
+ <source>
+ <xsl:attribute name="name">
+ <xsl:value-of select="@Source"/>
+ </xsl:attribute>
+
+ <xsl:variable name="Source">
+ <xsl:value-of select="@Source"/>
+ </xsl:variable>
+
+ <xsl:for-each select="key('ProjectKey', $ProjectName)[ @Source = $Source ]">
+
+ <event>
+ <xsl:attribute name="error-level">
+ <xsl:value-of select="@ErrorLevel"/>
+ </xsl:attribute>
+ <xsl:attribute name="description">
+ <xsl:value-of select="@Description"/>
+ </xsl:attribute>
+ </event>
+ </xsl:for-each>
+ </source>
+ </xsl:if>
+ </xsl:for-each>
+
+ </project>
+ </xsl:if>
+ </xsl:for-each>
+ </projects>
+ </xsl:template>
+
+ <xsl:template match="projects">
+ <xsl:for-each select="project">
+ <xsl:sort select="@Name" order="ascending"/>
+ <h2>
+ <xsl:if test="@solution"><a _locID="Solution">Решение</a>: <xsl:value-of select="@solution"/></xsl:if>
+ <xsl:if test="not(@solution)"><a _locID="Project">Проект</a>: <xsl:value-of select="@name"/>
+ <xsl:for-each select="source">
+ <xsl:variable name="Hyperlink" select="@name"/>
+ <xsl:for-each select="event[@error-level='4']">
+ <A class="note"><xsl:attribute name="HREF"><xsl:value-of select="$Hyperlink"/></xsl:attribute><xsl:value-of select="@description"/></A>
+ </xsl:for-each>
+ </xsl:for-each>
+ </xsl:if>
+ </h2>
+
+ <table cellpadding="2" cellspacing="0" width="98%" border="1" bordercolor="white" class="infotable">
+ <tr>
+ <td nowrap="1" class="header" _locID="Filename">Имя файла</td>
+ <td nowrap="1" class="header" _locID="Status">Состояние</td>
+ <td nowrap="1" class="header" _locID="Errors">Ошибки</td>
+ <td nowrap="1" class="header" _locID="Warnings">Предупреждения</td>
+ </tr>
+
+ <xsl:for-each select="source">
+ <xsl:sort select="@name" order="ascending"/>
+ <xsl:variable name="source-id" select="generate-id(.)"/>
+
+ <xsl:if test="count(event)!=count(event[@error-level='4'])">
+
+ <tr class="row">
+ <td class="content">
+ <A HREF="javascript:"><xsl:attribute name="onClick">javascript:document.images['<xsl:value-of select="$source-id"/>'].click()</xsl:attribute><IMG border="0" _locID="IMG.alt" _locAttrData="alt" alt="развернуть/свернуть секцию" class="expandable" height="11" onclick="changepic()" src="_UpgradeReport_Files/UpgradeReport_Plus.gif" width="9"><xsl:attribute name="name"><xsl:value-of select="$source-id"/></xsl:attribute><xsl:attribute name="child">src<xsl:value-of select="$source-id"/></xsl:attribute></IMG></A> <xsl:value-of select="@name"/>
+ </td>
+ <td class="content">
+ <xsl:if test="count(event[@error-level='3'])=1">
+ <xsl:for-each select="event[@error-level='3']">
+ <xsl:if test="@description='Converted'"><a _locID="Converted1">Преобразован</a></xsl:if>
+ <xsl:if test="@description!='Converted'"><xsl:value-of select="@description"/></xsl:if>
+ </xsl:for-each>
+ </xsl:if>
+ <xsl:if test="count(event[@error-level='3'])!=1 and count(event[@error-level='3' and @description='Converted'])!=0"><a _locID="Converted2">Преобразован</a>
+ </xsl:if>
+ </td>
+ <td class="content"><xsl:value-of select="count(event[@error-level='2'])"/></td>
+ <td class="content"><xsl:value-of select="count(event[@error-level='1'])"/></td>
+ </tr>
+
+ <tr class="collapsed" bgcolor="#ffffff">
+ <xsl:attribute name="id">src<xsl:value-of select="$source-id"/></xsl:attribute>
+
+ <td colspan="7">
+ <table width="97%" border="1" bordercolor="#dcdcdc" rules="cols" class="issuetable">
+ <tr>
+ <td colspan="7" class="issuetitle" _locID="ConversionIssues">Отчет о преобразовании - <xsl:value-of select="@name"/>:</td>
+ </tr>
+
+ <xsl:for-each select="event[@error-level!='3']">
+ <xsl:if test="@error-level!='4'">
+ <tr>
+ <td class="issuenone" style="border-bottom:solid 1 lightgray">
+ <xsl:value-of select="@description"/>
+ </td>
+ </tr>
+ </xsl:if>
+ </xsl:for-each>
+ </table>
+ </td>
+ </tr>
+ </xsl:if>
+ </xsl:for-each>
+
+ <tr valign="top">
+ <td class="foot">
+ <xsl:if test="count(source)!=1">
+ <xsl:value-of select="count(source)"/><a _locID="file1"> файл(а, ов)</a>
+ </xsl:if>
+ <xsl:if test="count(source)=1">
+ <a _locID="file2">1 файл</a>
+ </xsl:if>
+ </td>
+ <td class="foot">
+ <a _locID="Converted3">Преобразован</a>: <xsl:value-of select="count(source/event[@error-level='3' and @description='Converted'])"/><BR/>
+ <a _locID="NotConverted">Не преобразован</a>: <xsl:value-of select="count(source) - count(source/event[@error-level='3' and @description='Converted'])"/>
+ </td>
+ <td class="foot"><xsl:value-of select="count(source/event[@error-level='2'])"/></td>
+ <td class="foot"><xsl:value-of select="count(source/event[@error-level='1'])"/></td>
+ </tr>
+ </table>
+ </xsl:for-each>
+ </xsl:template>
+
+ <xsl:template match="Property">
+ <xsl:if test="@Name!='Date' and @Name!='Time' and @Name!='LogNumber' and @Name!='Solution'">
+ <tr><td nowrap="1"><b><xsl:value-of select="@Name"/>: </b><xsl:value-of select="@Value"/></td></tr>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template match="UpgradeLog">
+ <html>
+ <head>
+ <META HTTP-EQUIV="Content-Type" content="text/html; charset=utf-8"/>
+ <link rel="stylesheet" href="_UpgradeReport_Files\UpgradeReport.css"/>
+ <title _locID="ConversionReport0">Отчет о преобразовании
+ <xsl:if test="Properties/Property[@Name='LogNumber']">
+ <xsl:value-of select="Properties/Property[@Name='LogNumber']/@Value"/>
+ </xsl:if>
+ </title>
+ <script language="javascript">
+ function outliner () {
+ oMe = window.event.srcElement
+ //get child element
+ var child = document.all[event.srcElement.getAttribute("child",false)];
+ //if child element exists, expand or collapse it.
+ if (null != child)
+ child.className = child.className == "collapsed" ? "expanded" : "collapsed";
+ }
+
+ function changepic() {
+ uMe = window.event.srcElement;
+ var check = uMe.src.toLowerCase();
+ if (check.lastIndexOf("upgradereport_plus.gif") != -1)
+ {
+ uMe.src = "_UpgradeReport_Files/UpgradeReport_Minus.gif"
+ }
+ else
+ {
+ uMe.src = "_UpgradeReport_Files/UpgradeReport_Plus.gif"
+ }
+ }
+ </script>
+ </head>
+ <body topmargin="0" leftmargin="0" rightmargin="0" onclick="outliner();">
+ <h1 _locID="ConversionReport">Отчет о преобразовании - <xsl:value-of select="Properties/Property[@Name='Solution']/@Value"/></h1>
+
+ <p><span class="note">
+ <b _locID="TimeOfConversion">Время преобразования:</b> <xsl:value-of select="Properties/Property[@Name='Date']/@Value"/> <xsl:value-of select="Properties/Property[@Name='Time']/@Value"/><br/>
+ </span></p>
+
+ <xsl:variable name="SortedEvents">
+ <Events>
+ <xsl:for-each select="Event">
+ <xsl:sort select="@Project" order="ascending"/>
+ <xsl:sort select="@Source" order="ascending"/>
+ <xsl:sort select="@ErrorLevel" order="ascending"/>
+ <Event>
+ <xsl:attribute name="Project"><xsl:value-of select="@Project"/> </xsl:attribute>
+ <xsl:attribute name="Solution"><xsl:value-of select="/UpgradeLog/Properties/Property[@Name='Solution']/@Value"/> </xsl:attribute>
+ <xsl:attribute name="Source"><xsl:value-of select="@Source"/> </xsl:attribute>
+ <xsl:attribute name="ErrorLevel"><xsl:value-of select="@ErrorLevel"/> </xsl:attribute>
+ <xsl:attribute name="Description"><xsl:value-of select="@Description"/> </xsl:attribute>
+ </Event>
+ </xsl:for-each>
+ </Events>
+ </xsl:variable>
+
+ <xsl:variable name="Projects">
+ <xsl:apply-templates select="msxsl:node-set($SortedEvents)/*" mode="createProjects"/>
+ </xsl:variable>
+
+ <xsl:apply-templates select="msxsl:node-set($Projects)/*"/>
+
+ <p></p><p>
+ <table class="note">
+ <tr>
+ <td nowrap="1">
+ <b _locID="ConversionSettings">Параметры преобразования</b>
+ </td>
+ </tr>
+ <xsl:apply-templates select="Properties"/>
+ </table></p>
+ </body>
+ </html>
+ </xsl:template>
+</xsl:stylesheet>
diff --git a/_UpgradeReport_Files/UpgradeReport_Minus.gif b/_UpgradeReport_Files/UpgradeReport_Minus.gif
new file mode 100644
index 0000000000000000000000000000000000000000..17751cb2fd5c284dfe984adc4c769982f73a0a66
Binary files /dev/null and b/_UpgradeReport_Files/UpgradeReport_Minus.gif differ
diff --git a/_UpgradeReport_Files/UpgradeReport_Plus.gif b/_UpgradeReport_Files/UpgradeReport_Plus.gif
new file mode 100644
index 0000000000000000000000000000000000000000..f6009ca3f6bf6e8bc5a65f21d032a4e8ceb197f4
Binary files /dev/null and b/_UpgradeReport_Files/UpgradeReport_Plus.gif differ