diff --git a/.vs/ICSSoft.FromERP/v16/.suo b/.vs/ICSSoft.FromERP/v16/.suo index c690b7a..88d1fb1 100644 Binary files a/.vs/ICSSoft.FromERP/v16/.suo and b/.vs/ICSSoft.FromERP/v16/.suo differ diff --git a/ICSSoft.FromERP/HttpHelper.cs b/ICSSoft.FromERP/HttpHelper.cs index be0ad83..1c720bd 100644 --- a/ICSSoft.FromERP/HttpHelper.cs +++ b/ICSSoft.FromERP/HttpHelper.cs @@ -9,7 +9,7 @@ using System.Reflection; using System.Text; using System.Threading.Tasks; -namespace ICS.Common.Helpers +namespace ICSSoft.FromERP { public class HttpHelper { diff --git a/ICSSoft.FromERP/ICSAddStdWorkHourFromMES.cs b/ICSSoft.FromERP/ICSAddStdWorkHourFromMES.cs index 75a5c94..b41d419 100644 --- a/ICSSoft.FromERP/ICSAddStdWorkHourFromMES.cs +++ b/ICSSoft.FromERP/ICSAddStdWorkHourFromMES.cs @@ -1,4 +1,4 @@ -using ICS.Common.Helpers; + using Newtonsoft.Json; using Quartz; using System; diff --git a/ICSSoft.FromERP/ICSSoft.FromERP.csproj b/ICSSoft.FromERP/ICSSoft.FromERP.csproj index 24123d7..a357889 100644 --- a/ICSSoft.FromERP/ICSSoft.FromERP.csproj +++ b/ICSSoft.FromERP/ICSSoft.FromERP.csproj @@ -137,6 +137,8 @@ + + diff --git a/ICSSoft.FromERP/Model/ApiResult/AbpResultDto.cs b/ICSSoft.FromERP/Model/ApiResult/AbpResultDto.cs new file mode 100644 index 0000000..7c5eead --- /dev/null +++ b/ICSSoft.FromERP/Model/ApiResult/AbpResultDto.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace ICSSoft.FromERP.Model +{ + public class AbpResultDto + { + public object Result { get; set; } + public bool Success { get; set; } + public ErrorDto Error { get; set; } + } +} diff --git a/ICSSoft.FromERP/Model/ApiResult/ErrorDto.cs b/ICSSoft.FromERP/Model/ApiResult/ErrorDto.cs new file mode 100644 index 0000000..330dc6a --- /dev/null +++ b/ICSSoft.FromERP/Model/ApiResult/ErrorDto.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace ICSSoft.FromERP.Model +{ + public class ErrorDto + { + public int Code { get; set; } + public string Message { get; set; } + public string Details { get; set; } + } +} diff --git a/ICSSoft.Test/Program.cs b/ICSSoft.Test/Program.cs index aeadcc2..c19c622 100644 --- a/ICSSoft.Test/Program.cs +++ b/ICSSoft.Test/Program.cs @@ -13,7 +13,7 @@ namespace ICSSoft.Test //ICSVendor test = new ICSVendor(); //test.Execute(); - IcsAutoMo2Lot4JWX test = new IcsAutoMo2Lot4JWX(); + Class1 test = new Class1(); test.Execute(); }