PreviousNext
Help > Class Model
Class Model


The CubeMaster Web Service has four main classes - Account, Options, Shipment, and LoadPlan. And it has three main interfaces – ICalculation, IDatabase and IArchive. The following picture shows the conceptual view of the relations between all the classes and interfaces.

The Account class represents the information to sign in the membership of the service. It includes user id, password, and company name. The Options class represents information such as an option for saving to the database, creating images, setting image size and UOM (units of measurement) for the calculation. The Shipment class represents information such as cargoes, containers, and rules for a load plan. Finally, the LoadPlan Class represents information of the number of filled containers after the calculation of the shipment. The Shipment class can be presented as the picture 2.

The interface ICalculation exposes several classes and methods to allow you to define the shipment information and upload to the service for the getting a load plan back. It also exposes a class to allow you to access the load plan returned by the service.

The interface IDatabase allows a method to send the cargoes information from your computer to the service for saving them to the cargoes database of the server. The interface IArchive provides several classes and methods to access the load plan database of the server and download the load plans to your computer.

Picture 2 Sample of Shipment Class