diff --git a/StartServerWPF.Models/StartServerWPF.Models.csproj b/StartServerWPF.Models/StartServerWPF.Models.csproj index ad6681e..862b166 100644 --- a/StartServerWPF.Models/StartServerWPF.Models.csproj +++ b/StartServerWPF.Models/StartServerWPF.Models.csproj @@ -9,9 +9,10 @@ Properties StartServerWPF.Models StartServerWPF.Models - v4.6.1 + v4.8 512 true + true diff --git a/StartServerWPF.Models/packages.config b/StartServerWPF.Models/packages.config index 7974ccd..e9b5c53 100644 --- a/StartServerWPF.Models/packages.config +++ b/StartServerWPF.Models/packages.config @@ -2,6 +2,6 @@ - - + + \ No newline at end of file diff --git a/StartServerWPF.Modules.Main/ViewModels/SetParamViewModel.cs b/StartServerWPF.Modules.Main/ViewModels/SetParamViewModel.cs index f35a00d..d08d196 100644 --- a/StartServerWPF.Modules.Main/ViewModels/SetParamViewModel.cs +++ b/StartServerWPF.Modules.Main/ViewModels/SetParamViewModel.cs @@ -63,8 +63,6 @@ namespace StartServerWPF.Modules.Main.ViewModels } string json = File.ReadAllText(file); WareaModel = JsonConvert.DeserializeObject(json); - WareaModel.apmModel.station = string.Empty; - WareaModel.apmModel.ttime[0].ttime2d = string.Empty; _workareasModelArray.selectIndex = value; } SetProperty(ref _wareaSelectedIndex, value); diff --git a/StartServerWPF.Modules.MseedChart/Properties/Resources.Designer.cs b/StartServerWPF.Modules.MseedChart/Properties/Resources.Designer.cs index 98c8532..649571e 100644 --- a/StartServerWPF.Modules.MseedChart/Properties/Resources.Designer.cs +++ b/StartServerWPF.Modules.MseedChart/Properties/Resources.Designer.cs @@ -1,24 +1,25 @@ //------------------------------------------------------------------------------ // // 此代码由工具生成。 -// 运行时版本: 4.0.30319.42000 +// 运行时版本:4.0.30319.42000 // -// 对此文件的更改可能导致不正确的行为,如果 -// 重新生成代码,则所做更改将丢失。 +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 // //------------------------------------------------------------------------------ namespace StartServerWPF.Modules.MseedChart.Properties { + using System; /// - /// 强类型资源类,用于查找本地化字符串等。 + /// 一个强类型的资源类,用于查找本地化的字符串等。 /// // 此类是由 StronglyTypedResourceBuilder // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。 // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen // (以 /str 作为命令选项),或重新生成 VS 项目。 - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class Resources { @@ -32,12 +33,12 @@ namespace StartServerWPF.Modules.MseedChart.Properties { } /// - /// 返回此类使用的缓存 ResourceManager 实例。 + /// 返回此类使用的缓存的 ResourceManager 实例。 /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] internal static global::System.Resources.ResourceManager ResourceManager { get { - if ((resourceMan == null)) { + if (object.ReferenceEquals(resourceMan, null)) { global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("StartServerWPF.Modules.MseedChart.Properties.Resources", typeof(Resources).Assembly); resourceMan = temp; } diff --git a/StartServerWPF.Modules.MseedChart/Properties/Settings.Designer.cs b/StartServerWPF.Modules.MseedChart/Properties/Settings.Designer.cs index 7b22f64..e04634d 100644 --- a/StartServerWPF.Modules.MseedChart/Properties/Settings.Designer.cs +++ b/StartServerWPF.Modules.MseedChart/Properties/Settings.Designer.cs @@ -1,28 +1,24 @@ //------------------------------------------------------------------------------ // -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 +// 此代码由工具生成。 +// 运行时版本:4.0.30319.42000 // -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 // //------------------------------------------------------------------------------ -namespace StartServerWPF.Modules.MseedChart.Properties -{ +namespace StartServerWPF.Modules.MseedChart.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 - { + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.8.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 - { + public static Settings Default { + get { return defaultInstance; } } diff --git a/StartServerWPF.Modules.MseedChart/StartServerWPF.Modules.MseedChart.csproj b/StartServerWPF.Modules.MseedChart/StartServerWPF.Modules.MseedChart.csproj index d64f645..3411e29 100644 --- a/StartServerWPF.Modules.MseedChart/StartServerWPF.Modules.MseedChart.csproj +++ b/StartServerWPF.Modules.MseedChart/StartServerWPF.Modules.MseedChart.csproj @@ -9,13 +9,14 @@ library StartServerWPF.Modules.MseedChart StartServerWPF.Modules.MseedChart - v4.6.1 + v4.8 512 {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} 4 true + true diff --git a/StartServerWPF.Modules.MseedChart/app.config b/StartServerWPF.Modules.MseedChart/app.config index 374208e..5e4baf0 100644 --- a/StartServerWPF.Modules.MseedChart/app.config +++ b/StartServerWPF.Modules.MseedChart/app.config @@ -1,31 +1,31 @@ - + - - + + - - + + - - + + - - + + - - + + - - + + - \ No newline at end of file + diff --git a/StartServerWPF.Modules.MseedChart/packages.config b/StartServerWPF.Modules.MseedChart/packages.config index 816c363..9995e0b 100644 --- a/StartServerWPF.Modules.MseedChart/packages.config +++ b/StartServerWPF.Modules.MseedChart/packages.config @@ -34,9 +34,9 @@ - - - + + + @@ -56,11 +56,11 @@ - - + + - + @@ -68,6 +68,6 @@ - + \ No newline at end of file