diff --git a/CVCncLib/CVCncLib.dll b/CVCncLib/CVCncLib.dll index 1b9feef7..809d7a1a 100644 Binary files a/CVCncLib/CVCncLib.dll and b/CVCncLib/CVCncLib.dll differ diff --git a/Icoel.Soap.sln b/Icoel.Soap.sln new file mode 100644 index 00000000..28ad819c --- /dev/null +++ b/Icoel.Soap.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.1.32421.90 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Icoel.Soap", "Icoel.Soap\Icoel.Soap.csproj", "{C45F5E6E-866B-4A34-A598-29AAB2D178AD}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {C45F5E6E-866B-4A34-A598-29AAB2D178AD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C45F5E6E-866B-4A34-A598-29AAB2D178AD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C45F5E6E-866B-4A34-A598-29AAB2D178AD}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C45F5E6E-866B-4A34-A598-29AAB2D178AD}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {E2472E21-58D3-4EAD-BC4A-BC3915B18BEF} + EndGlobalSection +EndGlobal diff --git a/Icoel.Soap/App.config b/Icoel.Soap/App.config new file mode 100644 index 00000000..ed369290 --- /dev/null +++ b/Icoel.Soap/App.config @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Icoel.Soap/Compac/CompacClient.cs b/Icoel.Soap/Compac/CompacClient.cs new file mode 100644 index 00000000..55d34150 --- /dev/null +++ b/Icoel.Soap/Compac/CompacClient.cs @@ -0,0 +1,115 @@ +using Icoel.Soap.SizerService; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Runtime.Serialization; +using System.ServiceModel; + +namespace Tracker_GUI.Riempitori +{ + public class CompacClient + { + /// + /// Client che inoltra le richieste al Sizer + /// + private SizerServiceClient Client { get; set; } + + public bool connected + { + get + { + bool answ = false; + if (Client != null) + { + answ = Client.State == CommunicationState.Opened; + } + return answ; + } + } + + public CompacClient(string Sizerip, string port) + { + var url = "http://" + Sizerip + ":" + port + "/SizerService/"; + var epa = new EndpointAddress(new Uri(url)); + Client = new SizerServiceClient("WSHttpBinding_ISizerService", epa); + } + + internal void VerificaEsistenzaGrower(string growerCode, string growerName) + { + var grower = Client.GetGrower(growerCode); + + if (grower == null) + { + var nuovo = new Grower() { Code = growerCode, Name = growerName }; + + Client.AddGrower(nuovo); + } + } + + internal void Close() + { + if (Client.State != CommunicationState.Closed) + { + Client.Close(); + } + } + + internal Batch GetCurrentBatchByLane(int v) + { + return Client.GetCurrentBatchByLane(v); + } + + internal Variety[] GetActiveVarieties() + { + return Client.GetActiveVarieties(); + } + + internal Layout GetActiveLayout(Guid VarietyId) + { + return Client.GetActiveLayout(VarietyId); + } + + internal Layout[] GetLayouts(Guid VarietyId) + { + return Client.GetLayouts(VarietyId); + } + + internal void MettiLottoInCoda(Batch batch) + { + Client.AddBatch(batch); + } + + internal Batch GetCurrentBatch() + { + return Client.GetCurrentBatch(); + } + } + + [Serializable] + internal class IcoelSizerException : Exception + { + private Exception ex; + + public IcoelSizerException() + { + } + + public IcoelSizerException(Exception ex) + { + this.ex = ex; + + } + + public IcoelSizerException(string message) : base(message) + { + } + + public IcoelSizerException(string message, Exception innerException) : base(message, innerException) + { + } + + protected IcoelSizerException(SerializationInfo info, StreamingContext context) : base(info, context) + { + } + } +} \ No newline at end of file diff --git a/Icoel.Soap/Connected Services/SizerService/Arrays.xsd b/Icoel.Soap/Connected Services/SizerService/Arrays.xsd new file mode 100644 index 00000000..97e2430a --- /dev/null +++ b/Icoel.Soap/Connected Services/SizerService/Arrays.xsd @@ -0,0 +1,107 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + + + + + + + + + + + + + + + + + + + + + + true + + + + + + + + + + + + + + + + + + true + + + + + + + + + + + + + + + + + + + + + + + + true + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Icoel.Soap/Connected Services/SizerService/Compac.Services.Core.xsd b/Icoel.Soap/Connected Services/SizerService/Compac.Services.Core.xsd new file mode 100644 index 00000000..93412a5c --- /dev/null +++ b/Icoel.Soap/Connected Services/SizerService/Compac.Services.Core.xsd @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Icoel.Soap/Connected Services/SizerService/Compac.Services.Core1.xsd b/Icoel.Soap/Connected Services/SizerService/Compac.Services.Core1.xsd new file mode 100644 index 00000000..0cd90fe3 --- /dev/null +++ b/Icoel.Soap/Connected Services/SizerService/Compac.Services.Core1.xsd @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Icoel.Soap/Connected Services/SizerService/Compac.Services.Core2.xsd b/Icoel.Soap/Connected Services/SizerService/Compac.Services.Core2.xsd new file mode 100644 index 00000000..ad641235 --- /dev/null +++ b/Icoel.Soap/Connected Services/SizerService/Compac.Services.Core2.xsd @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/Icoel.Soap/Connected Services/SizerService/Compac.Services.Sizer.Service.wsdl b/Icoel.Soap/Connected Services/SizerService/Compac.Services.Sizer.Service.wsdl new file mode 100644 index 00000000..79cbb4aa --- /dev/null +++ b/Icoel.Soap/Connected Services/SizerService/Compac.Services.Sizer.Service.wsdl @@ -0,0 +1,1241 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Icoel.Soap/Connected Services/SizerService/Compac.Services.Sizer.Service.xsd b/Icoel.Soap/Connected Services/SizerService/Compac.Services.Sizer.Service.xsd new file mode 100644 index 00000000..6c4cbd1e --- /dev/null +++ b/Icoel.Soap/Connected Services/SizerService/Compac.Services.Sizer.Service.xsd @@ -0,0 +1,1457 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Icoel.Soap/Connected Services/SizerService/Compac.Services.Sizer.Service1.xsd b/Icoel.Soap/Connected Services/SizerService/Compac.Services.Sizer.Service1.xsd new file mode 100644 index 00000000..155093c7 --- /dev/null +++ b/Icoel.Soap/Connected Services/SizerService/Compac.Services.Sizer.Service1.xsd @@ -0,0 +1,373 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Icoel.Soap/Connected Services/SizerService/EnqueueNewBatch.SizerService.AbstractSamplingConfiguration.datasource b/Icoel.Soap/Connected Services/SizerService/EnqueueNewBatch.SizerService.AbstractSamplingConfiguration.datasource new file mode 100644 index 00000000..cef195c2 --- /dev/null +++ b/Icoel.Soap/Connected Services/SizerService/EnqueueNewBatch.SizerService.AbstractSamplingConfiguration.datasource @@ -0,0 +1,10 @@ + + + + Icoel.Soap.SizerService.AbstractSamplingConfiguration, Connected Services.SizerService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/Icoel.Soap/Connected Services/SizerService/EnqueueNewBatch.SizerService.Batch.datasource b/Icoel.Soap/Connected Services/SizerService/EnqueueNewBatch.SizerService.Batch.datasource new file mode 100644 index 00000000..776efefc --- /dev/null +++ b/Icoel.Soap/Connected Services/SizerService/EnqueueNewBatch.SizerService.Batch.datasource @@ -0,0 +1,10 @@ + + + + Icoel.Soap.SizerService.Batch, Connected Services.SizerService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/Icoel.Soap/Connected Services/SizerService/EnqueueNewBatch.SizerService.GetVersionResponse.datasource b/Icoel.Soap/Connected Services/SizerService/EnqueueNewBatch.SizerService.GetVersionResponse.datasource new file mode 100644 index 00000000..72dac729 --- /dev/null +++ b/Icoel.Soap/Connected Services/SizerService/EnqueueNewBatch.SizerService.GetVersionResponse.datasource @@ -0,0 +1,10 @@ + + + + Icoel.Soap.SizerService.GetVersionResponse, Connected Services.SizerService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/Icoel.Soap/Connected Services/SizerService/EnqueueNewBatch.SizerService.Grower.datasource b/Icoel.Soap/Connected Services/SizerService/EnqueueNewBatch.SizerService.Grower.datasource new file mode 100644 index 00000000..0012d44e --- /dev/null +++ b/Icoel.Soap/Connected Services/SizerService/EnqueueNewBatch.SizerService.Grower.datasource @@ -0,0 +1,10 @@ + + + + Icoel.Soap.SizerService.Grower, Connected Services.SizerService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/Icoel.Soap/Connected Services/SizerService/EnqueueNewBatch.SizerService.Label.datasource b/Icoel.Soap/Connected Services/SizerService/EnqueueNewBatch.SizerService.Label.datasource new file mode 100644 index 00000000..91fe0208 --- /dev/null +++ b/Icoel.Soap/Connected Services/SizerService/EnqueueNewBatch.SizerService.Label.datasource @@ -0,0 +1,10 @@ + + + + Icoel.Soap.SizerService.Label, Connected Services.SizerService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/Icoel.Soap/Connected Services/SizerService/EnqueueNewBatch.SizerService.LaneGroup.datasource b/Icoel.Soap/Connected Services/SizerService/EnqueueNewBatch.SizerService.LaneGroup.datasource new file mode 100644 index 00000000..639d3b99 --- /dev/null +++ b/Icoel.Soap/Connected Services/SizerService/EnqueueNewBatch.SizerService.LaneGroup.datasource @@ -0,0 +1,10 @@ + + + + Icoel.Soap.SizerService.LaneGroup, Connected Services.SizerService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/Icoel.Soap/Connected Services/SizerService/EnqueueNewBatch.SizerService.Layout.datasource b/Icoel.Soap/Connected Services/SizerService/EnqueueNewBatch.SizerService.Layout.datasource new file mode 100644 index 00000000..c6702be2 --- /dev/null +++ b/Icoel.Soap/Connected Services/SizerService/EnqueueNewBatch.SizerService.Layout.datasource @@ -0,0 +1,10 @@ + + + + Icoel.Soap.SizerService.Layout, Connected Services.SizerService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/Icoel.Soap/Connected Services/SizerService/EnqueueNewBatch.SizerService.Outlet.datasource b/Icoel.Soap/Connected Services/SizerService/EnqueueNewBatch.SizerService.Outlet.datasource new file mode 100644 index 00000000..59d54e66 --- /dev/null +++ b/Icoel.Soap/Connected Services/SizerService/EnqueueNewBatch.SizerService.Outlet.datasource @@ -0,0 +1,10 @@ + + + + Icoel.Soap.SizerService.Outlet, Connected Services.SizerService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/Icoel.Soap/Connected Services/SizerService/EnqueueNewBatch.SizerService.Pack.datasource b/Icoel.Soap/Connected Services/SizerService/EnqueueNewBatch.SizerService.Pack.datasource new file mode 100644 index 00000000..c3e01bea --- /dev/null +++ b/Icoel.Soap/Connected Services/SizerService/EnqueueNewBatch.SizerService.Pack.datasource @@ -0,0 +1,10 @@ + + + + Icoel.Soap.SizerService.Pack, Connected Services.SizerService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/Icoel.Soap/Connected Services/SizerService/EnqueueNewBatch.SizerService.Product.datasource b/Icoel.Soap/Connected Services/SizerService/EnqueueNewBatch.SizerService.Product.datasource new file mode 100644 index 00000000..9e6d4d6c --- /dev/null +++ b/Icoel.Soap/Connected Services/SizerService/EnqueueNewBatch.SizerService.Product.datasource @@ -0,0 +1,10 @@ + + + + Icoel.Soap.SizerService.Product, Connected Services.SizerService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/Icoel.Soap/Connected Services/SizerService/EnqueueNewBatch.SizerService.SamplingProgress.datasource b/Icoel.Soap/Connected Services/SizerService/EnqueueNewBatch.SizerService.SamplingProgress.datasource new file mode 100644 index 00000000..c0f646cc --- /dev/null +++ b/Icoel.Soap/Connected Services/SizerService/EnqueueNewBatch.SizerService.SamplingProgress.datasource @@ -0,0 +1,10 @@ + + + + Icoel.Soap.SizerService.SamplingProgress, Connected Services.SizerService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/Icoel.Soap/Connected Services/SizerService/EnqueueNewBatch.SizerService.ServiceVersion.datasource b/Icoel.Soap/Connected Services/SizerService/EnqueueNewBatch.SizerService.ServiceVersion.datasource new file mode 100644 index 00000000..bcc26d9b --- /dev/null +++ b/Icoel.Soap/Connected Services/SizerService/EnqueueNewBatch.SizerService.ServiceVersion.datasource @@ -0,0 +1,10 @@ + + + + Icoel.Soap.SizerService.ServiceVersion, Connected Services.SizerService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/Icoel.Soap/Connected Services/SizerService/EnqueueNewBatch.SizerService.Variety.datasource b/Icoel.Soap/Connected Services/SizerService/EnqueueNewBatch.SizerService.Variety.datasource new file mode 100644 index 00000000..ad846278 --- /dev/null +++ b/Icoel.Soap/Connected Services/SizerService/EnqueueNewBatch.SizerService.Variety.datasource @@ -0,0 +1,10 @@ + + + + Icoel.Soap.SizerService.Variety, Connected Services.SizerService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/Icoel.Soap/Connected Services/SizerService/Reference.cs b/Icoel.Soap/Connected Services/SizerService/Reference.cs new file mode 100644 index 00000000..1cccb042 --- /dev/null +++ b/Icoel.Soap/Connected Services/SizerService/Reference.cs @@ -0,0 +1,4635 @@ +//------------------------------------------------------------------------------ +// +// Il codice è stato generato da uno strumento. +// Versione runtime:4.0.30319.42000 +// +// Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se +// il codice viene rigenerato. +// +//------------------------------------------------------------------------------ + +namespace Icoel.Soap.SizerService { + using System.Runtime.Serialization; + using System; + + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="ServiceVersion", Namespace="http://schemas.datacontract.org/2004/07/Compac.Services.Core")] + [System.SerializableAttribute()] + public partial class ServiceVersion : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { + + [System.NonSerializedAttribute()] + private System.Runtime.Serialization.ExtensionDataObject extensionDataField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private System.Version InterfaceVersionField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string ProviderNameField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string ProviderVersionField; + + [global::System.ComponentModel.BrowsableAttribute(false)] + public System.Runtime.Serialization.ExtensionDataObject ExtensionData { + get { + return this.extensionDataField; + } + set { + this.extensionDataField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public System.Version InterfaceVersion { + get { + return this.InterfaceVersionField; + } + set { + if ((object.ReferenceEquals(this.InterfaceVersionField, value) != true)) { + this.InterfaceVersionField = value; + this.RaisePropertyChanged("InterfaceVersion"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string ProviderName { + get { + return this.ProviderNameField; + } + set { + if ((object.ReferenceEquals(this.ProviderNameField, value) != true)) { + this.ProviderNameField = value; + this.RaisePropertyChanged("ProviderName"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string ProviderVersion { + get { + return this.ProviderVersionField; + } + set { + if ((object.ReferenceEquals(this.ProviderVersionField, value) != true)) { + this.ProviderVersionField = value; + this.RaisePropertyChanged("ProviderVersion"); + } + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="Batch", Namespace="uri:Compac.Services.Sizer.Service")] + [System.SerializableAttribute()] + public partial class Batch : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { + + [System.NonSerializedAttribute()] + private System.Runtime.Serialization.ExtensionDataObject extensionDataField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private bool AvoidLayoutChangeField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private bool AvoidSavingOldLayoutsField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string[] CommentsField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private System.DateTime EndTimeField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string GrowerCodeField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private int IdField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private bool IsFinalizedField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private Icoel.Soap.SizerService.LaneGroup[] LaneGroupsField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private System.Guid LayoutIdField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string LayoutNameField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string NameField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private bool OverrideLayoutConflictsField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string SampleNameField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string SizingProfileNameField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private System.DateTime StartTimeField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string TotallingVarietyField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string TotallingVarietyCodeField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private System.Guid VarietyIdField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string VarietyNameField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private int VisionMapField; + + [global::System.ComponentModel.BrowsableAttribute(false)] + public System.Runtime.Serialization.ExtensionDataObject ExtensionData { + get { + return this.extensionDataField; + } + set { + this.extensionDataField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public bool AvoidLayoutChange { + get { + return this.AvoidLayoutChangeField; + } + set { + if ((this.AvoidLayoutChangeField.Equals(value) != true)) { + this.AvoidLayoutChangeField = value; + this.RaisePropertyChanged("AvoidLayoutChange"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public bool AvoidSavingOldLayouts { + get { + return this.AvoidSavingOldLayoutsField; + } + set { + if ((this.AvoidSavingOldLayoutsField.Equals(value) != true)) { + this.AvoidSavingOldLayoutsField = value; + this.RaisePropertyChanged("AvoidSavingOldLayouts"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string[] Comments { + get { + return this.CommentsField; + } + set { + if ((object.ReferenceEquals(this.CommentsField, value) != true)) { + this.CommentsField = value; + this.RaisePropertyChanged("Comments"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public System.DateTime EndTime { + get { + return this.EndTimeField; + } + set { + if ((this.EndTimeField.Equals(value) != true)) { + this.EndTimeField = value; + this.RaisePropertyChanged("EndTime"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string GrowerCode { + get { + return this.GrowerCodeField; + } + set { + if ((object.ReferenceEquals(this.GrowerCodeField, value) != true)) { + this.GrowerCodeField = value; + this.RaisePropertyChanged("GrowerCode"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public int Id { + get { + return this.IdField; + } + set { + if ((this.IdField.Equals(value) != true)) { + this.IdField = value; + this.RaisePropertyChanged("Id"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public bool IsFinalized { + get { + return this.IsFinalizedField; + } + set { + if ((this.IsFinalizedField.Equals(value) != true)) { + this.IsFinalizedField = value; + this.RaisePropertyChanged("IsFinalized"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public Icoel.Soap.SizerService.LaneGroup[] LaneGroups { + get { + return this.LaneGroupsField; + } + set { + if ((object.ReferenceEquals(this.LaneGroupsField, value) != true)) { + this.LaneGroupsField = value; + this.RaisePropertyChanged("LaneGroups"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public System.Guid LayoutId { + get { + return this.LayoutIdField; + } + set { + if ((this.LayoutIdField.Equals(value) != true)) { + this.LayoutIdField = value; + this.RaisePropertyChanged("LayoutId"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string LayoutName { + get { + return this.LayoutNameField; + } + set { + if ((object.ReferenceEquals(this.LayoutNameField, value) != true)) { + this.LayoutNameField = value; + this.RaisePropertyChanged("LayoutName"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Name { + get { + return this.NameField; + } + set { + if ((object.ReferenceEquals(this.NameField, value) != true)) { + this.NameField = value; + this.RaisePropertyChanged("Name"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public bool OverrideLayoutConflicts { + get { + return this.OverrideLayoutConflictsField; + } + set { + if ((this.OverrideLayoutConflictsField.Equals(value) != true)) { + this.OverrideLayoutConflictsField = value; + this.RaisePropertyChanged("OverrideLayoutConflicts"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string SampleName { + get { + return this.SampleNameField; + } + set { + if ((object.ReferenceEquals(this.SampleNameField, value) != true)) { + this.SampleNameField = value; + this.RaisePropertyChanged("SampleName"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string SizingProfileName { + get { + return this.SizingProfileNameField; + } + set { + if ((object.ReferenceEquals(this.SizingProfileNameField, value) != true)) { + this.SizingProfileNameField = value; + this.RaisePropertyChanged("SizingProfileName"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public System.DateTime StartTime { + get { + return this.StartTimeField; + } + set { + if ((this.StartTimeField.Equals(value) != true)) { + this.StartTimeField = value; + this.RaisePropertyChanged("StartTime"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string TotallingVariety { + get { + return this.TotallingVarietyField; + } + set { + if ((object.ReferenceEquals(this.TotallingVarietyField, value) != true)) { + this.TotallingVarietyField = value; + this.RaisePropertyChanged("TotallingVariety"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string TotallingVarietyCode { + get { + return this.TotallingVarietyCodeField; + } + set { + if ((object.ReferenceEquals(this.TotallingVarietyCodeField, value) != true)) { + this.TotallingVarietyCodeField = value; + this.RaisePropertyChanged("TotallingVarietyCode"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public System.Guid VarietyId { + get { + return this.VarietyIdField; + } + set { + if ((this.VarietyIdField.Equals(value) != true)) { + this.VarietyIdField = value; + this.RaisePropertyChanged("VarietyId"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string VarietyName { + get { + return this.VarietyNameField; + } + set { + if ((object.ReferenceEquals(this.VarietyNameField, value) != true)) { + this.VarietyNameField = value; + this.RaisePropertyChanged("VarietyName"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public int VisionMap { + get { + return this.VisionMapField; + } + set { + if ((this.VisionMapField.Equals(value) != true)) { + this.VisionMapField = value; + this.RaisePropertyChanged("VisionMap"); + } + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="LaneGroup", Namespace="uri:Compac.Services.Sizer.Service")] + [System.SerializableAttribute()] + public partial class LaneGroup : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { + + [System.NonSerializedAttribute()] + private System.Runtime.Serialization.ExtensionDataObject extensionDataField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private int[] LanesField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string NameField; + + [global::System.ComponentModel.BrowsableAttribute(false)] + public System.Runtime.Serialization.ExtensionDataObject ExtensionData { + get { + return this.extensionDataField; + } + set { + this.extensionDataField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public int[] Lanes { + get { + return this.LanesField; + } + set { + if ((object.ReferenceEquals(this.LanesField, value) != true)) { + this.LanesField = value; + this.RaisePropertyChanged("Lanes"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Name { + get { + return this.NameField; + } + set { + if ((object.ReferenceEquals(this.NameField, value) != true)) { + this.NameField = value; + this.RaisePropertyChanged("Name"); + } + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="ArgumentFault", Namespace="http://Compac.Services.Core")] + [System.SerializableAttribute()] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.ServiceVersion))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.ServiceEvent))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Version))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(int[]))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(double[]))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(string[]))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary[]))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Guid[]))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.Batch[]))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.Batch))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.LaneGroup[]))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.LaneGroup))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.Layout[]))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.Layout))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.Outlet))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.Product))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.Element[]))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.Element))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.Pack))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.PackBoxType))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.PackControl))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.PackingStyle))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.PackTargetFill))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.PackFillMode))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.Product[]))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.Variety))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.Grade[]))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.Grade))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.Quality[]))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.Quality))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.SizingMap[]))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.SizingMap))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.QualityGradePair[]))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.QualityGradePair))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.Size[]))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.Size))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.Variety[]))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.Pack[]))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.Label[]))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.Label))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.Outlet[]))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.AlarmPriority))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.Grower))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.Grower[]))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.AbstractSamplingConfiguration))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.ElementSamplingConfiguration))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.SamplingMeasurementUnit))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.Ratio))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.RatioMeasurementUnit))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.ProductSamplingConfiguration))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.SamplingProgress[]))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.SamplingProgress))] + public partial class ArgumentFault : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { + + [System.NonSerializedAttribute()] + private System.Runtime.Serialization.ExtensionDataObject extensionDataField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string MessageField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string NameField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private object ValueField; + + [global::System.ComponentModel.BrowsableAttribute(false)] + public System.Runtime.Serialization.ExtensionDataObject ExtensionData { + get { + return this.extensionDataField; + } + set { + this.extensionDataField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Message { + get { + return this.MessageField; + } + set { + if ((object.ReferenceEquals(this.MessageField, value) != true)) { + this.MessageField = value; + this.RaisePropertyChanged("Message"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Name { + get { + return this.NameField; + } + set { + if ((object.ReferenceEquals(this.NameField, value) != true)) { + this.NameField = value; + this.RaisePropertyChanged("Name"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public object Value { + get { + return this.ValueField; + } + set { + if ((object.ReferenceEquals(this.ValueField, value) != true)) { + this.ValueField = value; + this.RaisePropertyChanged("Value"); + } + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="ServiceEvent", Namespace="http://schemas.datacontract.org/2004/07/Compac.Services.Core")] + [System.SerializableAttribute()] + public partial class ServiceEvent : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { + + [System.NonSerializedAttribute()] + private System.Runtime.Serialization.ExtensionDataObject extensionDataField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private System.Collections.Generic.Dictionary EventArgsField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string EventNameField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private System.DateTime EventTimeField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private int IdField; + + [global::System.ComponentModel.BrowsableAttribute(false)] + public System.Runtime.Serialization.ExtensionDataObject ExtensionData { + get { + return this.extensionDataField; + } + set { + this.extensionDataField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public System.Collections.Generic.Dictionary EventArgs { + get { + return this.EventArgsField; + } + set { + if ((object.ReferenceEquals(this.EventArgsField, value) != true)) { + this.EventArgsField = value; + this.RaisePropertyChanged("EventArgs"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string EventName { + get { + return this.EventNameField; + } + set { + if ((object.ReferenceEquals(this.EventNameField, value) != true)) { + this.EventNameField = value; + this.RaisePropertyChanged("EventName"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public System.DateTime EventTime { + get { + return this.EventTimeField; + } + set { + if ((this.EventTimeField.Equals(value) != true)) { + this.EventTimeField = value; + this.RaisePropertyChanged("EventTime"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public int Id { + get { + return this.IdField; + } + set { + if ((this.IdField.Equals(value) != true)) { + this.IdField = value; + this.RaisePropertyChanged("Id"); + } + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="Outlet", Namespace="uri:Compac.Services.Sizer.Service")] + [System.SerializableAttribute()] + public partial class Outlet : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { + + [System.NonSerializedAttribute()] + private System.Runtime.Serialization.ExtensionDataObject extensionDataField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private System.Guid CurrentProductIdField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private double DeliveredFruitPerMinuteField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private int IdField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private int LastDeliveredBatchIdField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private int MaxRateSquareCMPerMinuteField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string NameField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private System.Nullable PendingProductIdField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string StatusField; + + [global::System.ComponentModel.BrowsableAttribute(false)] + public System.Runtime.Serialization.ExtensionDataObject ExtensionData { + get { + return this.extensionDataField; + } + set { + this.extensionDataField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public System.Guid CurrentProductId { + get { + return this.CurrentProductIdField; + } + set { + if ((this.CurrentProductIdField.Equals(value) != true)) { + this.CurrentProductIdField = value; + this.RaisePropertyChanged("CurrentProductId"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public double DeliveredFruitPerMinute { + get { + return this.DeliveredFruitPerMinuteField; + } + set { + if ((this.DeliveredFruitPerMinuteField.Equals(value) != true)) { + this.DeliveredFruitPerMinuteField = value; + this.RaisePropertyChanged("DeliveredFruitPerMinute"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public int Id { + get { + return this.IdField; + } + set { + if ((this.IdField.Equals(value) != true)) { + this.IdField = value; + this.RaisePropertyChanged("Id"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public int LastDeliveredBatchId { + get { + return this.LastDeliveredBatchIdField; + } + set { + if ((this.LastDeliveredBatchIdField.Equals(value) != true)) { + this.LastDeliveredBatchIdField = value; + this.RaisePropertyChanged("LastDeliveredBatchId"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public int MaxRateSquareCMPerMinute { + get { + return this.MaxRateSquareCMPerMinuteField; + } + set { + if ((this.MaxRateSquareCMPerMinuteField.Equals(value) != true)) { + this.MaxRateSquareCMPerMinuteField = value; + this.RaisePropertyChanged("MaxRateSquareCMPerMinute"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Name { + get { + return this.NameField; + } + set { + if ((object.ReferenceEquals(this.NameField, value) != true)) { + this.NameField = value; + this.RaisePropertyChanged("Name"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public System.Nullable PendingProductId { + get { + return this.PendingProductIdField; + } + set { + if ((this.PendingProductIdField.Equals(value) != true)) { + this.PendingProductIdField = value; + this.RaisePropertyChanged("PendingProductId"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Status { + get { + return this.StatusField; + } + set { + if ((object.ReferenceEquals(this.StatusField, value) != true)) { + this.StatusField = value; + this.RaisePropertyChanged("Status"); + } + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="Product", Namespace="uri:Compac.Services.Sizer.Service")] + [System.SerializableAttribute()] + public partial class Product : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { + + [System.NonSerializedAttribute()] + private System.Runtime.Serialization.ExtensionDataObject extensionDataField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string DisplayNameField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private Icoel.Soap.SizerService.Element[] ElementsField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private System.Guid IdField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string NameField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private Icoel.Soap.SizerService.Pack PackField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string SpecialInstructionsField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private Icoel.Soap.SizerService.PackTargetFill TargetFillField; + + [global::System.ComponentModel.BrowsableAttribute(false)] + public System.Runtime.Serialization.ExtensionDataObject ExtensionData { + get { + return this.extensionDataField; + } + set { + this.extensionDataField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string DisplayName { + get { + return this.DisplayNameField; + } + set { + if ((object.ReferenceEquals(this.DisplayNameField, value) != true)) { + this.DisplayNameField = value; + this.RaisePropertyChanged("DisplayName"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public Icoel.Soap.SizerService.Element[] Elements { + get { + return this.ElementsField; + } + set { + if ((object.ReferenceEquals(this.ElementsField, value) != true)) { + this.ElementsField = value; + this.RaisePropertyChanged("Elements"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public System.Guid Id { + get { + return this.IdField; + } + set { + if ((this.IdField.Equals(value) != true)) { + this.IdField = value; + this.RaisePropertyChanged("Id"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Name { + get { + return this.NameField; + } + set { + if ((object.ReferenceEquals(this.NameField, value) != true)) { + this.NameField = value; + this.RaisePropertyChanged("Name"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public Icoel.Soap.SizerService.Pack Pack { + get { + return this.PackField; + } + set { + if ((object.ReferenceEquals(this.PackField, value) != true)) { + this.PackField = value; + this.RaisePropertyChanged("Pack"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string SpecialInstructions { + get { + return this.SpecialInstructionsField; + } + set { + if ((object.ReferenceEquals(this.SpecialInstructionsField, value) != true)) { + this.SpecialInstructionsField = value; + this.RaisePropertyChanged("SpecialInstructions"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public Icoel.Soap.SizerService.PackTargetFill TargetFill { + get { + return this.TargetFillField; + } + set { + if ((object.ReferenceEquals(this.TargetFillField, value) != true)) { + this.TargetFillField = value; + this.RaisePropertyChanged("TargetFill"); + } + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="Layout", Namespace="uri:Compac.Services.Sizer.Service")] + [System.SerializableAttribute()] + public partial class Layout : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { + + [System.NonSerializedAttribute()] + private System.Runtime.Serialization.ExtensionDataObject extensionDataField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private System.Collections.Generic.Dictionary AssignmentsField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private System.Guid IdField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string NameField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private Icoel.Soap.SizerService.Product[] ProductsField; + + [global::System.ComponentModel.BrowsableAttribute(false)] + public System.Runtime.Serialization.ExtensionDataObject ExtensionData { + get { + return this.extensionDataField; + } + set { + this.extensionDataField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public System.Collections.Generic.Dictionary Assignments { + get { + return this.AssignmentsField; + } + set { + if ((object.ReferenceEquals(this.AssignmentsField, value) != true)) { + this.AssignmentsField = value; + this.RaisePropertyChanged("Assignments"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public System.Guid Id { + get { + return this.IdField; + } + set { + if ((this.IdField.Equals(value) != true)) { + this.IdField = value; + this.RaisePropertyChanged("Id"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Name { + get { + return this.NameField; + } + set { + if ((object.ReferenceEquals(this.NameField, value) != true)) { + this.NameField = value; + this.RaisePropertyChanged("Name"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public Icoel.Soap.SizerService.Product[] Products { + get { + return this.ProductsField; + } + set { + if ((object.ReferenceEquals(this.ProductsField, value) != true)) { + this.ProductsField = value; + this.RaisePropertyChanged("Products"); + } + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="Element", Namespace="uri:Compac.Services.Sizer.Service")] + [System.SerializableAttribute()] + public partial class Element : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { + + [System.NonSerializedAttribute()] + private System.Runtime.Serialization.ExtensionDataObject extensionDataField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string GradeField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string LabelField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string QualityField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string SizeField; + + [global::System.ComponentModel.BrowsableAttribute(false)] + public System.Runtime.Serialization.ExtensionDataObject ExtensionData { + get { + return this.extensionDataField; + } + set { + this.extensionDataField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Grade { + get { + return this.GradeField; + } + set { + if ((object.ReferenceEquals(this.GradeField, value) != true)) { + this.GradeField = value; + this.RaisePropertyChanged("Grade"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Label { + get { + return this.LabelField; + } + set { + if ((object.ReferenceEquals(this.LabelField, value) != true)) { + this.LabelField = value; + this.RaisePropertyChanged("Label"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Quality { + get { + return this.QualityField; + } + set { + if ((object.ReferenceEquals(this.QualityField, value) != true)) { + this.QualityField = value; + this.RaisePropertyChanged("Quality"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Size { + get { + return this.SizeField; + } + set { + if ((object.ReferenceEquals(this.SizeField, value) != true)) { + this.SizeField = value; + this.RaisePropertyChanged("Size"); + } + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="Pack", Namespace="uri:Compac.Services.Sizer.Service")] + [System.SerializableAttribute()] + public partial class Pack : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { + + [System.NonSerializedAttribute()] + private System.Runtime.Serialization.ExtensionDataObject extensionDataField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private Icoel.Soap.SizerService.PackBoxType BoxTypeField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private System.Guid IdField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string NameField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private Icoel.Soap.SizerService.PackControl PackControlField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private Icoel.Soap.SizerService.PackingStyle StyleField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private Icoel.Soap.SizerService.PackTargetFill TargetFillField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private int UserCodeField; + + [global::System.ComponentModel.BrowsableAttribute(false)] + public System.Runtime.Serialization.ExtensionDataObject ExtensionData { + get { + return this.extensionDataField; + } + set { + this.extensionDataField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public Icoel.Soap.SizerService.PackBoxType BoxType { + get { + return this.BoxTypeField; + } + set { + if ((object.ReferenceEquals(this.BoxTypeField, value) != true)) { + this.BoxTypeField = value; + this.RaisePropertyChanged("BoxType"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public System.Guid Id { + get { + return this.IdField; + } + set { + if ((this.IdField.Equals(value) != true)) { + this.IdField = value; + this.RaisePropertyChanged("Id"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Name { + get { + return this.NameField; + } + set { + if ((object.ReferenceEquals(this.NameField, value) != true)) { + this.NameField = value; + this.RaisePropertyChanged("Name"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public Icoel.Soap.SizerService.PackControl PackControl { + get { + return this.PackControlField; + } + set { + if ((object.ReferenceEquals(this.PackControlField, value) != true)) { + this.PackControlField = value; + this.RaisePropertyChanged("PackControl"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public Icoel.Soap.SizerService.PackingStyle Style { + get { + return this.StyleField; + } + set { + if ((object.ReferenceEquals(this.StyleField, value) != true)) { + this.StyleField = value; + this.RaisePropertyChanged("Style"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public Icoel.Soap.SizerService.PackTargetFill TargetFill { + get { + return this.TargetFillField; + } + set { + if ((object.ReferenceEquals(this.TargetFillField, value) != true)) { + this.TargetFillField = value; + this.RaisePropertyChanged("TargetFill"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public int UserCode { + get { + return this.UserCodeField; + } + set { + if ((this.UserCodeField.Equals(value) != true)) { + this.UserCodeField = value; + this.RaisePropertyChanged("UserCode"); + } + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="PackBoxType", Namespace="uri:Compac.Services.Sizer.Service")] + [System.SerializableAttribute()] + public partial class PackBoxType : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { + + [System.NonSerializedAttribute()] + private System.Runtime.Serialization.ExtensionDataObject extensionDataField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string DisplayNameField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string NameField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string TypeField; + + [global::System.ComponentModel.BrowsableAttribute(false)] + public System.Runtime.Serialization.ExtensionDataObject ExtensionData { + get { + return this.extensionDataField; + } + set { + this.extensionDataField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string DisplayName { + get { + return this.DisplayNameField; + } + set { + if ((object.ReferenceEquals(this.DisplayNameField, value) != true)) { + this.DisplayNameField = value; + this.RaisePropertyChanged("DisplayName"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Name { + get { + return this.NameField; + } + set { + if ((object.ReferenceEquals(this.NameField, value) != true)) { + this.NameField = value; + this.RaisePropertyChanged("Name"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Type { + get { + return this.TypeField; + } + set { + if ((object.ReferenceEquals(this.TypeField, value) != true)) { + this.TypeField = value; + this.RaisePropertyChanged("Type"); + } + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="PackControl", Namespace="uri:Compac.Services.Sizer.Service")] + [System.SerializableAttribute()] + public partial class PackControl : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { + + [System.NonSerializedAttribute()] + private System.Runtime.Serialization.ExtensionDataObject extensionDataField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private int NumberOfStepsField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private int PackChangeTimeField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private int PackLengthField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private int StepDelayField; + + [global::System.ComponentModel.BrowsableAttribute(false)] + public System.Runtime.Serialization.ExtensionDataObject ExtensionData { + get { + return this.extensionDataField; + } + set { + this.extensionDataField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public int NumberOfSteps { + get { + return this.NumberOfStepsField; + } + set { + if ((this.NumberOfStepsField.Equals(value) != true)) { + this.NumberOfStepsField = value; + this.RaisePropertyChanged("NumberOfSteps"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public int PackChangeTime { + get { + return this.PackChangeTimeField; + } + set { + if ((this.PackChangeTimeField.Equals(value) != true)) { + this.PackChangeTimeField = value; + this.RaisePropertyChanged("PackChangeTime"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public int PackLength { + get { + return this.PackLengthField; + } + set { + if ((this.PackLengthField.Equals(value) != true)) { + this.PackLengthField = value; + this.RaisePropertyChanged("PackLength"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public int StepDelay { + get { + return this.StepDelayField; + } + set { + if ((this.StepDelayField.Equals(value) != true)) { + this.StepDelayField = value; + this.RaisePropertyChanged("StepDelay"); + } + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="PackingStyle", Namespace="uri:Compac.Services.Sizer.Service")] + [System.SerializableAttribute()] + public partial class PackingStyle : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { + + [System.NonSerializedAttribute()] + private System.Runtime.Serialization.ExtensionDataObject extensionDataField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string DisplayNameField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string NameField; + + [global::System.ComponentModel.BrowsableAttribute(false)] + public System.Runtime.Serialization.ExtensionDataObject ExtensionData { + get { + return this.extensionDataField; + } + set { + this.extensionDataField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string DisplayName { + get { + return this.DisplayNameField; + } + set { + if ((object.ReferenceEquals(this.DisplayNameField, value) != true)) { + this.DisplayNameField = value; + this.RaisePropertyChanged("DisplayName"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Name { + get { + return this.NameField; + } + set { + if ((object.ReferenceEquals(this.NameField, value) != true)) { + this.NameField = value; + this.RaisePropertyChanged("Name"); + } + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="PackTargetFill", Namespace="uri:Compac.Services.Sizer.Service")] + [System.SerializableAttribute()] + public partial class PackTargetFill : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { + + [System.NonSerializedAttribute()] + private System.Runtime.Serialization.ExtensionDataObject extensionDataField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private Icoel.Soap.SizerService.PackFillMode FillModeField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private int QuantityField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private decimal WeightDecigramField; + + [global::System.ComponentModel.BrowsableAttribute(false)] + public System.Runtime.Serialization.ExtensionDataObject ExtensionData { + get { + return this.extensionDataField; + } + set { + this.extensionDataField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public Icoel.Soap.SizerService.PackFillMode FillMode { + get { + return this.FillModeField; + } + set { + if ((this.FillModeField.Equals(value) != true)) { + this.FillModeField = value; + this.RaisePropertyChanged("FillMode"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public int Quantity { + get { + return this.QuantityField; + } + set { + if ((this.QuantityField.Equals(value) != true)) { + this.QuantityField = value; + this.RaisePropertyChanged("Quantity"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public decimal WeightDecigram { + get { + return this.WeightDecigramField; + } + set { + if ((this.WeightDecigramField.Equals(value) != true)) { + this.WeightDecigramField = value; + this.RaisePropertyChanged("WeightDecigram"); + } + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="PackFillMode", Namespace="uri:Compac.Services.Sizer.Service")] + public enum PackFillMode : int { + + [System.Runtime.Serialization.EnumMemberAttribute()] + Weight = 0, + + [System.Runtime.Serialization.EnumMemberAttribute()] + Quantity = 1, + + [System.Runtime.Serialization.EnumMemberAttribute()] + WeightAndQuantity = 2, + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="Variety", Namespace="uri:Compac.Services.Sizer.Service")] + [System.SerializableAttribute()] + public partial class Variety : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { + + [System.NonSerializedAttribute()] + private System.Runtime.Serialization.ExtensionDataObject extensionDataField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private Icoel.Soap.SizerService.Grade[] GradesField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private System.Guid IdField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string NameField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private Icoel.Soap.SizerService.Quality[] QualitiesField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private Icoel.Soap.SizerService.SizingMap[] SizingMapsField; + + [global::System.ComponentModel.BrowsableAttribute(false)] + public System.Runtime.Serialization.ExtensionDataObject ExtensionData { + get { + return this.extensionDataField; + } + set { + this.extensionDataField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public Icoel.Soap.SizerService.Grade[] Grades { + get { + return this.GradesField; + } + set { + if ((object.ReferenceEquals(this.GradesField, value) != true)) { + this.GradesField = value; + this.RaisePropertyChanged("Grades"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public System.Guid Id { + get { + return this.IdField; + } + set { + if ((this.IdField.Equals(value) != true)) { + this.IdField = value; + this.RaisePropertyChanged("Id"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Name { + get { + return this.NameField; + } + set { + if ((object.ReferenceEquals(this.NameField, value) != true)) { + this.NameField = value; + this.RaisePropertyChanged("Name"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public Icoel.Soap.SizerService.Quality[] Qualities { + get { + return this.QualitiesField; + } + set { + if ((object.ReferenceEquals(this.QualitiesField, value) != true)) { + this.QualitiesField = value; + this.RaisePropertyChanged("Qualities"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public Icoel.Soap.SizerService.SizingMap[] SizingMaps { + get { + return this.SizingMapsField; + } + set { + if ((object.ReferenceEquals(this.SizingMapsField, value) != true)) { + this.SizingMapsField = value; + this.RaisePropertyChanged("SizingMaps"); + } + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="Grade", Namespace="uri:Compac.Services.Sizer.Service")] + [System.SerializableAttribute()] + public partial class Grade : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { + + [System.NonSerializedAttribute()] + private System.Runtime.Serialization.ExtensionDataObject extensionDataField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string NameField; + + [global::System.ComponentModel.BrowsableAttribute(false)] + public System.Runtime.Serialization.ExtensionDataObject ExtensionData { + get { + return this.extensionDataField; + } + set { + this.extensionDataField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Name { + get { + return this.NameField; + } + set { + if ((object.ReferenceEquals(this.NameField, value) != true)) { + this.NameField = value; + this.RaisePropertyChanged("Name"); + } + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="Quality", Namespace="uri:Compac.Services.Sizer.Service")] + [System.SerializableAttribute()] + public partial class Quality : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { + + [System.NonSerializedAttribute()] + private System.Runtime.Serialization.ExtensionDataObject extensionDataField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string NameField; + + [global::System.ComponentModel.BrowsableAttribute(false)] + public System.Runtime.Serialization.ExtensionDataObject ExtensionData { + get { + return this.extensionDataField; + } + set { + this.extensionDataField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Name { + get { + return this.NameField; + } + set { + if ((object.ReferenceEquals(this.NameField, value) != true)) { + this.NameField = value; + this.RaisePropertyChanged("Name"); + } + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="SizingMap", Namespace="uri:Compac.Services.Sizer.Service")] + [System.SerializableAttribute()] + public partial class SizingMap : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { + + [System.NonSerializedAttribute()] + private System.Runtime.Serialization.ExtensionDataObject extensionDataField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private Icoel.Soap.SizerService.QualityGradePair[] CoveredQualityGradesField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string NameField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private Icoel.Soap.SizerService.Size[] SizesField; + + [global::System.ComponentModel.BrowsableAttribute(false)] + public System.Runtime.Serialization.ExtensionDataObject ExtensionData { + get { + return this.extensionDataField; + } + set { + this.extensionDataField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public Icoel.Soap.SizerService.QualityGradePair[] CoveredQualityGrades { + get { + return this.CoveredQualityGradesField; + } + set { + if ((object.ReferenceEquals(this.CoveredQualityGradesField, value) != true)) { + this.CoveredQualityGradesField = value; + this.RaisePropertyChanged("CoveredQualityGrades"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Name { + get { + return this.NameField; + } + set { + if ((object.ReferenceEquals(this.NameField, value) != true)) { + this.NameField = value; + this.RaisePropertyChanged("Name"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public Icoel.Soap.SizerService.Size[] Sizes { + get { + return this.SizesField; + } + set { + if ((object.ReferenceEquals(this.SizesField, value) != true)) { + this.SizesField = value; + this.RaisePropertyChanged("Sizes"); + } + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="QualityGradePair", Namespace="uri:Compac.Services.Sizer.Service")] + [System.SerializableAttribute()] + public partial class QualityGradePair : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { + + [System.NonSerializedAttribute()] + private System.Runtime.Serialization.ExtensionDataObject extensionDataField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string GradeField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string QualityField; + + [global::System.ComponentModel.BrowsableAttribute(false)] + public System.Runtime.Serialization.ExtensionDataObject ExtensionData { + get { + return this.extensionDataField; + } + set { + this.extensionDataField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Grade { + get { + return this.GradeField; + } + set { + if ((object.ReferenceEquals(this.GradeField, value) != true)) { + this.GradeField = value; + this.RaisePropertyChanged("Grade"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Quality { + get { + return this.QualityField; + } + set { + if ((object.ReferenceEquals(this.QualityField, value) != true)) { + this.QualityField = value; + this.RaisePropertyChanged("Quality"); + } + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="Size", Namespace="uri:Compac.Services.Sizer.Service")] + [System.SerializableAttribute()] + public partial class Size : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { + + [System.NonSerializedAttribute()] + private System.Runtime.Serialization.ExtensionDataObject extensionDataField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string NameField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private System.Collections.Generic.Dictionary SettingsField; + + [global::System.ComponentModel.BrowsableAttribute(false)] + public System.Runtime.Serialization.ExtensionDataObject ExtensionData { + get { + return this.extensionDataField; + } + set { + this.extensionDataField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Name { + get { + return this.NameField; + } + set { + if ((object.ReferenceEquals(this.NameField, value) != true)) { + this.NameField = value; + this.RaisePropertyChanged("Name"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public System.Collections.Generic.Dictionary Settings { + get { + return this.SettingsField; + } + set { + if ((object.ReferenceEquals(this.SettingsField, value) != true)) { + this.SettingsField = value; + this.RaisePropertyChanged("Settings"); + } + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="Label", Namespace="uri:Compac.Services.Sizer.Service")] + [System.SerializableAttribute()] + public partial class Label : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { + + [System.NonSerializedAttribute()] + private System.Runtime.Serialization.ExtensionDataObject extensionDataField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string DisplayNameField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string NameField; + + [global::System.ComponentModel.BrowsableAttribute(false)] + public System.Runtime.Serialization.ExtensionDataObject ExtensionData { + get { + return this.extensionDataField; + } + set { + this.extensionDataField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string DisplayName { + get { + return this.DisplayNameField; + } + set { + if ((object.ReferenceEquals(this.DisplayNameField, value) != true)) { + this.DisplayNameField = value; + this.RaisePropertyChanged("DisplayName"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Name { + get { + return this.NameField; + } + set { + if ((object.ReferenceEquals(this.NameField, value) != true)) { + this.NameField = value; + this.RaisePropertyChanged("Name"); + } + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="AlarmPriority", Namespace="uri:Compac.Services.Sizer.Service")] + public enum AlarmPriority : int { + + [System.Runtime.Serialization.EnumMemberAttribute()] + Low = 0, + + [System.Runtime.Serialization.EnumMemberAttribute()] + Medium = 1, + + [System.Runtime.Serialization.EnumMemberAttribute()] + High = 2, + + [System.Runtime.Serialization.EnumMemberAttribute()] + Critical = 3, + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="Grower", Namespace="uri:Compac.Services.Sizer.Service")] + [System.SerializableAttribute()] + public partial class Grower : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { + + [System.NonSerializedAttribute()] + private System.Runtime.Serialization.ExtensionDataObject extensionDataField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string Address1Field; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string Address2Field; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string CodeField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string ContactNameField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string CountryField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string EmailAddressField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string FaxField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string MobileField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string NameField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string PhoneField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string StateField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string TownCityField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string TraceabilityIdField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string ZipCodeField; + + [global::System.ComponentModel.BrowsableAttribute(false)] + public System.Runtime.Serialization.ExtensionDataObject ExtensionData { + get { + return this.extensionDataField; + } + set { + this.extensionDataField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Address1 { + get { + return this.Address1Field; + } + set { + if ((object.ReferenceEquals(this.Address1Field, value) != true)) { + this.Address1Field = value; + this.RaisePropertyChanged("Address1"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Address2 { + get { + return this.Address2Field; + } + set { + if ((object.ReferenceEquals(this.Address2Field, value) != true)) { + this.Address2Field = value; + this.RaisePropertyChanged("Address2"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Code { + get { + return this.CodeField; + } + set { + if ((object.ReferenceEquals(this.CodeField, value) != true)) { + this.CodeField = value; + this.RaisePropertyChanged("Code"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string ContactName { + get { + return this.ContactNameField; + } + set { + if ((object.ReferenceEquals(this.ContactNameField, value) != true)) { + this.ContactNameField = value; + this.RaisePropertyChanged("ContactName"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Country { + get { + return this.CountryField; + } + set { + if ((object.ReferenceEquals(this.CountryField, value) != true)) { + this.CountryField = value; + this.RaisePropertyChanged("Country"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string EmailAddress { + get { + return this.EmailAddressField; + } + set { + if ((object.ReferenceEquals(this.EmailAddressField, value) != true)) { + this.EmailAddressField = value; + this.RaisePropertyChanged("EmailAddress"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Fax { + get { + return this.FaxField; + } + set { + if ((object.ReferenceEquals(this.FaxField, value) != true)) { + this.FaxField = value; + this.RaisePropertyChanged("Fax"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Mobile { + get { + return this.MobileField; + } + set { + if ((object.ReferenceEquals(this.MobileField, value) != true)) { + this.MobileField = value; + this.RaisePropertyChanged("Mobile"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Name { + get { + return this.NameField; + } + set { + if ((object.ReferenceEquals(this.NameField, value) != true)) { + this.NameField = value; + this.RaisePropertyChanged("Name"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Phone { + get { + return this.PhoneField; + } + set { + if ((object.ReferenceEquals(this.PhoneField, value) != true)) { + this.PhoneField = value; + this.RaisePropertyChanged("Phone"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string State { + get { + return this.StateField; + } + set { + if ((object.ReferenceEquals(this.StateField, value) != true)) { + this.StateField = value; + this.RaisePropertyChanged("State"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string TownCity { + get { + return this.TownCityField; + } + set { + if ((object.ReferenceEquals(this.TownCityField, value) != true)) { + this.TownCityField = value; + this.RaisePropertyChanged("TownCity"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string TraceabilityId { + get { + return this.TraceabilityIdField; + } + set { + if ((object.ReferenceEquals(this.TraceabilityIdField, value) != true)) { + this.TraceabilityIdField = value; + this.RaisePropertyChanged("TraceabilityId"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string ZipCode { + get { + return this.ZipCodeField; + } + set { + if ((object.ReferenceEquals(this.ZipCodeField, value) != true)) { + this.ZipCodeField = value; + this.RaisePropertyChanged("ZipCode"); + } + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="AbstractSamplingConfiguration", Namespace="uri:Compac.Services.Sizer.Service")] + [System.SerializableAttribute()] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.ElementSamplingConfiguration))] + [System.Runtime.Serialization.KnownTypeAttribute(typeof(Icoel.Soap.SizerService.ProductSamplingConfiguration))] + public partial class AbstractSamplingConfiguration : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { + + [System.NonSerializedAttribute()] + private System.Runtime.Serialization.ExtensionDataObject extensionDataField; + + [global::System.ComponentModel.BrowsableAttribute(false)] + public System.Runtime.Serialization.ExtensionDataObject ExtensionData { + get { + return this.extensionDataField; + } + set { + this.extensionDataField = value; + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="ElementSamplingConfiguration", Namespace="uri:Compac.Services.Sizer.Service")] + [System.SerializableAttribute()] + public partial class ElementSamplingConfiguration : Icoel.Soap.SizerService.AbstractSamplingConfiguration { + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private int BatchIdField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private Icoel.Soap.SizerService.Element[] ElementsField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private System.Nullable LimitField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private Icoel.Soap.SizerService.SamplingMeasurementUnit LimitUnitField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private Icoel.Soap.SizerService.Ratio RatioField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private Icoel.Soap.SizerService.RatioMeasurementUnit RatioRightUnitField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private int[] LaneNumbersField; + + [System.Runtime.Serialization.DataMemberAttribute()] + public int BatchId { + get { + return this.BatchIdField; + } + set { + if ((this.BatchIdField.Equals(value) != true)) { + this.BatchIdField = value; + this.RaisePropertyChanged("BatchId"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public Icoel.Soap.SizerService.Element[] Elements { + get { + return this.ElementsField; + } + set { + if ((object.ReferenceEquals(this.ElementsField, value) != true)) { + this.ElementsField = value; + this.RaisePropertyChanged("Elements"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public System.Nullable Limit { + get { + return this.LimitField; + } + set { + if ((this.LimitField.Equals(value) != true)) { + this.LimitField = value; + this.RaisePropertyChanged("Limit"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public Icoel.Soap.SizerService.SamplingMeasurementUnit LimitUnit { + get { + return this.LimitUnitField; + } + set { + if ((this.LimitUnitField.Equals(value) != true)) { + this.LimitUnitField = value; + this.RaisePropertyChanged("LimitUnit"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public Icoel.Soap.SizerService.Ratio Ratio { + get { + return this.RatioField; + } + set { + if ((object.ReferenceEquals(this.RatioField, value) != true)) { + this.RatioField = value; + this.RaisePropertyChanged("Ratio"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public Icoel.Soap.SizerService.RatioMeasurementUnit RatioRightUnit { + get { + return this.RatioRightUnitField; + } + set { + if ((this.RatioRightUnitField.Equals(value) != true)) { + this.RatioRightUnitField = value; + this.RaisePropertyChanged("RatioRightUnit"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute(Order=6)] + public int[] LaneNumbers { + get { + return this.LaneNumbersField; + } + set { + if ((object.ReferenceEquals(this.LaneNumbersField, value) != true)) { + this.LaneNumbersField = value; + this.RaisePropertyChanged("LaneNumbers"); + } + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="SamplingMeasurementUnit", Namespace="uri:Compac.Services.Sizer.Service")] + public enum SamplingMeasurementUnit : int { + + [System.Runtime.Serialization.EnumMemberAttribute()] + Pieces = 0, + + [System.Runtime.Serialization.EnumMemberAttribute()] + Decigrams = 1, + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="Ratio", Namespace="uri:Compac.Services.Sizer.Service")] + [System.SerializableAttribute()] + public partial class Ratio : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { + + [System.NonSerializedAttribute()] + private System.Runtime.Serialization.ExtensionDataObject extensionDataField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private int NumeratorField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private int DenominatorField; + + [global::System.ComponentModel.BrowsableAttribute(false)] + public System.Runtime.Serialization.ExtensionDataObject ExtensionData { + get { + return this.extensionDataField; + } + set { + this.extensionDataField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public int Numerator { + get { + return this.NumeratorField; + } + set { + if ((this.NumeratorField.Equals(value) != true)) { + this.NumeratorField = value; + this.RaisePropertyChanged("Numerator"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute(Order=1)] + public int Denominator { + get { + return this.DenominatorField; + } + set { + if ((this.DenominatorField.Equals(value) != true)) { + this.DenominatorField = value; + this.RaisePropertyChanged("Denominator"); + } + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="RatioMeasurementUnit", Namespace="uri:Compac.Services.Sizer.Service")] + public enum RatioMeasurementUnit : int { + + [System.Runtime.Serialization.EnumMemberAttribute()] + Pieces = 0, + + [System.Runtime.Serialization.EnumMemberAttribute()] + CartonEquivalents = 1, + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="ProductSamplingConfiguration", Namespace="uri:Compac.Services.Sizer.Service")] + [System.SerializableAttribute()] + public partial class ProductSamplingConfiguration : Icoel.Soap.SizerService.AbstractSamplingConfiguration { + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private int BatchIdField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private int[] LaneNumbersField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private System.Nullable LimitField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private Icoel.Soap.SizerService.SamplingMeasurementUnit LimitUnitField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private System.Guid ProductIdField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private Icoel.Soap.SizerService.Ratio RatioField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private Icoel.Soap.SizerService.RatioMeasurementUnit RatioRightUnitField; + + [System.Runtime.Serialization.DataMemberAttribute()] + public int BatchId { + get { + return this.BatchIdField; + } + set { + if ((this.BatchIdField.Equals(value) != true)) { + this.BatchIdField = value; + this.RaisePropertyChanged("BatchId"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public int[] LaneNumbers { + get { + return this.LaneNumbersField; + } + set { + if ((object.ReferenceEquals(this.LaneNumbersField, value) != true)) { + this.LaneNumbersField = value; + this.RaisePropertyChanged("LaneNumbers"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public System.Nullable Limit { + get { + return this.LimitField; + } + set { + if ((this.LimitField.Equals(value) != true)) { + this.LimitField = value; + this.RaisePropertyChanged("Limit"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public Icoel.Soap.SizerService.SamplingMeasurementUnit LimitUnit { + get { + return this.LimitUnitField; + } + set { + if ((this.LimitUnitField.Equals(value) != true)) { + this.LimitUnitField = value; + this.RaisePropertyChanged("LimitUnit"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public System.Guid ProductId { + get { + return this.ProductIdField; + } + set { + if ((this.ProductIdField.Equals(value) != true)) { + this.ProductIdField = value; + this.RaisePropertyChanged("ProductId"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public Icoel.Soap.SizerService.Ratio Ratio { + get { + return this.RatioField; + } + set { + if ((object.ReferenceEquals(this.RatioField, value) != true)) { + this.RatioField = value; + this.RaisePropertyChanged("Ratio"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public Icoel.Soap.SizerService.RatioMeasurementUnit RatioRightUnit { + get { + return this.RatioRightUnitField; + } + set { + if ((this.RatioRightUnitField.Equals(value) != true)) { + this.RatioRightUnitField = value; + this.RaisePropertyChanged("RatioRightUnit"); + } + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="SamplingProgress", Namespace="uri:Compac.Services.Sizer.Service")] + [System.SerializableAttribute()] + public partial class SamplingProgress : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { + + [System.NonSerializedAttribute()] + private System.Runtime.Serialization.ExtensionDataObject extensionDataField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private decimal CurrentCountField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string NameField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private System.Nullable TargetCountField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private Icoel.Soap.SizerService.SamplingMeasurementUnit UnitField; + + [global::System.ComponentModel.BrowsableAttribute(false)] + public System.Runtime.Serialization.ExtensionDataObject ExtensionData { + get { + return this.extensionDataField; + } + set { + this.extensionDataField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public decimal CurrentCount { + get { + return this.CurrentCountField; + } + set { + if ((this.CurrentCountField.Equals(value) != true)) { + this.CurrentCountField = value; + this.RaisePropertyChanged("CurrentCount"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Name { + get { + return this.NameField; + } + set { + if ((object.ReferenceEquals(this.NameField, value) != true)) { + this.NameField = value; + this.RaisePropertyChanged("Name"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public System.Nullable TargetCount { + get { + return this.TargetCountField; + } + set { + if ((this.TargetCountField.Equals(value) != true)) { + this.TargetCountField = value; + this.RaisePropertyChanged("TargetCount"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public Icoel.Soap.SizerService.SamplingMeasurementUnit Unit { + get { + return this.UnitField; + } + set { + if ((this.UnitField.Equals(value) != true)) { + this.UnitField = value; + this.RaisePropertyChanged("Unit"); + } + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ServiceModel.ServiceContractAttribute(Namespace="urn:clr:Compac.Services.Sizer.Service", ConfigurationName="SizerService.ISizerService")] + public interface ISizerService { + + // CODEGEN: Generazione di un contratto di messaggio perché lo spazio dei nomi wrapper (urn:clr:Compac.Services.Core) del messaggio GetVersionRequest non corrisponde al valore predefinito (urn:clr:Compac.Services.Sizer.Service) + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Core/ICompacService/GetVersion", ReplyAction="urn:clr:Compac.Services.Core/ICompacService/GetVersionResponse")] + Icoel.Soap.SizerService.GetVersionResponse GetVersion(Icoel.Soap.SizerService.GetVersionRequest request); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Core/ICompacService/GetVersion", ReplyAction="urn:clr:Compac.Services.Core/ICompacService/GetVersionResponse")] + System.Threading.Tasks.Task GetVersionAsync(Icoel.Soap.SizerService.GetVersionRequest request); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetSerialNo", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetSerialNoResponse")] + string GetSerialNo(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetSerialNo", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetSerialNoResponse")] + System.Threading.Tasks.Task GetSerialNoAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineName", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineNameResponse")] + string GetMachineName(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineName", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineNameResponse")] + System.Threading.Tasks.Task GetMachineNameAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetPackhouseName", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetPackhouseNameResponse")] + string GetPackhouseName(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetPackhouseName", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetPackhouseNameResponse")] + System.Threading.Tasks.Task GetPackhouseNameAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetNumberOfPackersForOutlet", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetNumberOfPackersForOutletRe" + + "sponse")] + int GetNumberOfPackersForOutlet(int outlet); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetNumberOfPackersForOutlet", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetNumberOfPackersForOutletRe" + + "sponse")] + System.Threading.Tasks.Task GetNumberOfPackersForOutletAsync(int outlet); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetNumberOfPackersForOutlets", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetNumberOfPackersForOutletsR" + + "esponse")] + int[] GetNumberOfPackersForOutlets(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetNumberOfPackersForOutlets", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetNumberOfPackersForOutletsR" + + "esponse")] + System.Threading.Tasks.Task GetNumberOfPackersForOutletsAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetExactNumberOfPackersForOut" + + "let", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetExactNumberOfPackersForOut" + + "letResponse")] + double GetExactNumberOfPackersForOutlet(int outlet); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetExactNumberOfPackersForOut" + + "let", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetExactNumberOfPackersForOut" + + "letResponse")] + System.Threading.Tasks.Task GetExactNumberOfPackersForOutletAsync(int outlet); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetExactNumberOfPackersForOut" + + "lets", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetExactNumberOfPackersForOut" + + "letsResponse")] + double[] GetExactNumberOfPackersForOutlets(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetExactNumberOfPackersForOut" + + "lets", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetExactNumberOfPackersForOut" + + "letsResponse")] + System.Threading.Tasks.Task GetExactNumberOfPackersForOutletsAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetTotalNumberOfOutletPackers" + + "", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetTotalNumberOfOutletPackers" + + "Response")] + int GetTotalNumberOfOutletPackers(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetTotalNumberOfOutletPackers" + + "", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetTotalNumberOfOutletPackers" + + "Response")] + System.Threading.Tasks.Task GetTotalNumberOfOutletPackersAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/SetTotalNumberOfOutletPackers" + + "", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/SetTotalNumberOfOutletPackers" + + "Response")] + void SetTotalNumberOfOutletPackers(int number); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/SetTotalNumberOfOutletPackers" + + "", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/SetTotalNumberOfOutletPackers" + + "Response")] + System.Threading.Tasks.Task SetTotalNumberOfOutletPackersAsync(int number); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/SetOutletGroup", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/SetOutletGroupResponse")] + void SetOutletGroup(int[] outlets); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/SetOutletGroup", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/SetOutletGroupResponse")] + System.Threading.Tasks.Task SetOutletGroupAsync(int[] outlets); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetQueuedBatches", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetQueuedBatchesResponse")] + Icoel.Soap.SizerService.Batch[] GetQueuedBatches(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetQueuedBatches", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetQueuedBatchesResponse")] + System.Threading.Tasks.Task GetQueuedBatchesAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetNextBatchInQueue", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetNextBatchInQueueResponse")] + Icoel.Soap.SizerService.Batch GetNextBatchInQueue(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetNextBatchInQueue", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetNextBatchInQueueResponse")] + System.Threading.Tasks.Task GetNextBatchInQueueAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetNextBatches", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetNextBatchesResponse")] + Icoel.Soap.SizerService.Batch[] GetNextBatches(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetNextBatches", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetNextBatchesResponse")] + System.Threading.Tasks.Task GetNextBatchesAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetNextBatchByLaneGroup", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetNextBatchByLaneGroupRespon" + + "se")] + Icoel.Soap.SizerService.Batch GetNextBatchByLaneGroup(Icoel.Soap.SizerService.LaneGroup laneGroup); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetNextBatchByLaneGroup", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetNextBatchByLaneGroupRespon" + + "se")] + System.Threading.Tasks.Task GetNextBatchByLaneGroupAsync(Icoel.Soap.SizerService.LaneGroup laneGroup); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/AddBatch", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/AddBatchResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(Icoel.Soap.SizerService.ArgumentFault), Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/AddBatchArgumentFaultFault", Name="ArgumentFault", Namespace="http://Compac.Services.Core")] + void AddBatch(Icoel.Soap.SizerService.Batch batch); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/AddBatch", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/AddBatchResponse")] + System.Threading.Tasks.Task AddBatchAsync(Icoel.Soap.SizerService.Batch batch); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/AddBatches", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/AddBatchesResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(Icoel.Soap.SizerService.ArgumentFault), Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/AddBatchesArgumentFaultFault", Name="ArgumentFault", Namespace="http://Compac.Services.Core")] + void AddBatches(Icoel.Soap.SizerService.Batch[] batches); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/AddBatches", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/AddBatchesResponse")] + System.Threading.Tasks.Task AddBatchesAsync(Icoel.Soap.SizerService.Batch[] batches); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/ClearBatchQueue", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/ClearBatchQueueResponse")] + void ClearBatchQueue(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/ClearBatchQueue", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/ClearBatchQueueResponse")] + System.Threading.Tasks.Task ClearBatchQueueAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/RemoveNextBatchInQueue", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/RemoveNextBatchInQueueRespons" + + "e")] + void RemoveNextBatchInQueue(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/RemoveNextBatchInQueue", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/RemoveNextBatchInQueueRespons" + + "e")] + System.Threading.Tasks.Task RemoveNextBatchInQueueAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/RemoveNextBatchInQueueForLane" + + "Group", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/RemoveNextBatchInQueueForLane" + + "GroupResponse")] + void RemoveNextBatchInQueueForLaneGroup(Icoel.Soap.SizerService.LaneGroup laneGroup, bool removeWholeBatch); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/RemoveNextBatchInQueueForLane" + + "Group", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/RemoveNextBatchInQueueForLane" + + "GroupResponse")] + System.Threading.Tasks.Task RemoveNextBatchInQueueForLaneGroupAsync(Icoel.Soap.SizerService.LaneGroup laneGroup, bool removeWholeBatch); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/StartNextBatchInQueue", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/StartNextBatchInQueueResponse" + + "")] + int StartNextBatchInQueue(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/StartNextBatchInQueue", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/StartNextBatchInQueueResponse" + + "")] + System.Threading.Tasks.Task StartNextBatchInQueueAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/StartNextBatchInQueueForLaneG" + + "roup", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/StartNextBatchInQueueForLaneG" + + "roupResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(Icoel.Soap.SizerService.ArgumentFault), Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/StartNextBatchInQueueForLaneG" + + "roupArgumentFaultFault", Name="ArgumentFault", Namespace="http://Compac.Services.Core")] + int StartNextBatchInQueueForLaneGroup(Icoel.Soap.SizerService.LaneGroup laneGroup); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/StartNextBatchInQueueForLaneG" + + "roup", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/StartNextBatchInQueueForLaneG" + + "roupResponse")] + System.Threading.Tasks.Task StartNextBatchInQueueForLaneGroupAsync(Icoel.Soap.SizerService.LaneGroup laneGroup); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetCurrentCartonEquivalentWei" + + "ght", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetCurrentCartonEquivalentWei" + + "ghtResponse")] + double GetCurrentCartonEquivalentWeight(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetCurrentCartonEquivalentWei" + + "ght", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetCurrentCartonEquivalentWei" + + "ghtResponse")] + System.Threading.Tasks.Task GetCurrentCartonEquivalentWeightAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/SetCurrentCartonEquivalentWei" + + "ght", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/SetCurrentCartonEquivalentWei" + + "ghtResponse")] + void SetCurrentCartonEquivalentWeight(double cartonEquivalentWeight); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/SetCurrentCartonEquivalentWei" + + "ght", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/SetCurrentCartonEquivalentWei" + + "ghtResponse")] + System.Threading.Tasks.Task SetCurrentCartonEquivalentWeightAsync(double cartonEquivalentWeight); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetLaneSizeFPM", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetLaneSizeFPMResponse")] + System.Collections.Generic.Dictionary GetLaneSizeFPM(int laneIndex); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetLaneSizeFPM", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetLaneSizeFPMResponse")] + System.Threading.Tasks.Task> GetLaneSizeFPMAsync(int laneIndex); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetLanesSizeFPM", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetLanesSizeFPMResponse")] + System.Collections.Generic.Dictionary[] GetLanesSizeFPM(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetLanesSizeFPM", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetLanesSizeFPMResponse")] + System.Threading.Tasks.Task[]> GetLanesSizeFPMAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetLaneGradeFPM", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetLaneGradeFPMResponse")] + System.Collections.Generic.Dictionary GetLaneGradeFPM(int laneIndex); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetLaneGradeFPM", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetLaneGradeFPMResponse")] + System.Threading.Tasks.Task> GetLaneGradeFPMAsync(int laneIndex); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetLanesGradeFPM", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetLanesGradeFPMResponse")] + System.Collections.Generic.Dictionary[] GetLanesGradeFPM(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetLanesGradeFPM", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetLanesGradeFPMResponse")] + System.Threading.Tasks.Task[]> GetLanesGradeFPMAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/ForceChangeOnStage", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/ForceChangeOnStageResponse")] + bool ForceChangeOnStage(string stageName, int toBatchId); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/ForceChangeOnStage", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/ForceChangeOnStageResponse")] + System.Threading.Tasks.Task ForceChangeOnStageAsync(string stageName, int toBatchId); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetSizingProfileNames", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetSizingProfileNamesResponse" + + "")] + string[] GetSizingProfileNames(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetSizingProfileNames", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetSizingProfileNamesResponse" + + "")] + System.Threading.Tasks.Task GetSizingProfileNamesAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetVarietyNames", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetVarietyNamesResponse")] + string[] GetVarietyNames(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetVarietyNames", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetVarietyNamesResponse")] + System.Threading.Tasks.Task GetVarietyNamesAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetLayouts", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetLayoutsResponse")] + Icoel.Soap.SizerService.Layout[] GetLayouts(System.Guid varietyID); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetLayouts", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetLayoutsResponse")] + System.Threading.Tasks.Task GetLayoutsAsync(System.Guid varietyID); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetVarietyByName", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetVarietyByNameResponse")] + Icoel.Soap.SizerService.Variety GetVarietyByName(string varietyName); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetVarietyByName", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetVarietyByNameResponse")] + System.Threading.Tasks.Task GetVarietyByNameAsync(string varietyName); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetVarietyById", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetVarietyByIdResponse")] + Icoel.Soap.SizerService.Variety GetVarietyById(System.Guid varietyID); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetVarietyById", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetVarietyByIdResponse")] + System.Threading.Tasks.Task GetVarietyByIdAsync(System.Guid varietyID); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetActiveVariety", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetActiveVarietyResponse")] + Icoel.Soap.SizerService.Variety GetActiveVariety(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetActiveVariety", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetActiveVarietyResponse")] + System.Threading.Tasks.Task GetActiveVarietyAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetActiveVarieties", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetActiveVarietiesResponse")] + Icoel.Soap.SizerService.Variety[] GetActiveVarieties(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetActiveVarieties", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetActiveVarietiesResponse")] + System.Threading.Tasks.Task GetActiveVarietiesAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetAllVarieties", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetAllVarietiesResponse")] + Icoel.Soap.SizerService.Variety[] GetAllVarieties(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetAllVarieties", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetAllVarietiesResponse")] + System.Threading.Tasks.Task GetAllVarietiesAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetLayout", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetLayoutResponse")] + Icoel.Soap.SizerService.Layout GetLayout(System.Guid varietyID, System.Guid layoutID); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetLayout", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetLayoutResponse")] + System.Threading.Tasks.Task GetLayoutAsync(System.Guid varietyID, System.Guid layoutID); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetActiveLayout", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetActiveLayoutResponse")] + Icoel.Soap.SizerService.Layout GetActiveLayout(System.Guid varietyID); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetActiveLayout", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetActiveLayoutResponse")] + System.Threading.Tasks.Task GetActiveLayoutAsync(System.Guid varietyID); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetProduct", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetProductResponse")] + Icoel.Soap.SizerService.Product GetProduct(System.Guid productGuid); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetProduct", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetProductResponse")] + System.Threading.Tasks.Task GetProductAsync(System.Guid productGuid); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetActiveProducts", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetActiveProductsResponse")] + Icoel.Soap.SizerService.Product[] GetActiveProducts(System.Guid varietyID, System.Guid layoutID); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetActiveProducts", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetActiveProductsResponse")] + System.Threading.Tasks.Task GetActiveProductsAsync(System.Guid varietyID, System.Guid layoutID); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetAllProducts", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetAllProductsResponse")] + Icoel.Soap.SizerService.Product[] GetAllProducts(System.Guid varietyID); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetAllProducts", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetAllProductsResponse")] + System.Threading.Tasks.Task GetAllProductsAsync(System.Guid varietyID); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/RemoveProduct", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/RemoveProductResponse")] + void RemoveProduct(System.Guid varietyID, System.Guid layoutID, System.Guid productID); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/RemoveProduct", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/RemoveProductResponse")] + System.Threading.Tasks.Task RemoveProductAsync(System.Guid varietyID, System.Guid layoutID, System.Guid productID); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/CreateLayout", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/CreateLayoutResponse")] + Icoel.Soap.SizerService.Layout CreateLayout(System.Guid varietyID, string layoutName); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/CreateLayout", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/CreateLayoutResponse")] + System.Threading.Tasks.Task CreateLayoutAsync(System.Guid varietyID, string layoutName); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/DeleteLayout", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/DeleteLayoutResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(Icoel.Soap.SizerService.ArgumentFault), Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/DeleteLayoutArgumentFaultFaul" + + "t", Name="ArgumentFault", Namespace="http://Compac.Services.Core")] + void DeleteLayout(System.Guid varietyID, System.Guid layoutID); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/DeleteLayout", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/DeleteLayoutResponse")] + System.Threading.Tasks.Task DeleteLayoutAsync(System.Guid varietyID, System.Guid layoutID); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/UpdateLayout", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/UpdateLayoutResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(Icoel.Soap.SizerService.ArgumentFault), Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/UpdateLayoutArgumentFaultFaul" + + "t", Name="ArgumentFault", Namespace="http://Compac.Services.Core")] + Icoel.Soap.SizerService.Layout UpdateLayout(System.Guid varietyID, Icoel.Soap.SizerService.Layout layout); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/UpdateLayout", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/UpdateLayoutResponse")] + System.Threading.Tasks.Task UpdateLayoutAsync(System.Guid varietyID, Icoel.Soap.SizerService.Layout layout); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/ActivateLayout", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/ActivateLayoutResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(Icoel.Soap.SizerService.ArgumentFault), Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/ActivateLayoutArgumentFaultFa" + + "ult", Name="ArgumentFault", Namespace="http://Compac.Services.Core")] + Icoel.Soap.SizerService.Layout ActivateLayout(System.Guid varietyID, System.Guid layoutID); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/ActivateLayout", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/ActivateLayoutResponse")] + System.Threading.Tasks.Task ActivateLayoutAsync(System.Guid varietyID, System.Guid layoutID); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetAllPacks", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetAllPacksResponse")] + Icoel.Soap.SizerService.Pack[] GetAllPacks(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetAllPacks", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetAllPacksResponse")] + System.Threading.Tasks.Task GetAllPacksAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetAllLabels", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetAllLabelsResponse")] + Icoel.Soap.SizerService.Label[] GetAllLabels(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetAllLabels", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetAllLabelsResponse")] + System.Threading.Tasks.Task GetAllLabelsAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetActiveLabels", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetActiveLabelsResponse")] + Icoel.Soap.SizerService.Label[] GetActiveLabels(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetActiveLabels", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetActiveLabelsResponse")] + System.Threading.Tasks.Task GetActiveLabelsAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/AddProduct", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/AddProductResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(Icoel.Soap.SizerService.ArgumentFault), Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/AddProductArgumentFaultFault", Name="ArgumentFault", Namespace="http://Compac.Services.Core")] + void AddProduct(System.Guid varietyID, Icoel.Soap.SizerService.Product product); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/AddProduct", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/AddProductResponse")] + System.Threading.Tasks.Task AddProductAsync(System.Guid varietyID, Icoel.Soap.SizerService.Product product); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/UpdateProduct", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/UpdateProductResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(Icoel.Soap.SizerService.ArgumentFault), Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/UpdateProductArgumentFaultFau" + + "lt", Name="ArgumentFault", Namespace="http://Compac.Services.Core")] + void UpdateProduct(Icoel.Soap.SizerService.Product product); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/UpdateProduct", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/UpdateProductResponse")] + System.Threading.Tasks.Task UpdateProductAsync(Icoel.Soap.SizerService.Product product); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/DeleteProduct", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/DeleteProductResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(Icoel.Soap.SizerService.ArgumentFault), Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/DeleteProductArgumentFaultFau" + + "lt", Name="ArgumentFault", Namespace="http://Compac.Services.Core")] + void DeleteProduct(System.Guid productID, bool force); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/DeleteProduct", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/DeleteProductResponse")] + System.Threading.Tasks.Task DeleteProductAsync(System.Guid productID, bool force); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/ActivateProducts", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/ActivateProductsResponse")] + void ActivateProducts(System.Guid varietyID, System.Guid layoutID, System.Guid[] productGuids); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/ActivateProducts", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/ActivateProductsResponse")] + System.Threading.Tasks.Task ActivateProductsAsync(System.Guid varietyID, System.Guid layoutID, System.Guid[] productGuids); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetOutlets", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetOutletsResponse")] + Icoel.Soap.SizerService.Outlet[] GetOutlets(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetOutlets", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetOutletsResponse")] + System.Threading.Tasks.Task GetOutletsAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetProductAtOutlet", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetProductAtOutletResponse")] + Icoel.Soap.SizerService.Product GetProductAtOutlet(int outletId); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetProductAtOutlet", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetProductAtOutletResponse")] + System.Threading.Tasks.Task GetProductAtOutletAsync(int outletId); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetBatchAtOutlet", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetBatchAtOutletResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(Icoel.Soap.SizerService.ArgumentFault), Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetBatchAtOutletArgumentFault" + + "Fault", Name="ArgumentFault", Namespace="http://Compac.Services.Core")] + Icoel.Soap.SizerService.Batch GetBatchAtOutlet(int outletId); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetBatchAtOutlet", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetBatchAtOutletResponse")] + System.Threading.Tasks.Task GetBatchAtOutletAsync(int outletId); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetBatchesAtOutlet", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetBatchesAtOutletResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(Icoel.Soap.SizerService.ArgumentFault), Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetBatchesAtOutletArgumentFau" + + "ltFault", Name="ArgumentFault", Namespace="http://Compac.Services.Core")] + Icoel.Soap.SizerService.Batch[] GetBatchesAtOutlet(int outletId); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetBatchesAtOutlet", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetBatchesAtOutletResponse")] + System.Threading.Tasks.Task GetBatchesAtOutletAsync(int outletId); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetBatchesForProductAtOutlet", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetBatchesForProductAtOutletR" + + "esponse")] + [System.ServiceModel.FaultContractAttribute(typeof(Icoel.Soap.SizerService.ArgumentFault), Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetBatchesForProductAtOutletA" + + "rgumentFaultFault", Name="ArgumentFault", Namespace="http://Compac.Services.Core")] + Icoel.Soap.SizerService.Batch[] GetBatchesForProductAtOutlet(int outletId); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetBatchesForProductAtOutlet", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetBatchesForProductAtOutletR" + + "esponse")] + System.Threading.Tasks.Task GetBatchesForProductAtOutletAsync(int outletId); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetProductUserData", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetProductUserDataResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(Icoel.Soap.SizerService.ArgumentFault), Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetProductUserDataArgumentFau" + + "ltFault", Name="ArgumentFault", Namespace="http://Compac.Services.Core")] + string GetProductUserData(System.Guid productId, string category, string field); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetProductUserData", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetProductUserDataResponse")] + System.Threading.Tasks.Task GetProductUserDataAsync(System.Guid productId, string category, string field); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/ChangeProductAtOutlet", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/ChangeProductAtOutletResponse" + + "")] + [System.ServiceModel.FaultContractAttribute(typeof(Icoel.Soap.SizerService.ArgumentFault), Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/ChangeProductAtOutletArgument" + + "FaultFault", Name="ArgumentFault", Namespace="http://Compac.Services.Core")] + void ChangeProductAtOutlet(int outletId, System.Guid productID, bool force); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/ChangeProductAtOutlet", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/ChangeProductAtOutletResponse" + + "")] + System.Threading.Tasks.Task ChangeProductAtOutletAsync(int outletId, System.Guid productID, bool force); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/SetOutletEnabled", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/SetOutletEnabledResponse")] + void SetOutletEnabled(int outletId, bool enabled, bool disableOnPackBoundary); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/SetOutletEnabled", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/SetOutletEnabledResponse")] + System.Threading.Tasks.Task SetOutletEnabledAsync(int outletId, bool enabled, bool disableOnPackBoundary); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/ResetOutlet", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/ResetOutletResponse")] + void ResetOutlet(int outletId); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/ResetOutlet", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/ResetOutletResponse")] + System.Threading.Tasks.Task ResetOutletAsync(int outletId); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/CycleOutlet", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/CycleOutletResponse")] + void CycleOutlet(int outletId); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/CycleOutlet", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/CycleOutletResponse")] + System.Threading.Tasks.Task CycleOutletAsync(int outletId); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetProductsInNextAvailableOut" + + "letStrategy", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetProductsInNextAvailableOut" + + "letStrategyResponse")] + Icoel.Soap.SizerService.Product[] GetProductsInNextAvailableOutletStrategy(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetProductsInNextAvailableOut" + + "letStrategy", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetProductsInNextAvailableOut" + + "letStrategyResponse")] + System.Threading.Tasks.Task GetProductsInNextAvailableOutletStrategyAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/AddProductToNextAvailableOutl" + + "etStrategy", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/AddProductToNextAvailableOutl" + + "etStrategyResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(Icoel.Soap.SizerService.ArgumentFault), Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/AddProductToNextAvailableOutl" + + "etStrategyArgumentFaultFault", Name="ArgumentFault", Namespace="http://Compac.Services.Core")] + void AddProductToNextAvailableOutletStrategy(System.Guid productId); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/AddProductToNextAvailableOutl" + + "etStrategy", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/AddProductToNextAvailableOutl" + + "etStrategyResponse")] + System.Threading.Tasks.Task AddProductToNextAvailableOutletStrategyAsync(System.Guid productId); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/RemoveProductFromNextAvailabl" + + "eOutletStrategy", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/RemoveProductFromNextAvailabl" + + "eOutletStrategyResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(Icoel.Soap.SizerService.ArgumentFault), Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/RemoveProductFromNextAvailabl" + + "eOutletStrategyArgumentFaultFault", Name="ArgumentFault", Namespace="http://Compac.Services.Core")] + void RemoveProductFromNextAvailableOutletStrategy(System.Guid productId); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/RemoveProductFromNextAvailabl" + + "eOutletStrategy", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/RemoveProductFromNextAvailabl" + + "eOutletStrategyResponse")] + System.Threading.Tasks.Task RemoveProductFromNextAvailableOutletStrategyAsync(System.Guid productId); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetOutletFPM", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetOutletFPMResponse")] + double GetOutletFPM(int outletId); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetOutletFPM", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetOutletFPMResponse")] + System.Threading.Tasks.Task GetOutletFPMAsync(int outletId); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetOutletsFPM", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetOutletsFPMResponse")] + double[] GetOutletsFPM(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetOutletsFPM", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetOutletsFPMResponse")] + System.Threading.Tasks.Task GetOutletsFPMAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineRodsPM", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineRodsPMResponse")] + int[] GetMachineRodsPM(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineRodsPM", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineRodsPMResponse")] + System.Threading.Tasks.Task GetMachineRodsPMAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineRecycleFPM", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineRecycleFPMResponse")] + int GetMachineRecycleFPM(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineRecycleFPM", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineRecycleFPMResponse")] + System.Threading.Tasks.Task GetMachineRecycleFPMAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineRejectFPM", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineRejectFPMResponse")] + int GetMachineRejectFPM(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineRejectFPM", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineRejectFPMResponse")] + System.Threading.Tasks.Task GetMachineRejectFPMAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineMissedFPM", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineMissedFPMResponse")] + int GetMachineMissedFPM(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineMissedFPM", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineMissedFPMResponse")] + System.Threading.Tasks.Task GetMachineMissedFPMAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineDroppedFPM", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineDroppedFPMResponse")] + int GetMachineDroppedFPM(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineDroppedFPM", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineDroppedFPMResponse")] + System.Threading.Tasks.Task GetMachineDroppedFPMAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachinePackedFPM", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachinePackedFPMResponse")] + int GetMachinePackedFPM(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachinePackedFPM", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachinePackedFPMResponse")] + System.Threading.Tasks.Task GetMachinePackedFPMAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineAFW", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineAFWResponse")] + double GetMachineAFW(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineAFW", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineAFWResponse")] + System.Threading.Tasks.Task GetMachineAFWAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetAFW", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetAFWResponse")] + double GetAFW(int batchId); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetAFW", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetAFWResponse")] + System.Threading.Tasks.Task GetAFWAsync(int batchId); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineAVC", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineAVCResponse")] + int GetMachineAVC(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineAVC", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineAVCResponse")] + System.Threading.Tasks.Task GetMachineAVCAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachinePacksPH", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachinePacksPHResponse")] + int GetMachinePacksPH(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachinePacksPH", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachinePacksPHResponse")] + System.Threading.Tasks.Task GetMachinePacksPHAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineCupfill", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineCupfillResponse")] + double GetMachineCupfill(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineCupfill", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineCupfillResponse")] + System.Threading.Tasks.Task GetMachineCupfillAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetLanesCupfill", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetLanesCupfillResponse")] + double GetLanesCupfill(int lane); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetLanesCupfill", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetLanesCupfillResponse")] + System.Threading.Tasks.Task GetLanesCupfillAsync(int lane); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetCupfillForAllLanes", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetCupfillForAllLanesResponse" + + "")] + double[] GetCupfillForAllLanes(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetCupfillForAllLanes", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetCupfillForAllLanesResponse" + + "")] + System.Threading.Tasks.Task GetCupfillForAllLanesAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/SetOutletsMaxRateSquareCMPerM" + + "inute", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/SetOutletsMaxRateSquareCMPerM" + + "inuteResponse")] + void SetOutletsMaxRateSquareCMPerMinute(System.Collections.Generic.Dictionary newRates); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/SetOutletsMaxRateSquareCMPerM" + + "inute", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/SetOutletsMaxRateSquareCMPerM" + + "inuteResponse")] + System.Threading.Tasks.Task SetOutletsMaxRateSquareCMPerMinuteAsync(System.Collections.Generic.Dictionary newRates); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineTonnesPH", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineTonnesPHResponse")] + int GetMachineTonnesPH(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineTonnesPH", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineTonnesPHResponse")] + System.Threading.Tasks.Task GetMachineTonnesPHAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/RaiseAlarm", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/RaiseAlarmResponse")] + void RaiseAlarm(string alarm, string details); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/RaiseAlarm", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/RaiseAlarmResponse")] + System.Threading.Tasks.Task RaiseAlarmAsync(string alarm, string details); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/RaiseAlarmWithPriority", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/RaiseAlarmWithPriorityRespons" + + "e")] + void RaiseAlarmWithPriority(string alarm, string details, Icoel.Soap.SizerService.AlarmPriority priority); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/RaiseAlarmWithPriority", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/RaiseAlarmWithPriorityRespons" + + "e")] + System.Threading.Tasks.Task RaiseAlarmWithPriorityAsync(string alarm, string details, Icoel.Soap.SizerService.AlarmPriority priority); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/RaiseEvent", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/RaiseEventResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(Icoel.Soap.SizerService.ArgumentFault), Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/RaiseEventArgumentFaultFault", Name="ArgumentFault", Namespace="http://Compac.Services.Core")] + void RaiseEvent(Icoel.Soap.SizerService.ServiceEvent eventDetails); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/RaiseEvent", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/RaiseEventResponse")] + System.Threading.Tasks.Task RaiseEventAsync(Icoel.Soap.SizerService.ServiceEvent eventDetails); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetLaneGroups", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetLaneGroupsResponse")] + Icoel.Soap.SizerService.LaneGroup[] GetLaneGroups(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetLaneGroups", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetLaneGroupsResponse")] + System.Threading.Tasks.Task GetLaneGroupsAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetBatch", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetBatchResponse")] + Icoel.Soap.SizerService.Batch GetBatch(int id); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetBatch", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetBatchResponse")] + System.Threading.Tasks.Task GetBatchAsync(int id); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetCurrentBatch", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetCurrentBatchResponse")] + Icoel.Soap.SizerService.Batch GetCurrentBatch(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetCurrentBatch", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetCurrentBatchResponse")] + System.Threading.Tasks.Task GetCurrentBatchAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetCurrentBatches", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetCurrentBatchesResponse")] + Icoel.Soap.SizerService.Batch[] GetCurrentBatches(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetCurrentBatches", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetCurrentBatchesResponse")] + System.Threading.Tasks.Task GetCurrentBatchesAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetCurrentBatchByLane", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetCurrentBatchByLaneResponse" + + "")] + Icoel.Soap.SizerService.Batch GetCurrentBatchByLane(int lane); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetCurrentBatchByLane", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetCurrentBatchByLaneResponse" + + "")] + System.Threading.Tasks.Task GetCurrentBatchByLaneAsync(int lane); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetCurrentBatchByLaneGroup", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetCurrentBatchByLaneGroupRes" + + "ponse")] + Icoel.Soap.SizerService.Batch GetCurrentBatchByLaneGroup(Icoel.Soap.SizerService.LaneGroup laneGroup); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetCurrentBatchByLaneGroup", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetCurrentBatchByLaneGroupRes" + + "ponse")] + System.Threading.Tasks.Task GetCurrentBatchByLaneGroupAsync(Icoel.Soap.SizerService.LaneGroup laneGroup); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/IsCurrentBatch", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/IsCurrentBatchResponse")] + bool IsCurrentBatch(int id); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/IsCurrentBatch", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/IsCurrentBatchResponse")] + System.Threading.Tasks.Task IsCurrentBatchAsync(int id); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetBatchLaneGroups", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetBatchLaneGroupsResponse")] + Icoel.Soap.SizerService.LaneGroup[] GetBatchLaneGroups(int id); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetBatchLaneGroups", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetBatchLaneGroupsResponse")] + System.Threading.Tasks.Task GetBatchLaneGroupsAsync(int id); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetBatchLanes", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetBatchLanesResponse")] + int[] GetBatchLanes(int id); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetBatchLanes", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetBatchLanesResponse")] + System.Threading.Tasks.Task GetBatchLanesAsync(int id); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/ChangeBatch", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/ChangeBatchResponse")] + int ChangeBatch(Icoel.Soap.SizerService.Batch batch); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/ChangeBatch", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/ChangeBatchResponse")] + System.Threading.Tasks.Task ChangeBatchAsync(Icoel.Soap.SizerService.Batch batch); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/ChangeBatchByLane", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/ChangeBatchByLaneResponse")] + int ChangeBatchByLane(Icoel.Soap.SizerService.Batch batch, Icoel.Soap.SizerService.LaneGroup[] laneGroups); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/ChangeBatchByLane", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/ChangeBatchByLaneResponse")] + System.Threading.Tasks.Task ChangeBatchByLaneAsync(Icoel.Soap.SizerService.Batch batch, Icoel.Soap.SizerService.LaneGroup[] laneGroups); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/SecondsToBallArrivingOnLastBa" + + "tchChange", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/SecondsToBallArrivingOnLastBa" + + "tchChangeResponse")] + int SecondsToBallArrivingOnLastBatchChange(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/SecondsToBallArrivingOnLastBa" + + "tchChange", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/SecondsToBallArrivingOnLastBa" + + "tchChangeResponse")] + System.Threading.Tasks.Task SecondsToBallArrivingOnLastBatchChangeAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/AddBatchLanes", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/AddBatchLanesResponse")] + void AddBatchLanes(Icoel.Soap.SizerService.Batch batch, Icoel.Soap.SizerService.LaneGroup[] laneGroups); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/AddBatchLanes", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/AddBatchLanesResponse")] + System.Threading.Tasks.Task AddBatchLanesAsync(Icoel.Soap.SizerService.Batch batch, Icoel.Soap.SizerService.LaneGroup[] laneGroups); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/ClearBatches", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/ClearBatchesResponse")] + void ClearBatches(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/ClearBatches", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/ClearBatchesResponse")] + System.Threading.Tasks.Task ClearBatchesAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/SetBatchDetails", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/SetBatchDetailsResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(Icoel.Soap.SizerService.ArgumentFault), Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/SetBatchDetailsArgumentFaultF" + + "ault", Name="ArgumentFault", Namespace="http://Compac.Services.Core")] + void SetBatchDetails(Icoel.Soap.SizerService.Batch batch); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/SetBatchDetails", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/SetBatchDetailsResponse")] + System.Threading.Tasks.Task SetBatchDetailsAsync(Icoel.Soap.SizerService.Batch batch); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/FlushTotals", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/FlushTotalsResponse")] + void FlushTotals(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/FlushTotals", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/FlushTotalsResponse")] + System.Threading.Tasks.Task FlushTotalsAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetGrower", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetGrowerResponse")] + Icoel.Soap.SizerService.Grower GetGrower(string growerCode); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetGrower", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetGrowerResponse")] + System.Threading.Tasks.Task GetGrowerAsync(string growerCode); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetAllGrowers", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetAllGrowersResponse")] + Icoel.Soap.SizerService.Grower[] GetAllGrowers(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetAllGrowers", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetAllGrowersResponse")] + System.Threading.Tasks.Task GetAllGrowersAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/AddGrower", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/AddGrowerResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(Icoel.Soap.SizerService.ArgumentFault), Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/AddGrowerArgumentFaultFault", Name="ArgumentFault", Namespace="http://Compac.Services.Core")] + void AddGrower(Icoel.Soap.SizerService.Grower grower); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/AddGrower", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/AddGrowerResponse")] + System.Threading.Tasks.Task AddGrowerAsync(Icoel.Soap.SizerService.Grower grower); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/AddGrowers", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/AddGrowersResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(Icoel.Soap.SizerService.ArgumentFault), Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/AddGrowersArgumentFaultFault", Name="ArgumentFault", Namespace="http://Compac.Services.Core")] + void AddGrowers(Icoel.Soap.SizerService.Grower[] growers); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/AddGrowers", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/AddGrowersResponse")] + System.Threading.Tasks.Task AddGrowersAsync(Icoel.Soap.SizerService.Grower[] growers); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/DeleteGrower", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/DeleteGrowerResponse")] + void DeleteGrower(string growerCode); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/DeleteGrower", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/DeleteGrowerResponse")] + System.Threading.Tasks.Task DeleteGrowerAsync(string growerCode); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/UpdateGrower", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/UpdateGrowerResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(Icoel.Soap.SizerService.ArgumentFault), Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/UpdateGrowerArgumentFaultFaul" + + "t", Name="ArgumentFault", Namespace="http://Compac.Services.Core")] + void UpdateGrower(Icoel.Soap.SizerService.Grower grower); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/UpdateGrower", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/UpdateGrowerResponse")] + System.Threading.Tasks.Task UpdateGrowerAsync(Icoel.Soap.SizerService.Grower grower); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineTotalFPM", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineTotalFPMResponse")] + int GetMachineTotalFPM(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineTotalFPM", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetMachineTotalFPMResponse")] + System.Threading.Tasks.Task GetMachineTotalFPMAsync(); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/MatchesCurrentBatch", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/MatchesCurrentBatchResponse")] + bool MatchesCurrentBatch(int batchId); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/MatchesCurrentBatch", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/MatchesCurrentBatchResponse")] + System.Threading.Tasks.Task MatchesCurrentBatchAsync(int batchId); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetSamplingConfiguration", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetSamplingConfigurationRespo" + + "nse")] + Icoel.Soap.SizerService.AbstractSamplingConfiguration GetSamplingConfiguration(int outletId); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetSamplingConfiguration", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetSamplingConfigurationRespo" + + "nse")] + System.Threading.Tasks.Task GetSamplingConfigurationAsync(int outletId); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/SetSamplingConfiguration", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/SetSamplingConfigurationRespo" + + "nse")] + void SetSamplingConfiguration(int outletId, Icoel.Soap.SizerService.AbstractSamplingConfiguration config); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/SetSamplingConfiguration", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/SetSamplingConfigurationRespo" + + "nse")] + System.Threading.Tasks.Task SetSamplingConfigurationAsync(int outletId, Icoel.Soap.SizerService.AbstractSamplingConfiguration config); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetSamplingProgress", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetSamplingProgressResponse")] + Icoel.Soap.SizerService.SamplingProgress[] GetSamplingProgress(int outletId); + + [System.ServiceModel.OperationContractAttribute(Action="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetSamplingProgress", ReplyAction="urn:clr:Compac.Services.Sizer.Service/ISizerService/GetSamplingProgressResponse")] + System.Threading.Tasks.Task GetSamplingProgressAsync(int outletId); + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="GetVersion", WrapperNamespace="urn:clr:Compac.Services.Core", IsWrapped=true)] + public partial class GetVersionRequest { + + public GetVersionRequest() { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="GetVersionResponse", WrapperNamespace="urn:clr:Compac.Services.Core", IsWrapped=true)] + public partial class GetVersionResponse { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="urn:clr:Compac.Services.Core", Order=0)] + public Icoel.Soap.SizerService.ServiceVersion GetVersionResult; + + public GetVersionResponse() { + } + + public GetVersionResponse(Icoel.Soap.SizerService.ServiceVersion GetVersionResult) { + this.GetVersionResult = GetVersionResult; + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public interface ISizerServiceChannel : Icoel.Soap.SizerService.ISizerService, System.ServiceModel.IClientChannel { + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class SizerServiceClient : System.ServiceModel.ClientBase, Icoel.Soap.SizerService.ISizerService { + + public SizerServiceClient() { + } + + public SizerServiceClient(string endpointConfigurationName) : + base(endpointConfigurationName) { + } + + public SizerServiceClient(string endpointConfigurationName, string remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public SizerServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public SizerServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : + base(binding, remoteAddress) { + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + Icoel.Soap.SizerService.GetVersionResponse Icoel.Soap.SizerService.ISizerService.GetVersion(Icoel.Soap.SizerService.GetVersionRequest request) { + return base.Channel.GetVersion(request); + } + + public Icoel.Soap.SizerService.ServiceVersion GetVersion() { + Icoel.Soap.SizerService.GetVersionRequest inValue = new Icoel.Soap.SizerService.GetVersionRequest(); + Icoel.Soap.SizerService.GetVersionResponse retVal = ((Icoel.Soap.SizerService.ISizerService)(this)).GetVersion(inValue); + return retVal.GetVersionResult; + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Icoel.Soap.SizerService.ISizerService.GetVersionAsync(Icoel.Soap.SizerService.GetVersionRequest request) { + return base.Channel.GetVersionAsync(request); + } + + public System.Threading.Tasks.Task GetVersionAsync() { + Icoel.Soap.SizerService.GetVersionRequest inValue = new Icoel.Soap.SizerService.GetVersionRequest(); + return ((Icoel.Soap.SizerService.ISizerService)(this)).GetVersionAsync(inValue); + } + + public string GetSerialNo() { + return base.Channel.GetSerialNo(); + } + + public System.Threading.Tasks.Task GetSerialNoAsync() { + return base.Channel.GetSerialNoAsync(); + } + + public string GetMachineName() { + return base.Channel.GetMachineName(); + } + + public System.Threading.Tasks.Task GetMachineNameAsync() { + return base.Channel.GetMachineNameAsync(); + } + + public string GetPackhouseName() { + return base.Channel.GetPackhouseName(); + } + + public System.Threading.Tasks.Task GetPackhouseNameAsync() { + return base.Channel.GetPackhouseNameAsync(); + } + + public int GetNumberOfPackersForOutlet(int outlet) { + return base.Channel.GetNumberOfPackersForOutlet(outlet); + } + + public System.Threading.Tasks.Task GetNumberOfPackersForOutletAsync(int outlet) { + return base.Channel.GetNumberOfPackersForOutletAsync(outlet); + } + + public int[] GetNumberOfPackersForOutlets() { + return base.Channel.GetNumberOfPackersForOutlets(); + } + + public System.Threading.Tasks.Task GetNumberOfPackersForOutletsAsync() { + return base.Channel.GetNumberOfPackersForOutletsAsync(); + } + + public double GetExactNumberOfPackersForOutlet(int outlet) { + return base.Channel.GetExactNumberOfPackersForOutlet(outlet); + } + + public System.Threading.Tasks.Task GetExactNumberOfPackersForOutletAsync(int outlet) { + return base.Channel.GetExactNumberOfPackersForOutletAsync(outlet); + } + + public double[] GetExactNumberOfPackersForOutlets() { + return base.Channel.GetExactNumberOfPackersForOutlets(); + } + + public System.Threading.Tasks.Task GetExactNumberOfPackersForOutletsAsync() { + return base.Channel.GetExactNumberOfPackersForOutletsAsync(); + } + + public int GetTotalNumberOfOutletPackers() { + return base.Channel.GetTotalNumberOfOutletPackers(); + } + + public System.Threading.Tasks.Task GetTotalNumberOfOutletPackersAsync() { + return base.Channel.GetTotalNumberOfOutletPackersAsync(); + } + + public void SetTotalNumberOfOutletPackers(int number) { + base.Channel.SetTotalNumberOfOutletPackers(number); + } + + public System.Threading.Tasks.Task SetTotalNumberOfOutletPackersAsync(int number) { + return base.Channel.SetTotalNumberOfOutletPackersAsync(number); + } + + public void SetOutletGroup(int[] outlets) { + base.Channel.SetOutletGroup(outlets); + } + + public System.Threading.Tasks.Task SetOutletGroupAsync(int[] outlets) { + return base.Channel.SetOutletGroupAsync(outlets); + } + + public Icoel.Soap.SizerService.Batch[] GetQueuedBatches() { + return base.Channel.GetQueuedBatches(); + } + + public System.Threading.Tasks.Task GetQueuedBatchesAsync() { + return base.Channel.GetQueuedBatchesAsync(); + } + + public Icoel.Soap.SizerService.Batch GetNextBatchInQueue() { + return base.Channel.GetNextBatchInQueue(); + } + + public System.Threading.Tasks.Task GetNextBatchInQueueAsync() { + return base.Channel.GetNextBatchInQueueAsync(); + } + + public Icoel.Soap.SizerService.Batch[] GetNextBatches() { + return base.Channel.GetNextBatches(); + } + + public System.Threading.Tasks.Task GetNextBatchesAsync() { + return base.Channel.GetNextBatchesAsync(); + } + + public Icoel.Soap.SizerService.Batch GetNextBatchByLaneGroup(Icoel.Soap.SizerService.LaneGroup laneGroup) { + return base.Channel.GetNextBatchByLaneGroup(laneGroup); + } + + public System.Threading.Tasks.Task GetNextBatchByLaneGroupAsync(Icoel.Soap.SizerService.LaneGroup laneGroup) { + return base.Channel.GetNextBatchByLaneGroupAsync(laneGroup); + } + + public void AddBatch(Icoel.Soap.SizerService.Batch batch) { + base.Channel.AddBatch(batch); + } + + public System.Threading.Tasks.Task AddBatchAsync(Icoel.Soap.SizerService.Batch batch) { + return base.Channel.AddBatchAsync(batch); + } + + public void AddBatches(Icoel.Soap.SizerService.Batch[] batches) { + base.Channel.AddBatches(batches); + } + + public System.Threading.Tasks.Task AddBatchesAsync(Icoel.Soap.SizerService.Batch[] batches) { + return base.Channel.AddBatchesAsync(batches); + } + + public void ClearBatchQueue() { + base.Channel.ClearBatchQueue(); + } + + public System.Threading.Tasks.Task ClearBatchQueueAsync() { + return base.Channel.ClearBatchQueueAsync(); + } + + public void RemoveNextBatchInQueue() { + base.Channel.RemoveNextBatchInQueue(); + } + + public System.Threading.Tasks.Task RemoveNextBatchInQueueAsync() { + return base.Channel.RemoveNextBatchInQueueAsync(); + } + + public void RemoveNextBatchInQueueForLaneGroup(Icoel.Soap.SizerService.LaneGroup laneGroup, bool removeWholeBatch) { + base.Channel.RemoveNextBatchInQueueForLaneGroup(laneGroup, removeWholeBatch); + } + + public System.Threading.Tasks.Task RemoveNextBatchInQueueForLaneGroupAsync(Icoel.Soap.SizerService.LaneGroup laneGroup, bool removeWholeBatch) { + return base.Channel.RemoveNextBatchInQueueForLaneGroupAsync(laneGroup, removeWholeBatch); + } + + public int StartNextBatchInQueue() { + return base.Channel.StartNextBatchInQueue(); + } + + public System.Threading.Tasks.Task StartNextBatchInQueueAsync() { + return base.Channel.StartNextBatchInQueueAsync(); + } + + public int StartNextBatchInQueueForLaneGroup(Icoel.Soap.SizerService.LaneGroup laneGroup) { + return base.Channel.StartNextBatchInQueueForLaneGroup(laneGroup); + } + + public System.Threading.Tasks.Task StartNextBatchInQueueForLaneGroupAsync(Icoel.Soap.SizerService.LaneGroup laneGroup) { + return base.Channel.StartNextBatchInQueueForLaneGroupAsync(laneGroup); + } + + public double GetCurrentCartonEquivalentWeight() { + return base.Channel.GetCurrentCartonEquivalentWeight(); + } + + public System.Threading.Tasks.Task GetCurrentCartonEquivalentWeightAsync() { + return base.Channel.GetCurrentCartonEquivalentWeightAsync(); + } + + public void SetCurrentCartonEquivalentWeight(double cartonEquivalentWeight) { + base.Channel.SetCurrentCartonEquivalentWeight(cartonEquivalentWeight); + } + + public System.Threading.Tasks.Task SetCurrentCartonEquivalentWeightAsync(double cartonEquivalentWeight) { + return base.Channel.SetCurrentCartonEquivalentWeightAsync(cartonEquivalentWeight); + } + + public System.Collections.Generic.Dictionary GetLaneSizeFPM(int laneIndex) { + return base.Channel.GetLaneSizeFPM(laneIndex); + } + + public System.Threading.Tasks.Task> GetLaneSizeFPMAsync(int laneIndex) { + return base.Channel.GetLaneSizeFPMAsync(laneIndex); + } + + public System.Collections.Generic.Dictionary[] GetLanesSizeFPM() { + return base.Channel.GetLanesSizeFPM(); + } + + public System.Threading.Tasks.Task[]> GetLanesSizeFPMAsync() { + return base.Channel.GetLanesSizeFPMAsync(); + } + + public System.Collections.Generic.Dictionary GetLaneGradeFPM(int laneIndex) { + return base.Channel.GetLaneGradeFPM(laneIndex); + } + + public System.Threading.Tasks.Task> GetLaneGradeFPMAsync(int laneIndex) { + return base.Channel.GetLaneGradeFPMAsync(laneIndex); + } + + public System.Collections.Generic.Dictionary[] GetLanesGradeFPM() { + return base.Channel.GetLanesGradeFPM(); + } + + public System.Threading.Tasks.Task[]> GetLanesGradeFPMAsync() { + return base.Channel.GetLanesGradeFPMAsync(); + } + + public bool ForceChangeOnStage(string stageName, int toBatchId) { + return base.Channel.ForceChangeOnStage(stageName, toBatchId); + } + + public System.Threading.Tasks.Task ForceChangeOnStageAsync(string stageName, int toBatchId) { + return base.Channel.ForceChangeOnStageAsync(stageName, toBatchId); + } + + public string[] GetSizingProfileNames() { + return base.Channel.GetSizingProfileNames(); + } + + public System.Threading.Tasks.Task GetSizingProfileNamesAsync() { + return base.Channel.GetSizingProfileNamesAsync(); + } + + public string[] GetVarietyNames() { + return base.Channel.GetVarietyNames(); + } + + public System.Threading.Tasks.Task GetVarietyNamesAsync() { + return base.Channel.GetVarietyNamesAsync(); + } + + public Icoel.Soap.SizerService.Layout[] GetLayouts(System.Guid varietyID) { + return base.Channel.GetLayouts(varietyID); + } + + public System.Threading.Tasks.Task GetLayoutsAsync(System.Guid varietyID) { + return base.Channel.GetLayoutsAsync(varietyID); + } + + public Icoel.Soap.SizerService.Variety GetVarietyByName(string varietyName) { + return base.Channel.GetVarietyByName(varietyName); + } + + public System.Threading.Tasks.Task GetVarietyByNameAsync(string varietyName) { + return base.Channel.GetVarietyByNameAsync(varietyName); + } + + public Icoel.Soap.SizerService.Variety GetVarietyById(System.Guid varietyID) { + return base.Channel.GetVarietyById(varietyID); + } + + public System.Threading.Tasks.Task GetVarietyByIdAsync(System.Guid varietyID) { + return base.Channel.GetVarietyByIdAsync(varietyID); + } + + public Icoel.Soap.SizerService.Variety GetActiveVariety() { + return base.Channel.GetActiveVariety(); + } + + public System.Threading.Tasks.Task GetActiveVarietyAsync() { + return base.Channel.GetActiveVarietyAsync(); + } + + public Icoel.Soap.SizerService.Variety[] GetActiveVarieties() { + return base.Channel.GetActiveVarieties(); + } + + public System.Threading.Tasks.Task GetActiveVarietiesAsync() { + return base.Channel.GetActiveVarietiesAsync(); + } + + public Icoel.Soap.SizerService.Variety[] GetAllVarieties() { + return base.Channel.GetAllVarieties(); + } + + public System.Threading.Tasks.Task GetAllVarietiesAsync() { + return base.Channel.GetAllVarietiesAsync(); + } + + public Icoel.Soap.SizerService.Layout GetLayout(System.Guid varietyID, System.Guid layoutID) { + return base.Channel.GetLayout(varietyID, layoutID); + } + + public System.Threading.Tasks.Task GetLayoutAsync(System.Guid varietyID, System.Guid layoutID) { + return base.Channel.GetLayoutAsync(varietyID, layoutID); + } + + public Icoel.Soap.SizerService.Layout GetActiveLayout(System.Guid varietyID) { + return base.Channel.GetActiveLayout(varietyID); + } + + public System.Threading.Tasks.Task GetActiveLayoutAsync(System.Guid varietyID) { + return base.Channel.GetActiveLayoutAsync(varietyID); + } + + public Icoel.Soap.SizerService.Product GetProduct(System.Guid productGuid) { + return base.Channel.GetProduct(productGuid); + } + + public System.Threading.Tasks.Task GetProductAsync(System.Guid productGuid) { + return base.Channel.GetProductAsync(productGuid); + } + + public Icoel.Soap.SizerService.Product[] GetActiveProducts(System.Guid varietyID, System.Guid layoutID) { + return base.Channel.GetActiveProducts(varietyID, layoutID); + } + + public System.Threading.Tasks.Task GetActiveProductsAsync(System.Guid varietyID, System.Guid layoutID) { + return base.Channel.GetActiveProductsAsync(varietyID, layoutID); + } + + public Icoel.Soap.SizerService.Product[] GetAllProducts(System.Guid varietyID) { + return base.Channel.GetAllProducts(varietyID); + } + + public System.Threading.Tasks.Task GetAllProductsAsync(System.Guid varietyID) { + return base.Channel.GetAllProductsAsync(varietyID); + } + + public void RemoveProduct(System.Guid varietyID, System.Guid layoutID, System.Guid productID) { + base.Channel.RemoveProduct(varietyID, layoutID, productID); + } + + public System.Threading.Tasks.Task RemoveProductAsync(System.Guid varietyID, System.Guid layoutID, System.Guid productID) { + return base.Channel.RemoveProductAsync(varietyID, layoutID, productID); + } + + public Icoel.Soap.SizerService.Layout CreateLayout(System.Guid varietyID, string layoutName) { + return base.Channel.CreateLayout(varietyID, layoutName); + } + + public System.Threading.Tasks.Task CreateLayoutAsync(System.Guid varietyID, string layoutName) { + return base.Channel.CreateLayoutAsync(varietyID, layoutName); + } + + public void DeleteLayout(System.Guid varietyID, System.Guid layoutID) { + base.Channel.DeleteLayout(varietyID, layoutID); + } + + public System.Threading.Tasks.Task DeleteLayoutAsync(System.Guid varietyID, System.Guid layoutID) { + return base.Channel.DeleteLayoutAsync(varietyID, layoutID); + } + + public Icoel.Soap.SizerService.Layout UpdateLayout(System.Guid varietyID, Icoel.Soap.SizerService.Layout layout) { + return base.Channel.UpdateLayout(varietyID, layout); + } + + public System.Threading.Tasks.Task UpdateLayoutAsync(System.Guid varietyID, Icoel.Soap.SizerService.Layout layout) { + return base.Channel.UpdateLayoutAsync(varietyID, layout); + } + + public Icoel.Soap.SizerService.Layout ActivateLayout(System.Guid varietyID, System.Guid layoutID) { + return base.Channel.ActivateLayout(varietyID, layoutID); + } + + public System.Threading.Tasks.Task ActivateLayoutAsync(System.Guid varietyID, System.Guid layoutID) { + return base.Channel.ActivateLayoutAsync(varietyID, layoutID); + } + + public Icoel.Soap.SizerService.Pack[] GetAllPacks() { + return base.Channel.GetAllPacks(); + } + + public System.Threading.Tasks.Task GetAllPacksAsync() { + return base.Channel.GetAllPacksAsync(); + } + + public Icoel.Soap.SizerService.Label[] GetAllLabels() { + return base.Channel.GetAllLabels(); + } + + public System.Threading.Tasks.Task GetAllLabelsAsync() { + return base.Channel.GetAllLabelsAsync(); + } + + public Icoel.Soap.SizerService.Label[] GetActiveLabels() { + return base.Channel.GetActiveLabels(); + } + + public System.Threading.Tasks.Task GetActiveLabelsAsync() { + return base.Channel.GetActiveLabelsAsync(); + } + + public void AddProduct(System.Guid varietyID, Icoel.Soap.SizerService.Product product) { + base.Channel.AddProduct(varietyID, product); + } + + public System.Threading.Tasks.Task AddProductAsync(System.Guid varietyID, Icoel.Soap.SizerService.Product product) { + return base.Channel.AddProductAsync(varietyID, product); + } + + public void UpdateProduct(Icoel.Soap.SizerService.Product product) { + base.Channel.UpdateProduct(product); + } + + public System.Threading.Tasks.Task UpdateProductAsync(Icoel.Soap.SizerService.Product product) { + return base.Channel.UpdateProductAsync(product); + } + + public void DeleteProduct(System.Guid productID, bool force) { + base.Channel.DeleteProduct(productID, force); + } + + public System.Threading.Tasks.Task DeleteProductAsync(System.Guid productID, bool force) { + return base.Channel.DeleteProductAsync(productID, force); + } + + public void ActivateProducts(System.Guid varietyID, System.Guid layoutID, System.Guid[] productGuids) { + base.Channel.ActivateProducts(varietyID, layoutID, productGuids); + } + + public System.Threading.Tasks.Task ActivateProductsAsync(System.Guid varietyID, System.Guid layoutID, System.Guid[] productGuids) { + return base.Channel.ActivateProductsAsync(varietyID, layoutID, productGuids); + } + + public Icoel.Soap.SizerService.Outlet[] GetOutlets() { + return base.Channel.GetOutlets(); + } + + public System.Threading.Tasks.Task GetOutletsAsync() { + return base.Channel.GetOutletsAsync(); + } + + public Icoel.Soap.SizerService.Product GetProductAtOutlet(int outletId) { + return base.Channel.GetProductAtOutlet(outletId); + } + + public System.Threading.Tasks.Task GetProductAtOutletAsync(int outletId) { + return base.Channel.GetProductAtOutletAsync(outletId); + } + + public Icoel.Soap.SizerService.Batch GetBatchAtOutlet(int outletId) { + return base.Channel.GetBatchAtOutlet(outletId); + } + + public System.Threading.Tasks.Task GetBatchAtOutletAsync(int outletId) { + return base.Channel.GetBatchAtOutletAsync(outletId); + } + + public Icoel.Soap.SizerService.Batch[] GetBatchesAtOutlet(int outletId) { + return base.Channel.GetBatchesAtOutlet(outletId); + } + + public System.Threading.Tasks.Task GetBatchesAtOutletAsync(int outletId) { + return base.Channel.GetBatchesAtOutletAsync(outletId); + } + + public Icoel.Soap.SizerService.Batch[] GetBatchesForProductAtOutlet(int outletId) { + return base.Channel.GetBatchesForProductAtOutlet(outletId); + } + + public System.Threading.Tasks.Task GetBatchesForProductAtOutletAsync(int outletId) { + return base.Channel.GetBatchesForProductAtOutletAsync(outletId); + } + + public string GetProductUserData(System.Guid productId, string category, string field) { + return base.Channel.GetProductUserData(productId, category, field); + } + + public System.Threading.Tasks.Task GetProductUserDataAsync(System.Guid productId, string category, string field) { + return base.Channel.GetProductUserDataAsync(productId, category, field); + } + + public void ChangeProductAtOutlet(int outletId, System.Guid productID, bool force) { + base.Channel.ChangeProductAtOutlet(outletId, productID, force); + } + + public System.Threading.Tasks.Task ChangeProductAtOutletAsync(int outletId, System.Guid productID, bool force) { + return base.Channel.ChangeProductAtOutletAsync(outletId, productID, force); + } + + public void SetOutletEnabled(int outletId, bool enabled, bool disableOnPackBoundary) { + base.Channel.SetOutletEnabled(outletId, enabled, disableOnPackBoundary); + } + + public System.Threading.Tasks.Task SetOutletEnabledAsync(int outletId, bool enabled, bool disableOnPackBoundary) { + return base.Channel.SetOutletEnabledAsync(outletId, enabled, disableOnPackBoundary); + } + + public void ResetOutlet(int outletId) { + base.Channel.ResetOutlet(outletId); + } + + public System.Threading.Tasks.Task ResetOutletAsync(int outletId) { + return base.Channel.ResetOutletAsync(outletId); + } + + public void CycleOutlet(int outletId) { + base.Channel.CycleOutlet(outletId); + } + + public System.Threading.Tasks.Task CycleOutletAsync(int outletId) { + return base.Channel.CycleOutletAsync(outletId); + } + + public Icoel.Soap.SizerService.Product[] GetProductsInNextAvailableOutletStrategy() { + return base.Channel.GetProductsInNextAvailableOutletStrategy(); + } + + public System.Threading.Tasks.Task GetProductsInNextAvailableOutletStrategyAsync() { + return base.Channel.GetProductsInNextAvailableOutletStrategyAsync(); + } + + public void AddProductToNextAvailableOutletStrategy(System.Guid productId) { + base.Channel.AddProductToNextAvailableOutletStrategy(productId); + } + + public System.Threading.Tasks.Task AddProductToNextAvailableOutletStrategyAsync(System.Guid productId) { + return base.Channel.AddProductToNextAvailableOutletStrategyAsync(productId); + } + + public void RemoveProductFromNextAvailableOutletStrategy(System.Guid productId) { + base.Channel.RemoveProductFromNextAvailableOutletStrategy(productId); + } + + public System.Threading.Tasks.Task RemoveProductFromNextAvailableOutletStrategyAsync(System.Guid productId) { + return base.Channel.RemoveProductFromNextAvailableOutletStrategyAsync(productId); + } + + public double GetOutletFPM(int outletId) { + return base.Channel.GetOutletFPM(outletId); + } + + public System.Threading.Tasks.Task GetOutletFPMAsync(int outletId) { + return base.Channel.GetOutletFPMAsync(outletId); + } + + public double[] GetOutletsFPM() { + return base.Channel.GetOutletsFPM(); + } + + public System.Threading.Tasks.Task GetOutletsFPMAsync() { + return base.Channel.GetOutletsFPMAsync(); + } + + public int[] GetMachineRodsPM() { + return base.Channel.GetMachineRodsPM(); + } + + public System.Threading.Tasks.Task GetMachineRodsPMAsync() { + return base.Channel.GetMachineRodsPMAsync(); + } + + public int GetMachineRecycleFPM() { + return base.Channel.GetMachineRecycleFPM(); + } + + public System.Threading.Tasks.Task GetMachineRecycleFPMAsync() { + return base.Channel.GetMachineRecycleFPMAsync(); + } + + public int GetMachineRejectFPM() { + return base.Channel.GetMachineRejectFPM(); + } + + public System.Threading.Tasks.Task GetMachineRejectFPMAsync() { + return base.Channel.GetMachineRejectFPMAsync(); + } + + public int GetMachineMissedFPM() { + return base.Channel.GetMachineMissedFPM(); + } + + public System.Threading.Tasks.Task GetMachineMissedFPMAsync() { + return base.Channel.GetMachineMissedFPMAsync(); + } + + public int GetMachineDroppedFPM() { + return base.Channel.GetMachineDroppedFPM(); + } + + public System.Threading.Tasks.Task GetMachineDroppedFPMAsync() { + return base.Channel.GetMachineDroppedFPMAsync(); + } + + public int GetMachinePackedFPM() { + return base.Channel.GetMachinePackedFPM(); + } + + public System.Threading.Tasks.Task GetMachinePackedFPMAsync() { + return base.Channel.GetMachinePackedFPMAsync(); + } + + public double GetMachineAFW() { + return base.Channel.GetMachineAFW(); + } + + public System.Threading.Tasks.Task GetMachineAFWAsync() { + return base.Channel.GetMachineAFWAsync(); + } + + public double GetAFW(int batchId) { + return base.Channel.GetAFW(batchId); + } + + public System.Threading.Tasks.Task GetAFWAsync(int batchId) { + return base.Channel.GetAFWAsync(batchId); + } + + public int GetMachineAVC() { + return base.Channel.GetMachineAVC(); + } + + public System.Threading.Tasks.Task GetMachineAVCAsync() { + return base.Channel.GetMachineAVCAsync(); + } + + public int GetMachinePacksPH() { + return base.Channel.GetMachinePacksPH(); + } + + public System.Threading.Tasks.Task GetMachinePacksPHAsync() { + return base.Channel.GetMachinePacksPHAsync(); + } + + public double GetMachineCupfill() { + return base.Channel.GetMachineCupfill(); + } + + public System.Threading.Tasks.Task GetMachineCupfillAsync() { + return base.Channel.GetMachineCupfillAsync(); + } + + public double GetLanesCupfill(int lane) { + return base.Channel.GetLanesCupfill(lane); + } + + public System.Threading.Tasks.Task GetLanesCupfillAsync(int lane) { + return base.Channel.GetLanesCupfillAsync(lane); + } + + public double[] GetCupfillForAllLanes() { + return base.Channel.GetCupfillForAllLanes(); + } + + public System.Threading.Tasks.Task GetCupfillForAllLanesAsync() { + return base.Channel.GetCupfillForAllLanesAsync(); + } + + public void SetOutletsMaxRateSquareCMPerMinute(System.Collections.Generic.Dictionary newRates) { + base.Channel.SetOutletsMaxRateSquareCMPerMinute(newRates); + } + + public System.Threading.Tasks.Task SetOutletsMaxRateSquareCMPerMinuteAsync(System.Collections.Generic.Dictionary newRates) { + return base.Channel.SetOutletsMaxRateSquareCMPerMinuteAsync(newRates); + } + + public int GetMachineTonnesPH() { + return base.Channel.GetMachineTonnesPH(); + } + + public System.Threading.Tasks.Task GetMachineTonnesPHAsync() { + return base.Channel.GetMachineTonnesPHAsync(); + } + + public void RaiseAlarm(string alarm, string details) { + base.Channel.RaiseAlarm(alarm, details); + } + + public System.Threading.Tasks.Task RaiseAlarmAsync(string alarm, string details) { + return base.Channel.RaiseAlarmAsync(alarm, details); + } + + public void RaiseAlarmWithPriority(string alarm, string details, Icoel.Soap.SizerService.AlarmPriority priority) { + base.Channel.RaiseAlarmWithPriority(alarm, details, priority); + } + + public System.Threading.Tasks.Task RaiseAlarmWithPriorityAsync(string alarm, string details, Icoel.Soap.SizerService.AlarmPriority priority) { + return base.Channel.RaiseAlarmWithPriorityAsync(alarm, details, priority); + } + + public void RaiseEvent(Icoel.Soap.SizerService.ServiceEvent eventDetails) { + base.Channel.RaiseEvent(eventDetails); + } + + public System.Threading.Tasks.Task RaiseEventAsync(Icoel.Soap.SizerService.ServiceEvent eventDetails) { + return base.Channel.RaiseEventAsync(eventDetails); + } + + public Icoel.Soap.SizerService.LaneGroup[] GetLaneGroups() { + return base.Channel.GetLaneGroups(); + } + + public System.Threading.Tasks.Task GetLaneGroupsAsync() { + return base.Channel.GetLaneGroupsAsync(); + } + + public Icoel.Soap.SizerService.Batch GetBatch(int id) { + return base.Channel.GetBatch(id); + } + + public System.Threading.Tasks.Task GetBatchAsync(int id) { + return base.Channel.GetBatchAsync(id); + } + + public Icoel.Soap.SizerService.Batch GetCurrentBatch() { + return base.Channel.GetCurrentBatch(); + } + + public System.Threading.Tasks.Task GetCurrentBatchAsync() { + return base.Channel.GetCurrentBatchAsync(); + } + + public Icoel.Soap.SizerService.Batch[] GetCurrentBatches() { + return base.Channel.GetCurrentBatches(); + } + + public System.Threading.Tasks.Task GetCurrentBatchesAsync() { + return base.Channel.GetCurrentBatchesAsync(); + } + + public Icoel.Soap.SizerService.Batch GetCurrentBatchByLane(int lane) { + return base.Channel.GetCurrentBatchByLane(lane); + } + + public System.Threading.Tasks.Task GetCurrentBatchByLaneAsync(int lane) { + return base.Channel.GetCurrentBatchByLaneAsync(lane); + } + + public Icoel.Soap.SizerService.Batch GetCurrentBatchByLaneGroup(Icoel.Soap.SizerService.LaneGroup laneGroup) { + return base.Channel.GetCurrentBatchByLaneGroup(laneGroup); + } + + public System.Threading.Tasks.Task GetCurrentBatchByLaneGroupAsync(Icoel.Soap.SizerService.LaneGroup laneGroup) { + return base.Channel.GetCurrentBatchByLaneGroupAsync(laneGroup); + } + + public bool IsCurrentBatch(int id) { + return base.Channel.IsCurrentBatch(id); + } + + public System.Threading.Tasks.Task IsCurrentBatchAsync(int id) { + return base.Channel.IsCurrentBatchAsync(id); + } + + public Icoel.Soap.SizerService.LaneGroup[] GetBatchLaneGroups(int id) { + return base.Channel.GetBatchLaneGroups(id); + } + + public System.Threading.Tasks.Task GetBatchLaneGroupsAsync(int id) { + return base.Channel.GetBatchLaneGroupsAsync(id); + } + + public int[] GetBatchLanes(int id) { + return base.Channel.GetBatchLanes(id); + } + + public System.Threading.Tasks.Task GetBatchLanesAsync(int id) { + return base.Channel.GetBatchLanesAsync(id); + } + + public int ChangeBatch(Icoel.Soap.SizerService.Batch batch) { + return base.Channel.ChangeBatch(batch); + } + + public System.Threading.Tasks.Task ChangeBatchAsync(Icoel.Soap.SizerService.Batch batch) { + return base.Channel.ChangeBatchAsync(batch); + } + + public int ChangeBatchByLane(Icoel.Soap.SizerService.Batch batch, Icoel.Soap.SizerService.LaneGroup[] laneGroups) { + return base.Channel.ChangeBatchByLane(batch, laneGroups); + } + + public System.Threading.Tasks.Task ChangeBatchByLaneAsync(Icoel.Soap.SizerService.Batch batch, Icoel.Soap.SizerService.LaneGroup[] laneGroups) { + return base.Channel.ChangeBatchByLaneAsync(batch, laneGroups); + } + + public int SecondsToBallArrivingOnLastBatchChange() { + return base.Channel.SecondsToBallArrivingOnLastBatchChange(); + } + + public System.Threading.Tasks.Task SecondsToBallArrivingOnLastBatchChangeAsync() { + return base.Channel.SecondsToBallArrivingOnLastBatchChangeAsync(); + } + + public void AddBatchLanes(Icoel.Soap.SizerService.Batch batch, Icoel.Soap.SizerService.LaneGroup[] laneGroups) { + base.Channel.AddBatchLanes(batch, laneGroups); + } + + public System.Threading.Tasks.Task AddBatchLanesAsync(Icoel.Soap.SizerService.Batch batch, Icoel.Soap.SizerService.LaneGroup[] laneGroups) { + return base.Channel.AddBatchLanesAsync(batch, laneGroups); + } + + public void ClearBatches() { + base.Channel.ClearBatches(); + } + + public System.Threading.Tasks.Task ClearBatchesAsync() { + return base.Channel.ClearBatchesAsync(); + } + + public void SetBatchDetails(Icoel.Soap.SizerService.Batch batch) { + base.Channel.SetBatchDetails(batch); + } + + public System.Threading.Tasks.Task SetBatchDetailsAsync(Icoel.Soap.SizerService.Batch batch) { + return base.Channel.SetBatchDetailsAsync(batch); + } + + public void FlushTotals() { + base.Channel.FlushTotals(); + } + + public System.Threading.Tasks.Task FlushTotalsAsync() { + return base.Channel.FlushTotalsAsync(); + } + + public Icoel.Soap.SizerService.Grower GetGrower(string growerCode) { + return base.Channel.GetGrower(growerCode); + } + + public System.Threading.Tasks.Task GetGrowerAsync(string growerCode) { + return base.Channel.GetGrowerAsync(growerCode); + } + + public Icoel.Soap.SizerService.Grower[] GetAllGrowers() { + return base.Channel.GetAllGrowers(); + } + + public System.Threading.Tasks.Task GetAllGrowersAsync() { + return base.Channel.GetAllGrowersAsync(); + } + + public void AddGrower(Icoel.Soap.SizerService.Grower grower) { + base.Channel.AddGrower(grower); + } + + public System.Threading.Tasks.Task AddGrowerAsync(Icoel.Soap.SizerService.Grower grower) { + return base.Channel.AddGrowerAsync(grower); + } + + public void AddGrowers(Icoel.Soap.SizerService.Grower[] growers) { + base.Channel.AddGrowers(growers); + } + + public System.Threading.Tasks.Task AddGrowersAsync(Icoel.Soap.SizerService.Grower[] growers) { + return base.Channel.AddGrowersAsync(growers); + } + + public void DeleteGrower(string growerCode) { + base.Channel.DeleteGrower(growerCode); + } + + public System.Threading.Tasks.Task DeleteGrowerAsync(string growerCode) { + return base.Channel.DeleteGrowerAsync(growerCode); + } + + public void UpdateGrower(Icoel.Soap.SizerService.Grower grower) { + base.Channel.UpdateGrower(grower); + } + + public System.Threading.Tasks.Task UpdateGrowerAsync(Icoel.Soap.SizerService.Grower grower) { + return base.Channel.UpdateGrowerAsync(grower); + } + + public int GetMachineTotalFPM() { + return base.Channel.GetMachineTotalFPM(); + } + + public System.Threading.Tasks.Task GetMachineTotalFPMAsync() { + return base.Channel.GetMachineTotalFPMAsync(); + } + + public bool MatchesCurrentBatch(int batchId) { + return base.Channel.MatchesCurrentBatch(batchId); + } + + public System.Threading.Tasks.Task MatchesCurrentBatchAsync(int batchId) { + return base.Channel.MatchesCurrentBatchAsync(batchId); + } + + public Icoel.Soap.SizerService.AbstractSamplingConfiguration GetSamplingConfiguration(int outletId) { + return base.Channel.GetSamplingConfiguration(outletId); + } + + public System.Threading.Tasks.Task GetSamplingConfigurationAsync(int outletId) { + return base.Channel.GetSamplingConfigurationAsync(outletId); + } + + public void SetSamplingConfiguration(int outletId, Icoel.Soap.SizerService.AbstractSamplingConfiguration config) { + base.Channel.SetSamplingConfiguration(outletId, config); + } + + public System.Threading.Tasks.Task SetSamplingConfigurationAsync(int outletId, Icoel.Soap.SizerService.AbstractSamplingConfiguration config) { + return base.Channel.SetSamplingConfigurationAsync(outletId, config); + } + + public Icoel.Soap.SizerService.SamplingProgress[] GetSamplingProgress(int outletId) { + return base.Channel.GetSamplingProgress(outletId); + } + + public System.Threading.Tasks.Task GetSamplingProgressAsync(int outletId) { + return base.Channel.GetSamplingProgressAsync(outletId); + } + } +} diff --git a/Icoel.Soap/Connected Services/SizerService/Reference.svcmap b/Icoel.Soap/Connected Services/SizerService/Reference.svcmap new file mode 100644 index 00000000..b3c0c550 --- /dev/null +++ b/Icoel.Soap/Connected Services/SizerService/Reference.svcmap @@ -0,0 +1,40 @@ + + + + false + true + true + + false + false + false + + + true + Auto + true + true + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Icoel.Soap/Connected Services/SizerService/System.xsd b/Icoel.Soap/Connected Services/SizerService/System.xsd new file mode 100644 index 00000000..5a030570 --- /dev/null +++ b/Icoel.Soap/Connected Services/SizerService/System.xsd @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/Icoel.Soap/Connected Services/SizerService/configuration.svcinfo b/Icoel.Soap/Connected Services/SizerService/configuration.svcinfo new file mode 100644 index 00000000..0edfef12 --- /dev/null +++ b/Icoel.Soap/Connected Services/SizerService/configuration.svcinfo @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/Icoel.Soap/Connected Services/SizerService/configuration91.svcinfo b/Icoel.Soap/Connected Services/SizerService/configuration91.svcinfo new file mode 100644 index 00000000..719c525e --- /dev/null +++ b/Icoel.Soap/Connected Services/SizerService/configuration91.svcinfo @@ -0,0 +1,374 @@ + + + + + + + NetNamedPipeBinding_ISizerService + + + + + + + + + + + + + + + False + + + Buffered + + + OleTransactions + + + StrongWildcard + + + + + + 65536 + + + 0 + + + + + + System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + System.ServiceModel.Configuration.NetNamedPipeSecurityElement + + + None + + + System.ServiceModel.Configuration.NamedPipeTransportSecurityElement + + + EncryptAndSign + + + + + + + WSHttpBinding_ISizerService + + + + + + + + + + + + + + + + + + False + + + StrongWildcard + + + + + + + + + Text + + + + + + System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + System.ServiceModel.Configuration.StandardBindingOptionalReliableSessionElement + + + True + + + 00:10:00 + + + False + + + System.Text.UTF8Encoding + + + + + + + + + System.ServiceModel.Configuration.WSHttpSecurityElement + + + None + + + System.ServiceModel.Configuration.WSHttpTransportSecurityElement + + + Windows + + + None + + + System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement + + + Never + + + TransportSelected + + + (Raccolta) + + + + + + System.ServiceModel.Configuration.NonDualMessageSecurityOverHttpElement + + + Windows + + + True + + + Default + + + True + + + + + + + + + http://localhost:8001/SizerService/ + + + + + + wsHttpBinding + + + WSHttpBinding_ISizerService + + + SizerService.ISizerService + + + System.ServiceModel.Configuration.AddressHeaderCollectionElement + + + <Header /> + + + System.ServiceModel.Configuration.IdentityElement + + + System.ServiceModel.Configuration.UserPrincipalNameElement + + + + + + System.ServiceModel.Configuration.ServicePrincipalNameElement + + + + + + System.ServiceModel.Configuration.DnsElement + + + + + + System.ServiceModel.Configuration.RsaElement + + + + + + System.ServiceModel.Configuration.CertificateElement + + + + + + System.ServiceModel.Configuration.CertificateReferenceElement + + + My + + + LocalMachine + + + FindBySubjectDistinguishedName + + + + + + False + + + WSHttpBinding_ISizerService + + + + + + + + + + + + + net.pipe://localhost/Compac/8001/SizerService + + + + + + netNamedPipeBinding + + + NetNamedPipeBinding_ISizerService + + + SizerService.ISizerService + + + System.ServiceModel.Configuration.AddressHeaderCollectionElement + + + <Header /> + + + System.ServiceModel.Configuration.IdentityElement + + + System.ServiceModel.Configuration.UserPrincipalNameElement + + + + + + System.ServiceModel.Configuration.ServicePrincipalNameElement + + + + + + System.ServiceModel.Configuration.DnsElement + + + + + + System.ServiceModel.Configuration.RsaElement + + + + + + System.ServiceModel.Configuration.CertificateElement + + + + + + System.ServiceModel.Configuration.CertificateReferenceElement + + + My + + + LocalMachine + + + FindBySubjectDistinguishedName + + + + + + False + + + NetNamedPipeBinding_ISizerService + + + + + + + + + + + \ No newline at end of file diff --git a/Icoel.Soap/Connected Services/SizerService/service.wsdl b/Icoel.Soap/Connected Services/SizerService/service.wsdl new file mode 100644 index 00000000..36bbd2a9 --- /dev/null +++ b/Icoel.Soap/Connected Services/SizerService/service.wsdl @@ -0,0 +1,2220 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + http://localhost:8001/SizerService/ + + + + + + net.pipe://localhost/Compac/8001/SizerService + + + + \ No newline at end of file diff --git a/Icoel.Soap/Connected Services/SizerService/service.xsd b/Icoel.Soap/Connected Services/SizerService/service.xsd new file mode 100644 index 00000000..b4d5ff0f --- /dev/null +++ b/Icoel.Soap/Connected Services/SizerService/service.xsd @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Icoel.Soap/INI/BatchDetails.cs b/Icoel.Soap/INI/BatchDetails.cs new file mode 100644 index 00000000..c37d7ba6 --- /dev/null +++ b/Icoel.Soap/INI/BatchDetails.cs @@ -0,0 +1,62 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Icoel.Soap.INI +{ + class BatchDetails + { + private const string NameFile = "batch.ini"; + private readonly IniFile _sett; + + + public BatchDetails() + { + _sett = new IniFile(); + } + public string GrowerCode + { + get { return _sett.GetKeyValue("Batch", "GrowerCode"); } + set { _sett.SetKeyValue("Batch", "GrowerCode", value); } + } + + public string GrowerName + { + get { return _sett.GetKeyValue("Batch", "GrowerName"); } + set { _sett.SetKeyValue("Batch", "GrowerName", value); } + } + public string Comment1 + { + get { return _sett.GetKeyValue("Batch", "Comment1"); } + set { _sett.SetKeyValue("Batch", "Comment1", value); } + } + public string Comment2 + { + get { return _sett.GetKeyValue("Batch", "Comment2"); } + set { _sett.SetKeyValue("Batch", "Comment2", value); } + } + public string Comment3 + { + get { return _sett.GetKeyValue("Batch", "Comment3"); } + set { _sett.SetKeyValue("Batch", "Comment3", value); } + } + + public void Load() + { + if (!File.Exists(NameFile)) + { + var fs = File.Create(NameFile); + fs.Close(); + } + _sett.Load(NameFile, false); + } + + public void Save() + { + _sett.Save(NameFile); + } + } +} diff --git a/Icoel.Soap/INI/IniFileCs.cs b/Icoel.Soap/INI/IniFileCs.cs new file mode 100644 index 00000000..5726dc2a --- /dev/null +++ b/Icoel.Soap/INI/IniFileCs.cs @@ -0,0 +1,479 @@ +/* +Date: 08\23\2010 - Ludvik Jerabek - Initial Release +Version: 1.0 +Comment: Allow INI manipulation in .NET +License: CPOL + +Revisions: + +08\23\2010 - Ludvik Jerabek - Initial Release +11\12\2010 - Ludvik Jerabek - Fixed section regex matching on key values with brackets +06\20\2015 - Ludvik Jerabek - Fixed key parsing regex to account for keys with spaces in names + + +**DISCLAIMER** +THIS MATERIAL IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, +EITHER EXPRESS OR IMPLIED, INCLUDING, BUT Not LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR +PURPOSE, OR NON-INFRINGEMENT. SOME JURISDICTIONS DO NOT ALLOW THE +EXCLUSION OF IMPLIED WARRANTIES, SO THE ABOVE EXCLUSION MAY NOT +APPLY TO YOU. IN NO EVENT WILL I BE LIABLE TO ANY PARTY FOR ANY +DIRECT, INDIRECT, SPECIAL OR OTHER CONSEQUENTIAL DAMAGES FOR ANY +USE OF THIS MATERIAL INCLUDING, WITHOUT LIMITATION, ANY LOST +PROFITS, BUSINESS INTERRUPTION, LOSS OF PROGRAMS OR OTHER DATA ON +YOUR INFORMATION HANDLING SYSTEM OR OTHERWISE, EVEN If WE ARE +EXPRESSLY ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. +*/ + +using System.IO; +using System.Text.RegularExpressions; +using System.Collections; +using System.Diagnostics; +using System; + +// IniFile class used to read and write ini files by loading the file into memory +public class IniFile +{ + // List of IniSection objects keeps track of all the sections in the INI file + private Hashtable m_sections; + + // Public constructor + public IniFile() + { + m_sections = new Hashtable(StringComparer.InvariantCultureIgnoreCase); + } + + // Loads the Reads the data in the ini file into the IniFile object + public void Load(string sFileName ) + { + Load(sFileName, false); + } + + // Loads the Reads the data in the ini file into the IniFile object + public void Load(string sFileName, bool bMerge ) + { + if (!bMerge) + { + RemoveAllSections(); + } + // Clear the object... + IniSection tempsection = null; + StreamReader oReader = new StreamReader(sFileName); + Regex regexcomment = new Regex("^([\\s]*#.*)", (RegexOptions.Singleline | RegexOptions.IgnoreCase)); + Regex regexsection = new Regex("^[\\s]*\\[[\\s]*([^\\[\\s].*[^\\s\\]])[\\s]*\\][\\s]*$", (RegexOptions.Singleline | RegexOptions.IgnoreCase)); + Regex regexkey = new Regex("^\\s*([^=]*[^\\s=])\\s*=(.*)", (RegexOptions.Singleline | RegexOptions.IgnoreCase)); + + while (!oReader.EndOfStream) + { + string line = oReader.ReadLine(); + if (line != string.Empty) + { + Match m = null; + if (regexcomment.Match(line).Success) + { + m = regexcomment.Match(line); + Trace.WriteLine(string.Format("Skipping Comment: {0}", m.Groups[0].Value)); + } + else if (regexsection.Match(line).Success) + { + m = regexsection.Match(line); + Trace.WriteLine(string.Format("Adding section [{0}]", m.Groups[1].Value)); + tempsection = AddSection(m.Groups[1].Value); + } + else if ( regexkey.Match(line).Success && tempsection != null) + { + m = regexkey.Match(line); + Trace.WriteLine(string.Format("Adding Key [{0}]=[{1}]", m.Groups[1].Value, m.Groups[2].Value)); + tempsection.AddKey(m.Groups[1].Value).Value = m.Groups[2].Value; + } + else if ( tempsection != null ) + { + // Handle Key without Value + Trace.WriteLine(string.Format("Adding Key [{0}]", line)); + tempsection.AddKey(line); + } + else + { + // This should not occur unless the tempsection is not created yet... + Trace.WriteLine(string.Format("Skipping unknown type of data: {0}", line)); + } + } + } + oReader.Close(); + } + + // Used to save the data back to the file or your choice + public void Save(string sFileName) + { + StreamWriter oWriter = new StreamWriter(sFileName, false); + foreach (IniSection s in Sections) + { + Trace.WriteLine(string.Format("Writing Section: [{0}]", s.Name)); + oWriter.WriteLine(string.Format("[{0}]", s.Name)); + foreach (IniSection.IniKey k in s.Keys) + { + if (k.Value != string.Empty) + { + Trace.WriteLine(string.Format("Writing Key: {0}={1}", k.Name, k.Value)); + oWriter.WriteLine(string.Format("{0}={1}", k.Name, k.Value)); + } + else + { + Trace.WriteLine(string.Format("Writing Key: {0}", k.Name)); + oWriter.WriteLine(string.Format("{0}", k.Name)); + } + } + } + oWriter.Close(); + } + + // Gets all the sections names + public System.Collections.ICollection Sections + { + get + { + return m_sections.Values; + } + } + + // Adds a section to the IniFile object, returns a IniSection object to the new or existing object + public IniSection AddSection(string sSection ) + { + IniSection s = null; + sSection = sSection.Trim(); + // Trim spaces + if (m_sections.ContainsKey(sSection)) + { + s = (IniSection)m_sections[sSection]; + } + else + { + s = new IniSection(this, sSection); + m_sections[sSection] = s; + } + return s; + } + + // Removes a section by its name sSection, returns trus on success + public bool RemoveSection(string sSection) + { + sSection = sSection.Trim(); + return RemoveSection(GetSection(sSection)); + } + + // Removes section by object, returns trus on success + public bool RemoveSection(IniSection Section) + { + if (Section != null) + { + try + { + m_sections.Remove(Section.Name); + return true; + } + catch( Exception ex ) + { + Trace.WriteLine(ex.Message); + } + } + return false; + } + + // Removes all existing sections, returns trus on success + public bool RemoveAllSections() + { + m_sections.Clear(); + return (m_sections.Count == 0); + } + + // Returns an IniSection to the section by name, NULL if it was not found + public IniSection GetSection(string sSection) + { + sSection = sSection.Trim(); + // Trim spaces + if (m_sections.ContainsKey(sSection)) + { + return (IniSection)m_sections[sSection]; + } + return null; + } + + // Returns a KeyValue in a certain section + public string GetKeyValue(string sSection, string sKey) + { + IniSection s = GetSection(sSection); + if (s != null) + { + IniSection.IniKey k = s.GetKey(sKey); + if (k != null) + { + return k.Value; + } + } + return string.Empty; + } + + // Sets a KeyValuePair in a certain section + public bool SetKeyValue(string sSection, string sKey, string sValue) + { + IniSection s = AddSection(sSection); + if (s != null) + { + IniSection.IniKey k = s.AddKey(sKey); + if (k != null) + { + k.Value = sValue; + return true; + } + } + return false; + } + + // Renames an existing section returns true on success, false if the section didn't exist or there was another section with the same sNewSection + public bool RenameSection(string sSection, string sNewSection) + { + // Note string trims are done in lower calls. + bool bRval = false; + IniSection s = GetSection(sSection); + if (s != null) + { + bRval = s.SetName(sNewSection); + } + return bRval; + } + + // Renames an existing key returns true on success, false if the key didn't exist or there was another section with the same sNewKey + public bool RenameKey(string sSection, string sKey, string sNewKey) + { + // Note string trims are done in lower calls. + IniSection s = GetSection(sSection); + if (s != null) + { + IniSection.IniKey k = s.GetKey(sKey); + if (k != null) + { + return k.SetName(sNewKey); + } + } + return false; + } + + // IniSection class + public class IniSection + { + // IniFile IniFile object instance + private IniFile m_pIniFile; + // Name of the section + private string m_sSection; + // List of IniKeys in the section + private Hashtable m_keys; + + // Constuctor so objects are internally managed + protected internal IniSection(IniFile parent, string sSection) + { + m_pIniFile = parent; + m_sSection = sSection; + m_keys = new Hashtable(StringComparer.InvariantCultureIgnoreCase); + } + + // Returns and hashtable of keys associated with the section + public System.Collections.ICollection Keys + { + get + { + return m_keys.Values; + } + } + + // Returns the section name + public string Name + { + get + { + return m_sSection; + } + } + + // Adds a key to the IniSection object, returns a IniKey object to the new or existing object + public IniKey AddKey(string sKey) + { + sKey = sKey.Trim(); + IniSection.IniKey k = null; + if (sKey.Length != 0) + { + if (m_keys.ContainsKey(sKey)) + { + k = (IniKey)m_keys[sKey]; + } + else + { + k = new IniSection.IniKey(this, sKey); + m_keys[sKey] = k; + } + } + return k; + } + + // Removes a single key by string + public bool RemoveKey(string sKey) + { + return RemoveKey(GetKey(sKey)); + } + + // Removes a single key by IniKey object + public bool RemoveKey(IniKey Key) + { + if (Key != null) + { + try + { + m_keys.Remove(Key.Name); + return true; + } + catch (Exception ex) + { + Trace.WriteLine(ex.Message); + } + } + return false; + } + + // Removes all the keys in the section + public bool RemoveAllKeys() + { + m_keys.Clear(); + return (m_keys.Count == 0); + } + + // Returns a IniKey object to the key by name, NULL if it was not found + public IniKey GetKey(string sKey) + { + sKey = sKey.Trim(); + if (m_keys.ContainsKey(sKey)) + { + return (IniKey)m_keys[sKey]; + } + return null; + } + + // Sets the section name, returns true on success, fails if the section + // name sSection already exists + public bool SetName(string sSection) + { + sSection = sSection.Trim(); + if (sSection.Length != 0) + { + // Get existing section if it even exists... + IniSection s = m_pIniFile.GetSection(sSection); + if (s != this && s != null) return false; + try + { + // Remove the current section + m_pIniFile.m_sections.Remove(m_sSection); + // Set the new section name to this object + m_pIniFile.m_sections[sSection] = this; + // Set the new section name + m_sSection = sSection; + return true; + } + catch (Exception ex) + { + Trace.WriteLine(ex.Message); + } + } + return false; + } + + // Returns the section name + public string GetName() + { + return m_sSection; + } + + // IniKey class + public class IniKey + { + // Name of the Key + private string m_sKey; + // Value associated + private string m_sValue; + // Pointer to the parent CIniSection + private IniSection m_section; + + // Constuctor so objects are internally managed + protected internal IniKey(IniSection parent, string sKey) + { + m_section = parent; + m_sKey = sKey; + } + + // Returns the name of the Key + public string Name + { + get + { + return m_sKey; + } + } + + // Sets or Gets the Value of the key + public string Value + { + get + { + return m_sValue; + } + set + { + m_sValue = value; + } + } + + // Sets the Value of the key + public void SetValue(string sValue) + { + m_sValue = sValue; + } + // Returns the Value of the Key + public string GetValue() + { + return m_sValue; + } + + // Sets the key name + // Returns true on success, fails if the section name sKey already exists + public bool SetName(string sKey) + { + sKey = sKey.Trim(); + if (sKey.Length != 0) + { + IniKey k = m_section.GetKey(sKey); + if (k != this && k != null) return false; + try + { + // Remove the current key + m_section.m_keys.Remove(m_sKey); + // Set the new key name to this object + m_section.m_keys[sKey] = this; + // Set the new key name + m_sKey = sKey; + return true; + } + catch (Exception ex) + { + Trace.WriteLine(ex.Message); + } + } + return false; + } + + // Returns the name of the Key + public string GetName() + { + return m_sKey; + } + } // End of IniKey class + } // End of IniSection class +} // End of IniFile class + + diff --git a/Icoel.Soap/INI/Settaggi.cs b/Icoel.Soap/INI/Settaggi.cs new file mode 100644 index 00000000..b22d4760 --- /dev/null +++ b/Icoel.Soap/INI/Settaggi.cs @@ -0,0 +1,53 @@ +using System.IO; + +namespace BinsTracker.INI +{ + public class Settaggi + { + + private const string NameFile = "conf.ini"; + private readonly IniFile _sett; + + + public Settaggi() + { + _sett = new IniFile(); + } + public string IndirizzoIpSizer + { + get { return _sett.GetKeyValue("Sizer", "IndirizzoIp"); } + set { _sett.SetKeyValue("Sizer", "IndirizzoIp", value); } + } + + public string SizerTcpPort + { + get { return _sett.GetKeyValue("Sizer", "TcpPort"); } + set { _sett.SetKeyValue("Sizer", "TcpPort", value); } + } + public string IndirizzoIpSizerClient + { + get { return _sett.GetKeyValue("Sizer", "IndirizzoIpTracciabilità"); } + set { _sett.SetKeyValue("Sizer", "IndirizzoIpTracciabilità", value); } + } + public string TcpPortSizerClient + { + get { return _sett.GetKeyValue("Sizer", "TcpPortTracciabilità"); } + set { _sett.SetKeyValue("Sizer", "TcpPortTracciabilità", value); } + } + + public void Load() + { + if (!File.Exists(NameFile)) + { + var fs = File.Create(NameFile); + fs.Close(); + } + _sett.Load(NameFile, false); + } + + public void Save() + { + _sett.Save(NameFile); + } + } +} \ No newline at end of file diff --git a/Icoel.Soap/Icoel.Soap.csproj b/Icoel.Soap/Icoel.Soap.csproj new file mode 100644 index 00000000..4d4d5d5f --- /dev/null +++ b/Icoel.Soap/Icoel.Soap.csproj @@ -0,0 +1,154 @@ + + + + + Debug + AnyCPU + {C45F5E6E-866B-4A34-A598-29AAB2D178AD} + Exe + Icoel.Soap + Icoel.Soap + v4.7.2 + 512 + true + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + True + True + Reference.svcmap + + + + + + + + + + + + PreserveNewest + + + PreserveNewest + + + Designer + + + Designer + + + Designer + + + Designer + + + + Designer + + + Designer + + + Reference.svcmap + + + Reference.svcmap + + + Reference.svcmap + + + Reference.svcmap + + + Reference.svcmap + + + Reference.svcmap + + + Reference.svcmap + + + Reference.svcmap + + + Reference.svcmap + + + Reference.svcmap + + + Reference.svcmap + + + Reference.svcmap + + + Reference.svcmap + + + + Designer + + + Designer + + + + + + + + + + + + + + + + + WCF Proxy Generator + Reference.cs + + + + \ No newline at end of file diff --git a/Icoel.Soap/MyApp.cs b/Icoel.Soap/MyApp.cs new file mode 100644 index 00000000..547e10ec --- /dev/null +++ b/Icoel.Soap/MyApp.cs @@ -0,0 +1,280 @@ +using BinsTracker.INI; +using Icoel.Soap.INI; +using Icoel.Soap.SizerService; +using System; +using Tracker_GUI.Riempitori; + +namespace Icoel.Soap +{ + internal static class MyApp + { + internal static BatchDetails Details { get; set; } + internal static CompacClient Client { get; set; } + internal static Settaggi Settaggi { get; set; } + + internal static void Load() + { + Settaggi = new Settaggi(); + Details = new BatchDetails(); + + Settaggi.Load(); + Details.Load(); + } + + internal static void MettiLottoInCoda() + { + Client = new CompacClient(Settaggi.IndirizzoIpSizer, Settaggi.SizerTcpPort); + + Client.VerificaEsistenzaGrower(Details.GrowerCode, Details.GrowerName); + + // recupero varietà x selezione + var varList = MyApp.RecuperaVarietyLayout(); + + int idxVar = -1; + int idxLay = -1; + + Guid varGuid = Guid.NewGuid(); + Guid layGuid = Guid.NewGuid(); + + Console.WriteLine("--------------------"); + Console.WriteLine("Varietà disponibili:"); + Console.WriteLine("--------------------"); + DisplayVarietyLayout(varList); + // chiedo di selezionare + while (idxVar <= 0) + { + Console.WriteLine(""); + Console.WriteLine("indicare varietà richiesta (#)"); + var rawData = Console.ReadLine(); + if (!string.IsNullOrEmpty(rawData)) + { + int.TryParse(rawData, out idxVar); + // verifico sia valida.. + if (varList.Length >= idxVar) + { + varGuid = varList[idxVar - 1].Id; + } + else + { + idxVar = -1; + } + } + } + if (Client == null || !Client.connected) + { + Client = new CompacClient(Settaggi.IndirizzoIpSizer, Settaggi.SizerTcpPort); + } // recupero layout della varietà + var layoutList = Client.GetLayouts(varGuid); + // recupero layout x varietà + while (idxLay <= 0) + { + Console.WriteLine(""); + Console.WriteLine("indicare layout"); + var rawData = Console.ReadLine(); + if (!string.IsNullOrEmpty(rawData)) + { + int.TryParse(rawData, out idxLay); + // verifico sia valida.. + if (layoutList.Length >= idxLay) + { + layGuid = layoutList[idxLay - 1].Id; + } + else + { + idxLay = -1; + } + } + } + + // compongo batch e metto in coda + var newBatch = GeneraBatchDaSelezione(varGuid, layGuid, Client.GetCurrentBatch().SizingProfileName); + + Client.MettiLottoInCoda(newBatch); + + Client.Close(); + } + + internal static void MettiLottoInCodaDefault() + { + Client = new CompacClient(Settaggi.IndirizzoIpSizer, Settaggi.SizerTcpPort); + + Client.VerificaEsistenzaGrower(Details.GrowerCode, Details.GrowerName); + + Client.MettiLottoInCoda(GeneraBatchDaFile()); + + Client.Close(); + } + + internal static void VerificaLottoCorrente() + { + Client = new CompacClient(Settaggi.IndirizzoIpSizer, Settaggi.SizerTcpPort); + + //Client.GetCurrentBatch(); + var batch = Client.GetCurrentBatchByLane(1); + Console.WriteLine($"[1-SX] Grower code: {batch.GrowerCode} | Layout Name: {batch.LayoutName} | Totalling: [{batch.TotallingVarietyCode}] {batch.TotallingVariety} | Sizing: {batch.SizingProfileName} | Start {batch.StartTime} | End {batch.EndTime}"); + + batch = Client.GetCurrentBatchByLane(2); + Console.WriteLine($"[2-DX] Grower code: {batch.GrowerCode} | Layout Name: {batch.LayoutName} | Totalling: [{batch.TotallingVarietyCode}] {batch.TotallingVariety} | Sizing: {batch.SizingProfileName} | Start {batch.StartTime} | End {batch.EndTime}"); + + Client.Close(); + } + + + internal static Variety[] RecuperaVarietyLayout() + { + //Client = new CompacClient(Settaggi.IndirizzoIpSizer, Settaggi.SizerTcpPort); + if (Client == null || !Client.connected) + { + Client = new CompacClient(Settaggi.IndirizzoIpSizer, Settaggi.SizerTcpPort); + } + Variety[] varietiesList; + varietiesList = Client.GetActiveVarieties(); +#if false + foreach (var item in varietiesList) + { + Console.WriteLine("--------------------------"); + Console.WriteLine($"Variety Id: {item.Id} | Variety Name: {item.Name}"); + Console.WriteLine(" - Qualities"); + foreach (var quality in item.Qualities) + { + Console.WriteLine($" Name: {quality.Name}"); + } + Console.WriteLine(" - Grades"); + foreach (var grade in item.Grades) + { + Console.WriteLine($" Name: {grade.Name}"); + } + Console.WriteLine(" - Sizes"); + foreach (var size in item.SizingMaps) + { + Console.WriteLine($" Name: {size.Name}"); + } + // recupero layout della varietà + var layoutList = Client.GetLayouts(item.Id); + Console.WriteLine(" - LAYOUTS"); + foreach (var layout in layoutList) + { + Console.WriteLine($" Id: {layout.Id} | Name: {layout.Name}"); + // ciclo su sub info + Console.WriteLine(" - Assignments"); + foreach (var assign in layout.Assignments) + { + Console.WriteLine($" Key: {assign.Key} | Val: {assign.Value}"); + } + Console.WriteLine(" - Products"); + foreach (var product in layout.Products) + { + Console.WriteLine($" Id: {product.Id} | Name: {product.Name} | DisplayName: {product.DisplayName} | Pack: {product.Pack}"); + } + } + } +#endif + + Client.Close(); + + return varietiesList; + } + + internal static void DisplayVarietyLayout(Variety[] varietiesList) + { + if (Client == null || !Client.connected) + { + Client = new CompacClient(Settaggi.IndirizzoIpSizer, Settaggi.SizerTcpPort); + } + foreach (var item in varietiesList) + { + Console.WriteLine("--------------------------"); + Console.WriteLine($"Variety Id: {item.Id} | Variety Name: {item.Name}"); + Console.WriteLine(" - Qualities"); + foreach (var quality in item.Qualities) + { + Console.WriteLine($" Name: {quality.Name}"); + } + Console.WriteLine(" - Grades"); + foreach (var grade in item.Grades) + { + Console.WriteLine($" Name: {grade.Name}"); + } + Console.WriteLine(" - Sizes"); + foreach (var size in item.SizingMaps) + { + Console.WriteLine($" Name: {size.Name}"); + } + // recupero layout della varietà + var layoutList = Client.GetLayouts(item.Id); + Console.WriteLine(" - LAYOUTS"); + foreach (var layout in layoutList) + { + Console.WriteLine($" Id: {layout.Id} | Name: {layout.Name}"); + // ciclo su sub info +#if false + Console.WriteLine(" - Assignments"); + foreach (var assign in layout.Assignments) + { + Console.WriteLine($" Key: {assign.Key} | Val: {assign.Value}"); + } +#endif + Console.WriteLine(" - Products"); + foreach (var product in layout.Products) + { + Console.WriteLine($" Id: {product.Id} | Name: {product.Name} | DisplayName: {product.DisplayName} | Pack: {product.Pack}"); + } + } + } + + // chiudo se fosse rimasto aperto + Client.Close(); + } + + + + + private static Batch GeneraBatchDaFile() + { + var batch = new Batch(); + + batch.GrowerCode = Details.GrowerCode; + + + batch.AvoidLayoutChange = true; + batch.AvoidSavingOldLayouts = true; + + batch.Comments = new string[3]; + batch.Comments[0] = Details.Comment1; + batch.Comments[1] = Details.Comment2; + batch.Comments[2] = Details.Comment3; + + batch.VarietyId = Client.GetCurrentBatch().VarietyId; + batch.LayoutId = Client.GetCurrentBatch().LayoutId; + batch.SizingProfileName = Client.GetCurrentBatch().SizingProfileName; + + return batch; + } + + + + + private static Batch GeneraBatchDaSelezione(Guid VarietyId, Guid LayoutId, string SizingProfileName) + { + var batch = new Batch(); + + batch.AvoidLayoutChange = true; + batch.AvoidSavingOldLayouts = true; + + batch.GrowerCode = Details.GrowerCode; + batch.Comments = new string[3]; + batch.Comments[0] = Details.Comment1; + batch.Comments[1] = Details.Comment2; + batch.Comments[2] = Details.Comment3; + + batch.VarietyId = VarietyId; + batch.LayoutId = LayoutId; + batch.SizingProfileName = SizingProfileName; + //batch.VarietyId = Client.GetCurrentBatch().VarietyId; + //batch.LayoutId = Client.GetCurrentBatch().LayoutId; + //batch.SizingProfileName = Client.GetCurrentBatch().SizingProfileName; + + return batch; + } + } +} \ No newline at end of file diff --git a/Icoel.Soap/Program.cs b/Icoel.Soap/Program.cs new file mode 100644 index 00000000..61e47587 --- /dev/null +++ b/Icoel.Soap/Program.cs @@ -0,0 +1,45 @@ +using BinsTracker.INI; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Tracker_GUI.Riempitori; + +namespace Icoel.Soap +{ + class Program + { + static void Main(string[] args) + { + // setp 1: legge conf da file ini che si trovano in bin (riportati come conf principali) + Console.WriteLine("Loading Files..."); + MyApp.Load(); + + // ora effettua lettura Varietà e Layout disponibili + + try + { + var varList = MyApp.RecuperaVarietyLayout(); + if (varList != null) + { + MyApp.DisplayVarietyLayout(varList); + } + + MyApp.VerificaLottoCorrente(); + + MyApp.MettiLottoInCoda(); + + MyApp.VerificaLottoCorrente(); + + Console.WriteLine("Done."); + Console.ReadKey(); + } + catch(Exception ex) + { + Console.WriteLine("ECCEZIONE" + ex.Message + ex.StackTrace); + Console.ReadKey(); + } + } + } +} diff --git a/Icoel.Soap/Properties/AssemblyInfo.cs b/Icoel.Soap/Properties/AssemblyInfo.cs new file mode 100644 index 00000000..5c2eb180 --- /dev/null +++ b/Icoel.Soap/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Le informazioni generali relative a un assembly sono controllate dal seguente +// set di attributi. Modificare i valori di questi attributi per modificare le informazioni +// associate a un assembly. +[assembly: AssemblyTitle("Icoel.Soap")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Icoel.Soap")] +[assembly: AssemblyCopyright("Copyright © 2021")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Se si imposta ComVisible su false, i tipi in questo assembly non saranno visibili +// ai componenti COM. Se è necessario accedere a un tipo in questo assembly da +// COM, impostare su true l'attributo ComVisible per tale tipo. +[assembly: ComVisible(false)] + +// Se il progetto viene esposto a COM, il GUID seguente verrà utilizzato come ID della libreria dei tipi +[assembly: Guid("c45f5e6e-866b-4a34-a598-29aab2d178ad")] + +// Le informazioni sulla versione di un assembly sono costituite dai seguenti quattro valori: +// +// Versione principale +// Versione secondaria +// Numero di build +// Revisione +// +// È possibile specificare tutti i valori oppure impostare valori predefiniti per i numeri relativi alla revisione e alla build +// usando l'asterisco '*' come illustrato di seguito: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Icoel.Soap/batch.ini b/Icoel.Soap/batch.ini new file mode 100644 index 00000000..a7e6ca86 --- /dev/null +++ b/Icoel.Soap/batch.ini @@ -0,0 +1,6 @@ +[Batch] +GrowerCode=02 +GrowerName=Egalware +Comment1=Prova Invio +Comment2=Console app +Comment3=Selezionato Variety e layout \ No newline at end of file diff --git a/Icoel.Soap/conf.ini b/Icoel.Soap/conf.ini new file mode 100644 index 00000000..ebbeb530 --- /dev/null +++ b/Icoel.Soap/conf.ini @@ -0,0 +1,3 @@ +[Sizer] +IndirizzoIp=192.168.137.50 +TcpPort=8001 \ No newline at end of file