Changeset 549 in tmcsimulator for trunk/src/python
- Timestamp:
- 12/26/2019 06:37:15 AM (6 years ago)
- Location:
- trunk/src/python/unifiedlogger
- Files:
-
- 3 edited
-
activitylog_watcher.py (modified) (1 diff)
-
cms_watcher.py (modified) (1 diff)
-
wing_project.wpr (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/python/unifiedlogger/activitylog_watcher.py
r513 r549 69 69 code = item[4].replace(',','') 70 70 msg = item[5].replace(',','') 71 desiredFields = "Activity Log .,"+name+"," + incident_num + " " + code+" "+msg71 desiredFields = "Activity Log,"+name+"," + incident_num + " " + code+" "+msg 72 72 # Append to results list 73 73 resultList.append(desiredFields) -
trunk/src/python/unifiedlogger/cms_watcher.py
r440 r549 71 71 # Is a new message activated? 72 72 if isEmpty(prevList[idx]) and isFull(currList[idx]): 73 results.append("CMS Activated .," + locationMap[idList[idx]] + ", '" + currList[idx] +"'")73 results.append("CMS Activated," + locationMap[idList[idx]] + ", '" + currList[idx] +"'") 74 74 # Is an existing message turned off? 75 75 if isEmpty(currList[idx]) and isFull(prevList[idx]): 76 results.append("CMS Deactivated ., " + locationMap[idList[idx]])76 results.append("CMS Deactivated, " + locationMap[idList[idx]]) 77 77 # Did a message change? 78 78 if isFull(currList[idx]) and isFull(prevList[idx]) and currList[idx] != prevList[idx]: 79 results.append("CMS Updated ., " + locationMap[idList[idx]] + ", '" + currList[idx] +"'")79 results.append("CMS Updated, " + locationMap[idList[idx]] + ", '" + currList[idx] +"'") 80 80 81 81 # Save the current list as previous -
trunk/src/python/unifiedlogger/wing_project.wpr
r545 r549 470 470 (loc('extend_unifiedlogger.py'), 471 471 {'attrib-starts': [], 472 'code-line': " # if t"\ 473 "here's detail field add it to the entries \n", 474 'first-line': 33L, 472 'code-line': 'out_file.close()\n', 473 'first-line': 51L, 475 474 'folded-linenos': [], 476 'sel-line': 56L,477 'sel-line-start': 2592L,478 'selection_end': 2641L,479 'selection_start': 2641L,475 'sel-line': 69L, 476 'sel-line-start': 3068L, 477 'selection_end': 3085L, 478 'selection_start': 3068L, 480 479 'zoom': 0L}), 481 480 (loc('../../../config/logging_service.cfg'),
Note: See TracChangeset
for help on using the changeset viewer.
