Digital Twin - GUI
Public Member Functions | Public Attributes | Private Attributes | List of all members
GUI.Datatypes.ProductCB Class Reference

A wrapper class for products. More...

Inheritance diagram for GUI.Datatypes.ProductCB:

Public Member Functions

 ProductCB (String name, MachineCB m, double bauteilwechselphase, double hos, double qualirate)
 The Constructor. More...
 
MachineCB getMachine ()
 Grants access to the machine this product is meant to be produced on. More...
 

Public Attributes

double hoS
 Value for "Huebe ohne Stoerung". More...
 
double qualitaetsrate
 Qualityrate in percent. More...
 

Private Attributes

MachineCB machine
 Machine this product is produced on. More...
 

Detailed Description

A wrapper class for products.

This class stores all the information that is needed to describe a pressed product. Plus it contains all the members and functions of a System.Windows.Forms.CheckBox class, so that we have a Checkbox attached to it and can easily check at all times if we want to use if for the model.

Constructor & Destructor Documentation

GUI.Datatypes.ProductCB.ProductCB ( String  name,
MachineCB  m,
double  bauteilwechselphase,
double  hos,
double  qualirate 
)

The Constructor.

Parameters
nameA string that determines the machine's name.
mMachine on which the product can be produced on.
bauteilwechselphaseMinutes that it takes to change a toolkit on machine m.
hosNumber of "Huebe ohne Stoerung".
qualirateQualityrate in percent.

Constructs a product by its name and a machine on which the product can be produced on. Some values for the model are needed.

Member Function Documentation

MachineCB GUI.Datatypes.ProductCB.getMachine ( )

Grants access to the machine this product is meant to be produced on.

Returns
Machine this product is meant to be produced on.

Member Data Documentation

double GUI.Datatypes.ProductCB.hoS

Value for "Huebe ohne Stoerung".

MachineCB GUI.Datatypes.ProductCB.machine
private

Machine this product is produced on.

double GUI.Datatypes.ProductCB.qualitaetsrate

Qualityrate in percent.


The documentation for this class was generated from the following file: