diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2024-05-15 22:05:35 +0300 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2024-05-15 22:05:35 +0300 |
| commit | fd061c7cb7f243d562913d496223830bcf83b7a9 (patch) | |
| tree | 06d00b6b9cfec13c7021e907a4b567b45da09c8f /Software/Visual_Studio/Tango.Emulations | |
| parent | 700a9ea9e2c9d95f0c5739c58974eafaff2ebeb9 (diff) | |
| download | Tango-fd061c7cb7f243d562913d496223830bcf83b7a9.tar.gz Tango-fd061c7cb7f243d562913d496223830bcf83b7a9.zip | |
Dryer Target Value, Firmware Version Descriptors fixes.
Diffstat (limited to 'Software/Visual_Studio/Tango.Emulations')
| -rw-r--r-- | Software/Visual_Studio/Tango.Emulations/Emulators/MachineEmulator.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Software/Visual_Studio/Tango.Emulations/Emulators/MachineEmulator.cs b/Software/Visual_Studio/Tango.Emulations/Emulators/MachineEmulator.cs index bacce5f5e..a65f6931a 100644 --- a/Software/Visual_Studio/Tango.Emulations/Emulators/MachineEmulator.cs +++ b/Software/Visual_Studio/Tango.Emulations/Emulators/MachineEmulator.cs @@ -1949,12 +1949,14 @@ namespace Tango.Emulations.Emulators { GetVersionDescriptorsResponse response = new GetVersionDescriptorsResponse(); + int v = 1; + foreach (var destination in Enum.GetValues(typeof(PMR.FirmwareUpgrade.VersionFileDestination)).Cast<PMR.FirmwareUpgrade.VersionFileDestination>().ToList()) { VersionFileDescriptor result = new VersionFileDescriptor(); result.Destination = destination; - result.Version = "123456VP"; - + result.Version = $"0.0.0.{v}"; + v++; response.Descriptors.Add(result); } |
