I have been assigned to develop an application for a roll maintenace shop in a hot rolling mill.
THE PROCESS:
ROLLS are used for rolling of hot slabs into coils, plates etc. Certain roll attributes are significant for the rolling process, such as
- Material
- Diameter
- Roughness
- Hardness
- Cylindricity
- Taper
They also have some commercial attributes like
- Manufacturer
- Purchase order number
- Date of Purchase
- Date of Receipt
Apart from these inherent attributes, as a result of rolling, they gain the following attributes which are important for analysis like
- Rolled length
- Rolled tonnage
Also, when maintenance tasks for these rolls are performed, it becomes important to record the timestamp and other attributes of such tasks.
- Inspection date
- Inspection operator
- Grinding date
- Grinding operator
THE PROBLEM:
Should all these attributes be clubbed together in one class for rolls eg. CRoll? If you think otherwise, please suggest on what lines should the classes be bifurcated so as to achieve a good object oriented design.?
Thanks in advance.