From f81b265025798bb6625dbd15a5e69c3446f62635 Mon Sep 17 00:00:00 2001 From: ddlucky Date: Thu, 8 Dec 2022 17:59:32 +0800 Subject: [PATCH] '20221208DBResult' --- DSWeb.sln | 23 ++++++++++++++++++-- HcDBUtility/Comm/DBResult.cs | 4 +++- Job_Get_FanWeiDeE9/Job_Get_FanWeiDeE9.csproj | 2 +- 3 files changed, 25 insertions(+), 4 deletions(-) diff --git a/DSWeb.sln b/DSWeb.sln index 6d476b44..6bf0a1f3 100644 --- a/DSWeb.sln +++ b/DSWeb.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.28307.645 +# Visual Studio Version 17 +VisualStudioVersion = 17.4.33122.133 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DSWeb", "DSWeb\DSWeb.csproj", "{A91BE74B-0E69-433D-8622-A5D9CCA76E93}" ProjectSection(ProjectDependencies) = postProject @@ -60,6 +60,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "D7MqClient", "D7MqClient\D7 EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "JobSendAgentMail", "JobSendAgentMail\JobSendAgentMail.csproj", "{A6656568-5C05-4E6C-856B-3FBE6367EA62}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Job_Get_FanWeiDeE9", "Job_Get_FanWeiDeE9\Job_Get_FanWeiDeE9.csproj", "{1D7DA24F-AF80-4DB7-B55A-F1B52B1F1BAF}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -456,6 +458,22 @@ Global {A6656568-5C05-4E6C-856B-3FBE6367EA62}.Release|x64.Build.0 = Release|Any CPU {A6656568-5C05-4E6C-856B-3FBE6367EA62}.Release|x86.ActiveCfg = Release|Any CPU {A6656568-5C05-4E6C-856B-3FBE6367EA62}.Release|x86.Build.0 = Release|Any CPU + {1D7DA24F-AF80-4DB7-B55A-F1B52B1F1BAF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1D7DA24F-AF80-4DB7-B55A-F1B52B1F1BAF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1D7DA24F-AF80-4DB7-B55A-F1B52B1F1BAF}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU + {1D7DA24F-AF80-4DB7-B55A-F1B52B1F1BAF}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU + {1D7DA24F-AF80-4DB7-B55A-F1B52B1F1BAF}.Debug|x64.ActiveCfg = Debug|Any CPU + {1D7DA24F-AF80-4DB7-B55A-F1B52B1F1BAF}.Debug|x64.Build.0 = Debug|Any CPU + {1D7DA24F-AF80-4DB7-B55A-F1B52B1F1BAF}.Debug|x86.ActiveCfg = Debug|Any CPU + {1D7DA24F-AF80-4DB7-B55A-F1B52B1F1BAF}.Debug|x86.Build.0 = Debug|Any CPU + {1D7DA24F-AF80-4DB7-B55A-F1B52B1F1BAF}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1D7DA24F-AF80-4DB7-B55A-F1B52B1F1BAF}.Release|Any CPU.Build.0 = Release|Any CPU + {1D7DA24F-AF80-4DB7-B55A-F1B52B1F1BAF}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU + {1D7DA24F-AF80-4DB7-B55A-F1B52B1F1BAF}.Release|Mixed Platforms.Build.0 = Release|Any CPU + {1D7DA24F-AF80-4DB7-B55A-F1B52B1F1BAF}.Release|x64.ActiveCfg = Release|Any CPU + {1D7DA24F-AF80-4DB7-B55A-F1B52B1F1BAF}.Release|x64.Build.0 = Release|Any CPU + {1D7DA24F-AF80-4DB7-B55A-F1B52B1F1BAF}.Release|x86.ActiveCfg = Release|Any CPU + {1D7DA24F-AF80-4DB7-B55A-F1B52B1F1BAF}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -471,6 +489,7 @@ Global {47E487B5-6E44-4707-AA53-8FE6D2C55EB3} = {BDEA1978-203B-4DF0-923B-A409DFBF6175} {2EB17591-A35A-4F0B-B399-1414BC7AED89} = {BDEA1978-203B-4DF0-923B-A409DFBF6175} {A6656568-5C05-4E6C-856B-3FBE6367EA62} = {BDEA1978-203B-4DF0-923B-A409DFBF6175} + {1D7DA24F-AF80-4DB7-B55A-F1B52B1F1BAF} = {BDEA1978-203B-4DF0-923B-A409DFBF6175} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {F5A6A77B-B278-4804-92CF-AD222ACB93E0} diff --git a/HcDBUtility/Comm/DBResult.cs b/HcDBUtility/Comm/DBResult.cs index 7247be5f..b4525d02 100644 --- a/HcDBUtility/Comm/DBResult.cs +++ b/HcDBUtility/Comm/DBResult.cs @@ -47,9 +47,11 @@ namespace HcUtility.Comm message = _message; } - public void setMessage(bool _success, string _message) { + public void setMessage(bool _success, string _message,object data=null) { success = _success; message += _message+ ";"; + + if (data != null) this.Data = data; } public void OK() diff --git a/Job_Get_FanWeiDeE9/Job_Get_FanWeiDeE9.csproj b/Job_Get_FanWeiDeE9/Job_Get_FanWeiDeE9.csproj index 176228af..e20ed193 100644 --- a/Job_Get_FanWeiDeE9/Job_Get_FanWeiDeE9.csproj +++ b/Job_Get_FanWeiDeE9/Job_Get_FanWeiDeE9.csproj @@ -5,7 +5,7 @@ Debug AnyCPU - {47E487B5-6E44-4707-AA53-8FE6D2C55EB3} + {1D7DA24F-AF80-4DB7-B55A-F1B52B1F1BAF} Library Properties Job_BoschEdi_FTP