1 ## This file is a template. The comment below is emitted 2 ## into the rendered file; feel free to edit this file. 3 4 // !!! WARNING: This is a GENERATED Code..Please do NOT Edit !!! 5 6 #include "oemhandler.hpp" 7 8 extern const ObjectIDMap invSensors = { 9 % for key in sensorDict.keys(): 10 % if key: 11 {"${key}", 12 { 13 <% 14 objectPath = sensorDict[key] 15 sensorID = objectPath["sensorID"] 16 sensorType = objectPath["sensorType"] 17 eventReadingType = objectPath["eventReadingType"] 18 offset = objectPath["offset"] 19 %> 20 ${sensorID},${sensorType},${eventReadingType},${offset} 21 } 22 }, 23 % endif 24 % endfor 25 }; 26 27