Digital Twin - GUI
|
A wrapper class for products. More...
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... | |
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.
GUI.Datatypes.ProductCB.ProductCB | ( | String | name, |
MachineCB | m, | ||
double | bauteilwechselphase, | ||
double | hos, | ||
double | qualirate | ||
) |
The Constructor.
name | A string that determines the machine's name. |
m | Machine on which the product can be produced on. |
bauteilwechselphase | Minutes that it takes to change a toolkit on machine m. |
hos | Number of "Huebe ohne Stoerung". |
qualirate | Qualityrate 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.
MachineCB GUI.Datatypes.ProductCB.getMachine | ( | ) |
Grants access to the machine this product is meant to be produced on.
double GUI.Datatypes.ProductCB.hoS |
Value for "Huebe ohne Stoerung".
|
private |
Machine this product is produced on.
double GUI.Datatypes.ProductCB.qualitaetsrate |
Qualityrate in percent.