Problem

Motor ClassCreate an application that tracks electric motors in a manufacturing plant. The...

Motor Class

Create an application that tracks electric motors in a manufacturing plant. The application should have a Motor class with the following properties:

• Motorld:       Five-digit string, such as "02340"

• Description: String

• RPM:          Double, values in the range 10 to 10000

• Voltage:     Double, values in the range 1 to 500

• Status:       String, three characters.

The Status values are:

• ON:    Motor is online and running.

• OFF:  Motor is online but not running.

• MNT: Motor is undergoing maintenance and cleaning.

• NA:    Motor is not available.

The application should be able to store at least 10 Motor class objects in an array. Create an input form in the application that allows users to input new motor records to be added to the array. Create another form that displays all the motors in the array in a list box.

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT