Rev 999 | Rev 1024 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 999 | Rev 1021 | ||
|---|---|---|---|
| Line 171... | Line 171... | ||
| 171 | else |
171 | else |
| 172 | bin += uint2bin(commandNameId, 8); |
172 | bin += uint2bin(commandNameId, 8); |
| 173 | 173 | ||
| 174 | bin += "0000000000000000"; |
174 | bin += "0000000000000000"; |
| 175 | 175 | ||
| 176 | dataHex = translator.translateNMTDataToHex( |
176 | dataHex = translator.translateNMTDataToHex(myCommandName, myData); |
| 177 | } |
177 | } |
| 178 | else |
178 | else |
| 179 | { |
179 | { |
| 180 | bin += uint2bin(translator.resolveDirectionFlag(myDirectionFlag), 1); |
180 | bin += uint2bin(translator.resolveDirectionFlag(myDirectionFlag), 1); |
| 181 | 181 | ||
| Line 237... | Line 237... | ||
| 237 | 237 | ||
| 238 | int commandNameId = translator.resolveNMTCommandId(myCommandName); |
238 | int commandNameId = translator.resolveNMTCommandId(myCommandName); |
| 239 | 239 | ||
| 240 | if (myClassName == "nmt") |
240 | if (myClassName == "nmt") |
| 241 | { |
241 | { |
| 242 | translator.makeNMTDataValid( |
242 | translator.makeNMTDataValid(myCommandName, data); |
| 243 | } |
243 | } |
| 244 | else |
244 | else |
| 245 | { |
245 | { |
| 246 | translator.makeDataValid(commandNameId, myModuleName, data); |
246 | translator.makeDataValid(commandNameId, myModuleName, data); |
| 247 | } |
247 | } |