diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-12-02 16:37:25 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-12-02 16:37:25 +0200 |
| commit | a2d959a7777bf2387d0f50dbc1ecf69f53e2253d (patch) | |
| tree | 8c6367189294d96ae074f386cdb4139dfeacb84a /Software/Visual_Studio/Utilities/Tango.FirmwarePackageGenerator/VersionFileModel.cs | |
| parent | ae614a63f593122cd28c644625db179f298dd640 (diff) | |
| download | Tango-a2d959a7777bf2387d0f50dbc1ecf69f53e2253d.tar.gz Tango-a2d959a7777bf2387d0f50dbc1ecf69f53e2253d.zip | |
Implemented machine studio storage module. firmware upgrade version/validate/activate.
Implemented firmware package generator utility.
Diffstat (limited to 'Software/Visual_Studio/Utilities/Tango.FirmwarePackageGenerator/VersionFileModel.cs')
| -rw-r--r-- | Software/Visual_Studio/Utilities/Tango.FirmwarePackageGenerator/VersionFileModel.cs | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Utilities/Tango.FirmwarePackageGenerator/VersionFileModel.cs b/Software/Visual_Studio/Utilities/Tango.FirmwarePackageGenerator/VersionFileModel.cs new file mode 100644 index 000000000..1431fa74d --- /dev/null +++ b/Software/Visual_Studio/Utilities/Tango.FirmwarePackageGenerator/VersionFileModel.cs @@ -0,0 +1,44 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Tango.Core; +using Tango.PMR.IO; + +namespace Tango.FirmwarePackageGenerator +{ + public class VersionFileModel : ExtendedObject + { + public VersionFileModel() + { + Version = "1.0.0.0"; + } + + private String _path; + public String Path + { + get { return _path; } + set { _path = value; RaisePropertyChangedAuto(); RaisePropertyChanged(nameof(FileName)); } + } + + public String FileName + { + get { return System.IO.Path.GetFileName(Path); } + } + + private String _version; + public String Version + { + get { return _version; } + set { _version = value; RaisePropertyChangedAuto(); } + } + + private VersionFileDestination _destination; + public VersionFileDestination Destination + { + get { return _destination; } + set { _destination = value; RaisePropertyChangedAuto(); } + } + } +} |
