Question
Create an application that tracks electric motors in a manufacturing plant. The application should have a Motor class with the following properties: MotorId: Five digit
Create an application that tracks electric motors in a manufacturing plant. The application should have a Motor class with the following properties:
MotorId: 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 isn't available
The application should be able to store Motor class objects in the List collection. Create an input Form in the application that allows users to input new motor records to be added to the List. Create another form that displays all the motors in the List in a list box.
When the application ends, it should save the contents of the List collection to a sequential text file. When the application starts up, it should load the data from the file into the collection. Be sure to write the appropriate error handlers. Need Written in C#, Thanks
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started