Changeset 2615 for trunk/MagicSoft/Cosy/tcpip/MCeCoCom.cc
- Timestamp:
- 12/07/03 14:48:11 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/tcpip/MCeCoCom.cc
r2517 r2615 26 26 str.Remove(0, len); 27 27 28 fT.Set Timer(y, m, d, h, min, s, ms/1000.);28 fT.Set(y, m, d, h, min, s, ms); 29 29 30 30 // Remove the 30 tokens of the subsystem status … … 88 88 bool MCeCoCom::Send(const char *str) 89 89 { 90 Timert;90 MTime t; 91 91 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); 92 101 93 102 const char *msg = … … 96 105 "%02d %04d %02d %02d %02d %02d %02d %03d " 97 106 "%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, 100 109 str); 101 110
Note:
See TracChangeset
for help on using the changeset viewer.