diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2018-08-04 16:50:29 +0300 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2018-08-04 16:50:29 +0300 |
| commit | 4fb8ff57dcd3bce39ac54d4c52cef091df8c570b (patch) | |
| tree | c259fb8fc9991ae504ff1994333444e7fe88c95c /Software/Visual_Studio/Utilities/Tango.PMRGenerator.CLI/Program.cs | |
| parent | df9efa378c7741e325b0de775cf7b33634b9f8b3 (diff) | |
| download | Tango-4fb8ff57dcd3bce39ac54d4c52cef091df8c570b.tar.gz Tango-4fb8ff57dcd3bce39ac54d4c52cef091df8c570b.zip | |
Implemented Blower, Break Sensor in Tech Board.
Added to uploaded hardware config. !!!!
Diffstat (limited to 'Software/Visual_Studio/Utilities/Tango.PMRGenerator.CLI/Program.cs')
| -rw-r--r-- | Software/Visual_Studio/Utilities/Tango.PMRGenerator.CLI/Program.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Software/Visual_Studio/Utilities/Tango.PMRGenerator.CLI/Program.cs b/Software/Visual_Studio/Utilities/Tango.PMRGenerator.CLI/Program.cs index c96b94dad..e3e225bbb 100644 --- a/Software/Visual_Studio/Utilities/Tango.PMRGenerator.CLI/Program.cs +++ b/Software/Visual_Studio/Utilities/Tango.PMRGenerator.CLI/Program.cs @@ -319,9 +319,9 @@ namespace Tango.PMRGenerator.CLI messageFile.Properties.Add(new ProtoProperty("HardwareBlowerType", "HardwareBlowerType")); - foreach (var prop in typeof(HardwareBlowerType).GetProperties(BindingFlags.Instance | BindingFlags.Public | BindingFlags.DeclaredOnly).Where(x => x.PropertyType.IsPrimitive)) + foreach (var prop in typeof(HardwareBlower).GetProperties(BindingFlags.Instance | BindingFlags.Public | BindingFlags.DeclaredOnly).Where(x => x.PropertyType.IsPrimitive)) { - messageFile.Properties.Add(new ProtoProperty(prop.Name, CoercePropertyType(prop.PropertyType), GetDbDescription<HardwareBlowerType>(prop))); + messageFile.Properties.Add(new ProtoProperty(prop.Name, CoercePropertyType(prop.PropertyType), GetDbDescription<HardwareBlower>(prop))); } String enumString = enumFile.GenerateCode(); |
