495517 c# Save and restore data to disk - Part of larger project

In this project - there is a Dictionary which is used as the main data structure and records details about custom hardware connected to the serial port.

The serial port is used to interrogate the hardware, and when a device responds with it's serial number and addresss, it is added to the Dictionary.

Devices respond when interrogated ( either individually or in groups ).

The devices each have a unique serial number - duplicate serial numbers are not permitted.

The Dictionary is filled by polling for devices and may take several seconds or even minutes to complete depending on the scale of the connected device hardware.

The dictionary only contains basic information about the connected devices. Once a device has been added to the dictionary, a device object is created that can then be used to represent the real device and additional device properties are set by subsequent serial port requests.

Two important properties assigned to the devices are the AREA and ZONE values that determine how the devices function as part of the system.

These properties are stored in the actual physical device and retrieved as a numeric value when requested.

The most recent project created datagridviews which allowed the user to assign names to these properties. These names are held only on the PC running the application and NOT in the physical device.

Stage 1 is to Save and restore the Dictionary to disk, alongside the Area / Zone Name tables.

It should be possible to save and load this data as a single ( XML?) file. ( ZONE/AREA naming) + (DEVICEDICTIONARY).

At some point other data may need to be stored in this file.

File structure open for suggestions.

Optional if not difficult: It should be possible to save / restore the data types separately if needed - (eg. ZONE/AREA naming as a separate file ).

Attached is the Dictionary Code for examination.

Beceriler: .NET, Her şey Kabul, C# Programlama, Veri Girişi, XML

Daha fazlasını görün: types of data structure, types data structure, tables in data structure, set in data structure, set data structure, need of data structure, function of numbers, dictionary data structure, data structure with c, data structure used for dictionary, data structure types, data structure that, data structure set, data structure in, data structure for dictionary, data structure dictionary, data structure code, data structure and c, c with data structure, c data structure, c and data structure, basic types of data structure, basic of data structure, area of a point, application of data structure in c

İşveren Hakkında:
( 4 değerlendirme ) Chinnor, United Kingdom

Proje NO: #2241432



Hi! I'm ready to go!

7 gün içinde 100$ USD
(0 Değerlendirme)