Vishwanatha Subbanna | 6add0b8 | 2017-07-21 19:02:37 +0530 | [diff] [blame] | 1 | ## This file is a template. The comment below is emitted |
| 2 | ## into the rendered file; feel free to edit this file. |
| 3 | // WARNING: Generated header. Do not edit! |
| 4 | |
| 5 | |
| 6 | #pragma once |
| 7 | |
| 8 | #include <map> |
| 9 | |
| 10 | namespace open_power |
| 11 | { |
| 12 | namespace occ |
| 13 | { |
| 14 | |
| 15 | using instanceID = int; |
| 16 | using sensorID = uint8_t; |
| 17 | const std::map<instanceID, sensorID> Status::sensorMap = { |
| 18 | \ |
| 19 | % for occ in occDict: |
| 20 | <% |
| 21 | instance = occ.get("Instance") |
| 22 | id = occ.get("SensorID") |
| 23 | %>\ |
| 24 | \ |
| 25 | { ${instance}, ${id} },\ |
| 26 | |
| 27 | % endfor |
| 28 | }; |
| 29 | |
| 30 | } // namespace occ |
| 31 | } // namespace open_power |