Changeset 549 in tmcsimulator for trunk/src


Ignore:
Timestamp:
12/26/2019 06:37:15 AM (6 years ago)
Author:
jdalbey
Message:

unifiedlogger Correct messages to have similar capitalization and punctuation.

Location:
trunk/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/python/unifiedlogger/activitylog_watcher.py

    r513 r549  
    6969        code = item[4].replace(',','') 
    7070        msg = item[5].replace(',','') 
    71         desiredFields = "Activity Log.,"+name+"," + incident_num + " " + code+" "+msg 
     71        desiredFields = "Activity Log,"+name+"," + incident_num + " " + code+" "+msg 
    7272        # Append to results list 
    7373        resultList.append(desiredFields) 
  • trunk/src/python/unifiedlogger/cms_watcher.py

    r440 r549  
    7171          # Is a new message activated? 
    7272          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] +"'") 
    7474          # Is an existing message turned off? 
    7575          if isEmpty(currList[idx]) and isFull(prevList[idx]): 
    76                results.append("CMS Deactivated., " + locationMap[idList[idx]]) 
     76               results.append("CMS Deactivated, " + locationMap[idList[idx]]) 
    7777          # Did a message change? 
    7878          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] +"'") 
    8080 
    8181     # Save the current list as previous 
  • trunk/src/python/unifiedlogger/wing_project.wpr

    r545 r549  
    470470                              (loc('extend_unifiedlogger.py'), 
    471471                               {'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, 
    475474                                '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, 
    480479                                'zoom': 0L}), 
    481480                              (loc('../../../config/logging_service.cfg'), 
  • trunk/src/tmcsim/application.properties

    r532 r549  
    1 #Wed, 27 Nov 2019 09:34:13 -0800 
     1#Sat, 07 Dec 2019 09:48:16 -0800 
    22 
    3 Application.revision=531 
     3Application.revision=540 
    44 
    55Application.buildnumber=199 
  • trunk/src/tmcsim/cadsimulator/Coordinator.java

    r529 r549  
    279279            final DateFormat timeFormat = new SimpleDateFormat("HH:mm:ss"); 
    280280            String logItem = timeFormat.format(new Date()) 
    281                     + " CAD log, " 
     281                    + " CAD Log, " 
    282282                    + "Simulation Started at " 
    283283                    + datetimeFmt.format(new Date()) 
     
    291291        final DateFormat timeFormat = new SimpleDateFormat("HH:mm:ss"); 
    292292        simMgrMsgLog.add(timeFormat.format(new Date()) 
    293                 + " CAD log, " 
     293                + " CAD Log, " 
    294294                + "Simulation Paused.\n"); 
    295295        // pausing the simulation will halt writing of CAD log, 
     
    869869                {//17:03:19 CAD Log Entry, Incident #187, Sharon: REQUEST EXTRA ANCHOVIES 
    870870                    output.append(timestamp); 
    871                     output.append(" CAD log, "); 
     871                    output.append(" CAD Log, "); 
    872872                    output.append("Incident #" + incident.logNum + ", "); 
    873873                    output.append(initials + ": "); 
Note: See TracChangeset for help on using the changeset viewer.