39 lines
868 B
C#
39 lines
868 B
C#
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;
|
|
}
|
|
}
|
|
}
|