Changeset 113 in tmcsimulator for branches/FEPSimulator/DataPacker.cpp
- Timestamp:
- 10/14/2017 09:18:40 AM (9 years ago)
- File:
-
- 1 edited
-
branches/FEPSimulator/DataPacker.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/FEPSimulator/DataPacker.cpp
r80 r113 1 1 #include "DataPacker.h"; 2 #include <stdio.h> 2 3 3 4 unsigned char * DataPacker::msg; … … 7 8 DataPacker packer; 8 9 msg = packer.staticDataPack(station); 9 pos = packer.dynamicDataPack(station, 5, pos);10 /* pos = packer.dynamicDataPack(station, 5, pos); 10 11 pos = packer.dynamicDataPack(station, 6, pos); 11 12 pos = packer.dynamicDataPack(station, 7, pos); … … 19 20 // will need to check if queue override is enabled (Currently, no queue 20 21 // ldsMap[i].dataPack[16-1] = ; 21 22 */ 22 23 // byte 23: MAINLINE total volume 23 24 msg[23 - 1] = station->MlTotVol; … … 30 31 packer.chksum(msg, station->length - 1 - 1); 31 32 32 /*33 33 for (int j = 0; j < station->length; j++) { 34 34 printf("%02X", msg[j]); 35 35 } 36 36 printf("\n"); 37 */ 37 38 return msg; 38 39 } 39 40
Note: See TracChangeset
for help on using the changeset viewer.
