输出最后活跃时间

This commit is contained in:
WangQiang 2015-11-28 02:35:57 +00:00
parent 9c54c4cf2d
commit d629b09ab2
1 changed files with 4 additions and 0 deletions

View File

@ -98,6 +98,10 @@ String& Device::ToStr(String& str) const
str = str + "Addr=0x" + Address;
str = str + " Kind=" + (byte)(Kind >> 8) + (byte)(Kind & 0xFF);
str = str + " ID=" + HardID;
DateTime dt;
dt.Parse(LastTime);
str = str + " LastTime=" + dt.ToString();
/*
str = str + "Address=0x" + Address;
str = str + " Kind=" + (byte)(Kind >> 8) + (byte)(Kind & 0xFF);