- Author
- Max Houwing
- Date
- November 23, 2015
Class that controls the bands of the xCPS (the terms 'band' and 'belt' are used interchangeably for the xCPS machine, but describe the same thing!) Enable() and disable() methods are available to turn the bands on and off, respectively. The masks and card numbers are hardcoded into the constructor, and are assigned based on the band number that is used as argument. There are enums available as input to this constructor as well, these are defined in the xCPS class. They are simply 'band1' through 'band6', and correspond to the numbers on the machine schematic.
Band::Band |
( |
int |
bandnumber | ) |
|
Initializes the Band class with hardcoded masks assigned for each of the bands. Also, instead of the 'bandnumber' integer, enums can also be used: band1, band2, band3, band4, band5, band6. The numbers correspond to the belt numbers as labeled on the machine schematic.