aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Firmware/Tango.FirmwareUpdateLib/TwineDFUExtras.h
blob: 845e706d73c2b1664de3b5a12022c16ce50b2306 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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;
		};
	}
}