Ignore:
Timestamp:
12/07/03 14:48:11 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/tcpip/MCeCoCom.cc

    r2517 r2615  
    2626    str.Remove(0, len);
    2727
    28     fT.SetTimer(y, m, d, h, min, s, ms/1000.);
     28    fT.Set(y, m, d, h, min, s, ms);
    2929
    3030    // Remove the 30 tokens of the subsystem status
     
    8888bool MCeCoCom::Send(const char *str)
    8989{
    90     Timer t;
     90    MTime t;
    9191    t.Now();
     92
     93    UShort_t y1, y2, ms1, ms2;
     94    Byte_t mon1, mon2, d1, d2, h1, h2, m1, m2, s1, s2;
     95
     96    t.GetDate(y1, mon1, d1);
     97    t.GetTime(h1, m1, s1, ms1);
     98
     99    fT.GetDate(y2, mon2, d2);
     100    fT.GetTime(h2, m2, s2, ms2);
    92101
    93102    const char *msg =
     
    96105             "%02d %04d %02d %02d %02d %02d %02d %03d "
    97106             "%s\n", (const char*)fCommand,
    98              fStatus, t.Year(), t.Month(), t.Day(), t.H(), t.M(), t.S(), t.MilliSec(),
    99              fComStat, fT.Year(), fT.Month(), fT.Day(), fT.H(), fT.M(), fT.S(), fT.MilliSec(),
     107             fStatus,  y1, mon1, d1, h1, m1, s1, ms1,
     108             fComStat, y2, mon2, d2, h2, m2, s2, ms2,
    100109             str);
    101110
Note: See TracChangeset for help on using the changeset viewer.