BITKit/Src/Core/Net/Commands/NetCommandExamples.cs

25 lines
340 B
C#
Raw Normal View History

2023-08-23 01:59:26 +08:00
using System;
2024-06-08 10:07:40 +08:00
using System.Data;
2023-08-23 01:59:26 +08:00
namespace BITKit.Net.Examples
{
public struct LogTime
{
public Guid Id;
public DateTime CreateTime;
2024-06-08 10:07:40 +08:00
#if NET5_0_OR_GREATER
2023-08-23 01:59:26 +08:00
public LogTime()
{
CreateTime=DateTime.Now;
Id=Guid.NewGuid();
}
#endif
}
2024-06-08 10:07:40 +08:00
public struct SimplePing
{
public DateTime StartTime;
public DateTime EndTime;
}
2023-08-23 01:59:26 +08:00
}