PreviousNext
Help > Proxy Classes > CalculationClient Class
CalculationClient Class

The CalculationClient is a client-side class to communicate with the interface ICalculate which taking part of the calculation web service. The CalculationClient is created automatically by your development tools after importing the WSDL http://e3.cubemaster.net/calculation.svc?wsdl. (This class is not necessary for the JavaScript version.)

The CalculationClient opens a connection to the service with account information in the Account Class and send the options and shipment information to the service via the Options and Shipment Class respectively. If the calculation was finished by the service, it brings back a load plan from the service via the LoadPlan Class. The LoadPlan contains the information of the filled containers with cargoes which were defined in the shipment information. The filled containers are contained in the FilledContainers Class. Load blocks and empty spaces in a filled container are contained in the SpacesInContainer Class.

The service requires the following information as input data;

               Account

               Options

               Shipment

o   A list of containers such as pallets, trucks, sea containers and cartons

o   A list of cargoes

o   Rules

And the service creates the following information as output data;

               Load plan

o   Filled containers

          A list of spaces

          A list of manifests