SafeDispatch/SafeMobileLIB_DLL/Safenet/InternalStatistic.cs

39 lines
868 B
C#
Raw Normal View History

2024-02-22 16:43:59 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SafeMobileLib.Safenet
{
public class InternalStatistic
{
private Int16 _outgoing;
public Int16 outgoing
{
get { return _outgoing; }
set { _outgoing = value; _lastTime = DateTime.Now; }
}
private Int16 _incoming;
public Int16 incoming
{
get { return _incoming; }
set { _incoming = value; _lastTime = DateTime.Now; }
}
private DateTime _lastTime;
public DateTime lastTime
{
get { return _lastTime; }
set { _lastTime = lastTime; }
}
public InternalStatistic()
{
outgoing = 0;
incoming = 0;
lastTime = DateTime.Now;
}
}
}