Create and track devices with several properties and mark them based on time until End-of-life.
4 Office sites with 4 Devices each are included as samples with dates ranging between 1980-12-11 and 2027-01-08. Currency rates are retrieved from the European Central Bank and currencies in the app are converted upon display. Price values of devices are set to the same values between Offices to display the currency conversion.
Select office via indexed list and then create devices via repeating input loop.
Select an office via indexed list or "all" to list all offices and their devices' information.
Select an office via indexed list and then again select the device you wish to remove with its own index.
I decided to use an interface to control device classes because there were no methods needed for the device objects.
Static class due to it being a tool that I want accessible. It contains the methods for the Function loops.
Contains a private list of devices and the methods required to manipulate and display this list.
Interface for assuring that any implemented devices follow requirements. IDevice.cs also holds the enum DeviceTypes used for organizing the lists.
Currently implemented devices
Static class due to it being a tool that I want accessible. Requests and creates the Envelope object containing all currency rates.
Containing object for the currency rates.