diff options
Diffstat (limited to 'Software/Visual_Studio/Firmware/Tango.FirmwareUpdateLib/TwineDFUExtras.h')
| -rw-r--r-- | Software/Visual_Studio/Firmware/Tango.FirmwareUpdateLib/TwineDFUExtras.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Firmware/Tango.FirmwareUpdateLib/TwineDFUExtras.h b/Software/Visual_Studio/Firmware/Tango.FirmwareUpdateLib/TwineDFUExtras.h new file mode 100644 index 000000000..845e706d7 --- /dev/null +++ b/Software/Visual_Studio/Firmware/Tango.FirmwareUpdateLib/TwineDFUExtras.h @@ -0,0 +1,39 @@ +#pragma once + +using namespace System; + +namespace Tango +{ + namespace FirmwareUpdateLib + { + /// <summary> + /// Represents an optional information which will be written to the top of the + /// flash memory and can be used to save important data about the current saved image. + /// </summary> + public ref class TwineDFUExtras + { + public: + + /// <summary> + /// Determines whether the twine extras were found. + /// </summary> + property bool HasExtras; + /// <summary> + /// The date and time for the last upload operation on this device. + /// </summary> + property DateTime^ UploadDateTime; + /// <summary> + /// The version of the last uploaded image. + /// </summary> + property Version^ Version; + /// <summary> + /// Optional comments (Max 100 ASCII characters). + /// </summary> + property String^ Comments; + /// <summary> + /// The size of the last uploaded image. + /// </summary> + property int ImageLength; + }; + } +} |
