diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-05-03 16:00:01 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-05-03 16:00:01 +0300 |
| commit | 09862076bf6569468e722dd5a8a236f7020ab7b5 (patch) | |
| tree | ecb78c76c586c7dc10c87cd3c5fcea61bb8ec878 /Software/Visual_Studio/Utilities/Tango.PMRGenerator.CLI/Program.cs | |
| parent | 52ada8c6fa887d0dc418194655bea0f8e88e9805 (diff) | |
| download | Tango-09862076bf6569468e722dd5a8a236f7020ab7b5.tar.gz Tango-09862076bf6569468e722dd5a8a236f7020ab7b5.zip | |
Lots of work !!
Diffstat (limited to 'Software/Visual_Studio/Utilities/Tango.PMRGenerator.CLI/Program.cs')
| -rw-r--r-- | Software/Visual_Studio/Utilities/Tango.PMRGenerator.CLI/Program.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Utilities/Tango.PMRGenerator.CLI/Program.cs b/Software/Visual_Studio/Utilities/Tango.PMRGenerator.CLI/Program.cs index 0ee99f1fa..2b6f7174b 100644 --- a/Software/Visual_Studio/Utilities/Tango.PMRGenerator.CLI/Program.cs +++ b/Software/Visual_Studio/Utilities/Tango.PMRGenerator.CLI/Program.cs @@ -186,6 +186,8 @@ namespace Tango.PMRGenerator.CLI messageFile.Properties.Add(new ProtoProperty("HardwareDispenserType", "HardwareDispenserType")); + messageFile.Properties.Add(new ProtoProperty("Index", "int32")); + foreach (var prop in typeof(DispenserType).GetProperties(BindingFlags.Instance | BindingFlags.Public | BindingFlags.DeclaredOnly).Where(x => x.PropertyType.IsPrimitive)) { if (prop.Name != "Name" && prop.Name != "Code") |
