diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 03b1bc67..3a13a356 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -286,11 +286,28 @@ EgwProxy.SqlDb:build: script: - '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.csproj" -target:Build /p:Configuration=Release /p:Platform="x86" /p:OutputPath=bin/ /nodeReuse:false /verbosity:minimal /m' +EgwProxy.Gomba:build: + stage: build + tags: + - win + variables: + APP_NAME: EgwProxy.Gomba + only: + refs: + - develop + - SDK/Gomba + before_script: + - *nuget-fix + - '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet' + - *version-fix + script: + - '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.csproj" -target:Build /p:Configuration=Release /p:Platform="x86" /p:OutputPath=bin/ /nodeReuse:false /verbosity:minimal /m' + # -------------------------------- # STAGING: (nuget beta) # -------------------------------- -EgwProxy.Ftp:build:staging: +EgwProxy.Ftp:staging: stage: staging needs: ["EgwProxy.Ftp:build"] tags: @@ -313,7 +330,7 @@ EgwProxy.Ftp:build:staging: - '& "$env:NUGET_PATH" setapikey fe387daa-d07c-3207-877e-96c8be1be91b -source http://nexus.steamware.net/repository/nuget-hosted' - '& "$env:NUGET_PATH" push *$env:NUM_DEB.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted' -EgwProxy.Icoel:build:staging: +EgwProxy.Icoel:staging: stage: staging needs: ["EgwProxy.Icoel:build"] tags: @@ -336,7 +353,7 @@ EgwProxy.Icoel:build:staging: - '& "$env:NUGET_PATH" setapikey fe387daa-d07c-3207-877e-96c8be1be91b -source http://nexus.steamware.net/repository/nuget-hosted' - '& "$env:NUGET_PATH" push *$env:NUM_DEB.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted' -EgwProxy.MultiCncLib:build:staging: +EgwProxy.MultiCncLib:staging: stage: staging needs: ["EgwProxy.MultiCncLib:build"] tags: @@ -360,7 +377,7 @@ EgwProxy.MultiCncLib:build:staging: - '& "$env:NUGET_PATH" setapikey fe387daa-d07c-3207-877e-96c8be1be91b -source http://nexus.steamware.net/repository/nuget-hosted' - '& "$env:NUGET_PATH" push *$env:NUM_DEB.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted' -EgwProxy.OsaiCncLib:build:staging: +EgwProxy.OsaiCncLib:staging: stage: staging needs: ["EgwProxy.OsaiCncLib:build"] tags: @@ -384,7 +401,7 @@ EgwProxy.OsaiCncLib:build:staging: - '& "$env:NUGET_PATH" setapikey fe387daa-d07c-3207-877e-96c8be1be91b -source http://nexus.steamware.net/repository/nuget-hosted' - '& "$env:NUGET_PATH" push *$env:NUM_DEB.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted' -EgwProxy.SqlDb:build:staging: +EgwProxy.SqlDb:staging: stage: staging needs: ["EgwProxy.SqlDb:build"] tags: @@ -407,6 +424,30 @@ EgwProxy.SqlDb:build:staging: - '& "$env:NUGET_PATH" setapikey fe387daa-d07c-3207-877e-96c8be1be91b -source http://nexus.steamware.net/repository/nuget-hosted' - '& "$env:NUGET_PATH" push *$env:NUM_DEB.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted' +EgwProxy.Gomba:staging: + stage: staging + needs: ["EgwProxy.Gomba:build"] + tags: + - win + variables: + CONFIG: Debug + APP_NAME: EgwProxy.Gomba + only: + refs: + - develop + before_script: + - *nuget-fix + - '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet' + - *version-fix + - *nuspec-fix + script: + - '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.csproj" -target:Build /p:Configuration=$env:CONFIG /p:Platform="Any CPU" /p:OutputPath=bin/$env:CONFIG /verbosity:minimal /m' + - '& Remove-Item *.nupkg' + - '& $env:NUGET_PATH pack "$env:APP_NAME.Debug.nuspec"' + - '& "$env:NUGET_PATH" setapikey fe387daa-d07c-3207-877e-96c8be1be91b -source http://nexus.steamware.net/repository/nuget-hosted' + - '& "$env:NUGET_PATH" push *$env:NUM_DEB.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted' + + # -------------------------------- # RELEASE # -------------------------------- @@ -598,6 +639,29 @@ EgwProxy.SqlDb:build:release: - '& "$env:NUGET_PATH" setapikey fe387daa-d07c-3207-877e-96c8be1be91b -source http://nexus.steamware.net/repository/nuget-hosted' - '& "$env:NUGET_PATH" push *$env:NUM_REL.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted' +EgwProxy.Gomba:build:release: + stage: release + needs: ["EgwProxy.Gomba:build"] + tags: + - win + variables: + CONFIG: Release + APP_NAME: EgwProxy.Gomba + only: + refs: + - SDK/Gomba + before_script: + - *nuget-fix + - '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet' + - *version-fix + - *nuspec-fix + script: + - '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.csproj" -target:Build /p:Configuration=$env:CONFIG /p:Platform="Any CPU" /p:OutputPath=bin/$env:CONFIG /verbosity:minimal /m' + - '& Remove-Item *.nupkg' + - '& $env:NUGET_PATH pack "$env:APP_NAME.Release.nuspec"' + - '& "$env:NUGET_PATH" setapikey fe387daa-d07c-3207-877e-96c8be1be91b -source http://nexus.steamware.net/repository/nuget-hosted' + - '& "$env:NUGET_PATH" push *$env:NUM_REL.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted' + # -------------------------------- # DocFx # -------------------------------- @@ -659,13 +723,27 @@ EgwProxy.OsaiCncLib:docfx: EgwProxy.SqlDb:docfx: stage: docfx - needs: ["EgwProxy.Icoel:build"] + needs: ["EgwProxy.SqlDb:build"] tags: - win variables: - APP_NAME: EgwProxy.Icoel + APP_NAME: EgwProxy.SqlDb only: - - SDK/Icoel + - SDK/SqlDb + script: + - docfx $env:APP_NAME/docfx.json + - mv $env:APP_NAME/_site "docfx" + - *DocReplica + +EgwProxy.Gomba:docfx: + stage: docfx + needs: ["EgwProxy.Gomba:build"] + tags: + - win + variables: + APP_NAME: EgwProxy.Gomba + only: + - SDK/Gomba script: - docfx $env:APP_NAME/docfx.json - mv $env:APP_NAME/_site "docfx" diff --git a/EgwProxy.Gomba.Core/Connected Services/GombaWS/ConnectedService.json b/EgwProxy.Gomba.Core/Connected Services/GombaWS/ConnectedService.json deleted file mode 100644 index 657a745b..00000000 --- a/EgwProxy.Gomba.Core/Connected Services/GombaWS/ConnectedService.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "ExtendedData": { - "inputs": [ - "https://308gomba:8000/ws?wsdl" - ], - "collectionTypes": [ - "System.Array", - "System.Collections.Generic.Dictionary`2" - ], - "namespaceMappings": [ - "*, GombaWS" - ], - "targetFramework": "net6.0", - "typeReuseMode": "All" - } -} \ No newline at end of file diff --git a/EgwProxy.Gomba.Core/Connected Services/GombaWS/Reference.cs b/EgwProxy.Gomba.Core/Connected Services/GombaWS/Reference.cs deleted file mode 100644 index 9c1d8f5e..00000000 --- a/EgwProxy.Gomba.Core/Connected Services/GombaWS/Reference.cs +++ /dev/null @@ -1,679 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace GombaWS -{ - - - [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3")] - [System.ServiceModel.ServiceContractAttribute(Namespace="http://servicesImpl.webServices.gomba.com/", ConfigurationName="GombaWS.lwpService")] - public interface lwpService - { - - [System.ServiceModel.OperationContractAttribute(Action="http://servicesImpl.webServices.gomba.com/lwpService/reqWeightListRequest", ReplyAction="http://servicesImpl.webServices.gomba.com/lwpService/reqWeightListResponse")] - [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] - System.Threading.Tasks.Task reqWeightListAsync(GombaWS.reqWeightListRequest request); - - [System.ServiceModel.OperationContractAttribute(Action="http://servicesImpl.webServices.gomba.com/lwpService/memWeightRequest", ReplyAction="http://servicesImpl.webServices.gomba.com/lwpService/memWeightResponse")] - [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] - System.Threading.Tasks.Task memWeightAsync(GombaWS.memWeightRequest request); - - [System.ServiceModel.OperationContractAttribute(Action="http://servicesImpl.webServices.gomba.com/lwpService/reqWeightRequest", ReplyAction="http://servicesImpl.webServices.gomba.com/lwpService/reqWeightResponse")] - [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] - System.Threading.Tasks.Task reqWeightAsync(GombaWS.reqWeightRequest request); - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://servicesImpl.webServices.gomba.com/")] - public partial class gestWeightOut - { - - private string balanceInField; - - private string balanceOutField; - - private string cod1Field; - - private string cod2Field; - - private string cod3Field; - - private string cod4Field; - - private string cod5Field; - - private string cod6Field; - - private System.DateTime dateInField; - - private bool dateInFieldSpecified; - - private System.DateTime dateOutField; - - private bool dateOutFieldSpecified; - - private string feedbackField; - - private string idMemInField; - - private string idMemOutField; - - private string netField; - - private string notesField; - - private string rmField; - - private string weightInField; - - private string weightOutField; - - /// - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)] - public string balanceIn - { - get - { - return this.balanceInField; - } - set - { - this.balanceInField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)] - public string balanceOut - { - get - { - return this.balanceOutField; - } - set - { - this.balanceOutField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)] - public string cod1 - { - get - { - return this.cod1Field; - } - set - { - this.cod1Field = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)] - public string cod2 - { - get - { - return this.cod2Field; - } - set - { - this.cod2Field = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=4)] - public string cod3 - { - get - { - return this.cod3Field; - } - set - { - this.cod3Field = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=5)] - public string cod4 - { - get - { - return this.cod4Field; - } - set - { - this.cod4Field = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=6)] - public string cod5 - { - get - { - return this.cod5Field; - } - set - { - this.cod5Field = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=7)] - public string cod6 - { - get - { - return this.cod6Field; - } - set - { - this.cod6Field = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=8)] - public System.DateTime dateIn - { - get - { - return this.dateInField; - } - set - { - this.dateInField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool dateInSpecified - { - get - { - return this.dateInFieldSpecified; - } - set - { - this.dateInFieldSpecified = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=9)] - public System.DateTime dateOut - { - get - { - return this.dateOutField; - } - set - { - this.dateOutField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool dateOutSpecified - { - get - { - return this.dateOutFieldSpecified; - } - set - { - this.dateOutFieldSpecified = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=10)] - public string feedback - { - get - { - return this.feedbackField; - } - set - { - this.feedbackField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=11)] - public string idMemIn - { - get - { - return this.idMemInField; - } - set - { - this.idMemInField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=12)] - public string idMemOut - { - get - { - return this.idMemOutField; - } - set - { - this.idMemOutField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=13)] - public string net - { - get - { - return this.netField; - } - set - { - this.netField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=14)] - public string notes - { - get - { - return this.notesField; - } - set - { - this.notesField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=15)] - public string rm - { - get - { - return this.rmField; - } - set - { - this.rmField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=16)] - public string weightIn - { - get - { - return this.weightInField; - } - set - { - this.weightInField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=17)] - public string weightOut - { - get - { - return this.weightOutField; - } - set - { - this.weightOutField = value; - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - [System.ServiceModel.MessageContractAttribute(WrapperName="reqWeightList", WrapperNamespace="http://servicesImpl.webServices.gomba.com/", IsWrapped=true)] - public partial class reqWeightListRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://servicesImpl.webServices.gomba.com/", Order=0)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public string type; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://servicesImpl.webServices.gomba.com/", Order=1)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public string dateStart; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://servicesImpl.webServices.gomba.com/", Order=2)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public string dateEnd; - - public reqWeightListRequest() - { - } - - public reqWeightListRequest(string type, string dateStart, string dateEnd) - { - this.type = type; - this.dateStart = dateStart; - this.dateEnd = dateEnd; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - [System.ServiceModel.MessageContractAttribute(WrapperName="reqWeightListResponse", WrapperNamespace="http://servicesImpl.webServices.gomba.com/", IsWrapped=true)] - public partial class reqWeightListResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://servicesImpl.webServices.gomba.com/", Order=0)] - [System.Xml.Serialization.XmlElementAttribute("return", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public GombaWS.gestWeightOut[] @return; - - public reqWeightListResponse() - { - } - - public reqWeightListResponse(GombaWS.gestWeightOut[] @return) - { - this.@return = @return; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - [System.ServiceModel.MessageContractAttribute(WrapperName="memWeight", WrapperNamespace="http://servicesImpl.webServices.gomba.com/", IsWrapped=true)] - public partial class memWeightRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://servicesImpl.webServices.gomba.com/", Order=0)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public string type; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://servicesImpl.webServices.gomba.com/", Order=1)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public string rm; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://servicesImpl.webServices.gomba.com/", Order=2)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public string cod1; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://servicesImpl.webServices.gomba.com/", Order=3)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public string cod2; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://servicesImpl.webServices.gomba.com/", Order=4)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public string cod3; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://servicesImpl.webServices.gomba.com/", Order=5)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public string cod4; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://servicesImpl.webServices.gomba.com/", Order=6)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public string cod5; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://servicesImpl.webServices.gomba.com/", Order=7)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public string cod6; - - public memWeightRequest() - { - } - - public memWeightRequest(string type, string rm, string cod1, string cod2, string cod3, string cod4, string cod5, string cod6) - { - this.type = type; - this.rm = rm; - this.cod1 = cod1; - this.cod2 = cod2; - this.cod3 = cod3; - this.cod4 = cod4; - this.cod5 = cod5; - this.cod6 = cod6; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - [System.ServiceModel.MessageContractAttribute(WrapperName="memWeightResponse", WrapperNamespace="http://servicesImpl.webServices.gomba.com/", IsWrapped=true)] - public partial class memWeightResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://servicesImpl.webServices.gomba.com/", Order=0)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public GombaWS.gestWeightOut @return; - - public memWeightResponse() - { - } - - public memWeightResponse(GombaWS.gestWeightOut @return) - { - this.@return = @return; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - [System.ServiceModel.MessageContractAttribute(WrapperName="reqWeight", WrapperNamespace="http://servicesImpl.webServices.gomba.com/", IsWrapped=true)] - public partial class reqWeightRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://servicesImpl.webServices.gomba.com/", Order=0)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public string rm; - - public reqWeightRequest() - { - } - - public reqWeightRequest(string rm) - { - this.rm = rm; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3")] - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - [System.ServiceModel.MessageContractAttribute(WrapperName="reqWeightResponse", WrapperNamespace="http://servicesImpl.webServices.gomba.com/", IsWrapped=true)] - public partial class reqWeightResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://servicesImpl.webServices.gomba.com/", Order=0)] - [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] - public GombaWS.gestWeightOut @return; - - public reqWeightResponse() - { - } - - public reqWeightResponse(GombaWS.gestWeightOut @return) - { - this.@return = @return; - } - } - - [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3")] - public interface lwpServiceChannel : GombaWS.lwpService, System.ServiceModel.IClientChannel - { - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3")] - public partial class lwpServiceClient : System.ServiceModel.ClientBase, GombaWS.lwpService - { - - /// - /// Implement this partial method to configure the service endpoint. - /// - /// The endpoint to configure - /// The client credentials - static partial void ConfigureEndpoint(System.ServiceModel.Description.ServiceEndpoint serviceEndpoint, System.ServiceModel.Description.ClientCredentials clientCredentials); - - public lwpServiceClient() : - base(lwpServiceClient.GetDefaultBinding(), lwpServiceClient.GetDefaultEndpointAddress()) - { - this.Endpoint.Name = EndpointConfiguration.lwpServicePort.ToString(); - ConfigureEndpoint(this.Endpoint, this.ClientCredentials); - } - - public lwpServiceClient(EndpointConfiguration endpointConfiguration) : - base(lwpServiceClient.GetBindingForEndpoint(endpointConfiguration), lwpServiceClient.GetEndpointAddress(endpointConfiguration)) - { - this.Endpoint.Name = endpointConfiguration.ToString(); - ConfigureEndpoint(this.Endpoint, this.ClientCredentials); - } - - public lwpServiceClient(EndpointConfiguration endpointConfiguration, string remoteAddress) : - base(lwpServiceClient.GetBindingForEndpoint(endpointConfiguration), new System.ServiceModel.EndpointAddress(remoteAddress)) - { - this.Endpoint.Name = endpointConfiguration.ToString(); - ConfigureEndpoint(this.Endpoint, this.ClientCredentials); - } - - public lwpServiceClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) : - base(lwpServiceClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress) - { - this.Endpoint.Name = endpointConfiguration.ToString(); - ConfigureEndpoint(this.Endpoint, this.ClientCredentials); - } - - public lwpServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : - base(binding, remoteAddress) - { - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - System.Threading.Tasks.Task GombaWS.lwpService.reqWeightListAsync(GombaWS.reqWeightListRequest request) - { - return base.Channel.reqWeightListAsync(request); - } - - public System.Threading.Tasks.Task reqWeightListAsync(string type, string dateStart, string dateEnd) - { - GombaWS.reqWeightListRequest inValue = new GombaWS.reqWeightListRequest(); - inValue.type = type; - inValue.dateStart = dateStart; - inValue.dateEnd = dateEnd; - return ((GombaWS.lwpService)(this)).reqWeightListAsync(inValue); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - System.Threading.Tasks.Task GombaWS.lwpService.memWeightAsync(GombaWS.memWeightRequest request) - { - return base.Channel.memWeightAsync(request); - } - - public System.Threading.Tasks.Task memWeightAsync(string type, string rm, string cod1, string cod2, string cod3, string cod4, string cod5, string cod6) - { - GombaWS.memWeightRequest inValue = new GombaWS.memWeightRequest(); - inValue.type = type; - inValue.rm = rm; - inValue.cod1 = cod1; - inValue.cod2 = cod2; - inValue.cod3 = cod3; - inValue.cod4 = cod4; - inValue.cod5 = cod5; - inValue.cod6 = cod6; - return ((GombaWS.lwpService)(this)).memWeightAsync(inValue); - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - System.Threading.Tasks.Task GombaWS.lwpService.reqWeightAsync(GombaWS.reqWeightRequest request) - { - return base.Channel.reqWeightAsync(request); - } - - public System.Threading.Tasks.Task reqWeightAsync(string rm) - { - GombaWS.reqWeightRequest inValue = new GombaWS.reqWeightRequest(); - inValue.rm = rm; - return ((GombaWS.lwpService)(this)).reqWeightAsync(inValue); - } - - public virtual System.Threading.Tasks.Task OpenAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); - } - - public virtual System.Threading.Tasks.Task CloseAsync() - { - return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); - } - - private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) - { - if ((endpointConfiguration == EndpointConfiguration.lwpServicePort)) - { - System.ServiceModel.BasicHttpBinding result = new System.ServiceModel.BasicHttpBinding(); - result.MaxBufferSize = int.MaxValue; - result.ReaderQuotas = System.Xml.XmlDictionaryReaderQuotas.Max; - result.MaxReceivedMessageSize = int.MaxValue; - result.AllowCookies = true; - result.Security.Mode = System.ServiceModel.BasicHttpSecurityMode.Transport; - return result; - } - throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); - } - - private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) - { - if ((endpointConfiguration == EndpointConfiguration.lwpServicePort)) - { - return new System.ServiceModel.EndpointAddress("https://308gomba:8000/ws"); - } - throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration)); - } - - private static System.ServiceModel.Channels.Binding GetDefaultBinding() - { - return lwpServiceClient.GetBindingForEndpoint(EndpointConfiguration.lwpServicePort); - } - - private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() - { - return lwpServiceClient.GetEndpointAddress(EndpointConfiguration.lwpServicePort); - } - - public enum EndpointConfiguration - { - - lwpServicePort, - } - } -} diff --git a/EgwProxy.Gomba.Core/EgwProxy.Gomba.Core.csproj b/EgwProxy.Gomba.Core/EgwProxy.Gomba.Core.csproj deleted file mode 100644 index db5dfc82..00000000 --- a/EgwProxy.Gomba.Core/EgwProxy.Gomba.Core.csproj +++ /dev/null @@ -1,18 +0,0 @@ - - - - Exe - net6.0 - enable - enable - - - - - - - - - - - diff --git a/EgwProxy.Gomba.Core/Program.cs b/EgwProxy.Gomba.Core/Program.cs deleted file mode 100644 index 3ed0e5d7..00000000 --- a/EgwProxy.Gomba.Core/Program.cs +++ /dev/null @@ -1,3 +0,0 @@ -// See https://aka.ms/new-console-template for more information -Console.WriteLine("Hello, World!"); - diff --git a/EgwProxy.Gomba.Debug.nuspec b/EgwProxy.Gomba.Debug.nuspec new file mode 100644 index 00000000..6827c272 --- /dev/null +++ b/EgwProxy.Gomba.Debug.nuspec @@ -0,0 +1,28 @@ + + + + EgwProxy.Gomba + #version# + EgwProxy.Gomba + Samuele E. Locatelli, EgalWare + false + MIT + Libreria per comunicazione con adapter SOAP XML delle bilance Gomba x scambio dati (IOB-WIN-NEXT) - beta/unstable + #releaseNotes# + #copyright# + EgwProxy.Gomba EgwProxy Gomba + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/EgwProxy.Gomba.Release.nuspec b/EgwProxy.Gomba.Release.nuspec new file mode 100644 index 00000000..69db26da --- /dev/null +++ b/EgwProxy.Gomba.Release.nuspec @@ -0,0 +1,27 @@ + + + + EgwProxy.Gomba + #version# + EgwProxy.Gomba + Samuele E. Locatelli, EgalWare + false + MIT + Libreria per comunicazione con adapter SOAP XML delle bilance Gomba x scambio dati (IOB-WIN-NEXT) + #releaseNotes# + #copyright# + EgwProxy.Gomba EgwProxy Gomba + + + + + + + + + + + + + + \ No newline at end of file diff --git a/EgwProxy.Gomba/docfx.json b/EgwProxy.Gomba/docfx.json new file mode 100644 index 00000000..435e3499 --- /dev/null +++ b/EgwProxy.Gomba/docfx.json @@ -0,0 +1,69 @@ +{ + "metadata": [ + { + "src": [ + { + "files": [ + "*.csproj", + "*.vbproj" + ], + "cwd": ".", + "exclude": [ + "**/obj/**", + "**/bin/**", + "_site/**" + ] + } + ], + "dest": "obj/api" + } + ], + "build": { + "content": [ + { + "files": [ + "api/**.yml" + ], + "cwd": "obj" + }, + { + "files": [ + "api/*.md", + "articles/**.md", + "toc.yml", + "*.md" + ], + "exclude": [ + "obj/**", + "_site/**" + ] + } + ], + "resource": [ + { + "files": [ + "images/**" + ], + "exclude": [ + "obj/**", + "_site/**" + ] + } + ], + "overwrite": [ + { + "files": [ + "apidoc/**.md" + ], + "exclude": [ + "obj/**", + "_site/**" + ] + } + ], + "dest": "_site", + "template": [ + "default" + ] + } +} \ No newline at end of file diff --git a/EgwProxy.Gomba/index.md b/EgwProxy.Gomba/index.md new file mode 100644 index 00000000..4f6c0d81 --- /dev/null +++ b/EgwProxy.Gomba/index.md @@ -0,0 +1,17 @@ +# EgwProxy.Gomba Library + +Documentazione relativa alla libreria di interfaccia via webservice SOAP/XML con le bilance GOMBA (ex IMI Remosa). + +Disponibile in forma di pacchetto nuget sul repo aziendale nexus.steamware.net: i pacchetti sono disponibili all'indirizzo + +https://nexus.steamware.net/#browse/browse:nuget-hosted + +Vedere la sezione Articles per maggiori informazioni sulle definizioni, l'impiego ed esempi. + +## Articles + +Per maggiori dettagli, definizioni e demo funzionamento si rimanda alla sezione Articles + +## Api + +Per ogni dettaglio e riferimento alla libreria si rimanda alla sezione Api Documentation \ No newline at end of file diff --git a/EgwProxy.Gomba/index.pdf b/EgwProxy.Gomba/index.pdf new file mode 100644 index 00000000..a89cc432 Binary files /dev/null and b/EgwProxy.Gomba/index.pdf differ diff --git a/EgwProxy.Gomba/toc.yml b/EgwProxy.Gomba/toc.yml new file mode 100644 index 00000000..7eee9ffb --- /dev/null +++ b/EgwProxy.Gomba/toc.yml @@ -0,0 +1,6 @@ + +- name: Articles + href: articles/ +- name: API Documentation + href: obj/api/ + homepage: api/index.md diff --git a/IOB-WIN-NEXT/IOB-WIN-NEXT.csproj b/IOB-WIN-NEXT/IOB-WIN-NEXT.csproj index b5ba74d0..1a5afcbc 100644 --- a/IOB-WIN-NEXT/IOB-WIN-NEXT.csproj +++ b/IOB-WIN-NEXT/IOB-WIN-NEXT.csproj @@ -113,6 +113,9 @@ ..\packages\EgwProxy.Ftp.3.6.2210.1815\lib\EgwProxy.Ftp.dll + + ..\packages\EgwProxy.Gomba.3.6.2309-beta.1416\lib\EgwProxy.Gomba.dll + ..\packages\EgwProxy.Icoel.3.6.2309.708\lib\EgwProxy.Icoel.dll @@ -319,6 +322,16 @@ True + + ..\packages\System.Runtime.Serialization.Primitives.4.3.0\lib\net46\System.Runtime.Serialization.Primitives.dll + True + True + + + ..\packages\System.Runtime.Serialization.Xml.4.3.0\lib\net46\System.Runtime.Serialization.Xml.dll + True + True + ..\packages\System.Security.Cryptography.Algorithms.4.3.0\lib\net461\System.Security.Cryptography.Algorithms.dll @@ -341,6 +354,18 @@ True + + ..\packages\System.ServiceModel.Http.4.6.0\lib\net461\System.ServiceModel.Http.dll + + + ..\packages\System.ServiceModel.NetTcp.4.6.0\lib\net461\System.ServiceModel.NetTcp.dll + + + ..\packages\System.ServiceModel.Primitives.4.6.0\lib\net461\System.ServiceModel.Primitives.dll + + + ..\packages\System.ServiceModel.Security.4.6.0\lib\net461\System.ServiceModel.Security.dll + ..\packages\System.ValueTuple.4.5.0\lib\net461\System.ValueTuple.dll diff --git a/IOB-WIN-NEXT/packages.config b/IOB-WIN-NEXT/packages.config index 14f4d644..ef9bf277 100644 --- a/IOB-WIN-NEXT/packages.config +++ b/IOB-WIN-NEXT/packages.config @@ -4,6 +4,7 @@ + @@ -75,10 +76,16 @@ + + + + + +