Implemented most common classes

This commit is contained in:
2015-09-21 12:58:01 +02:00
parent 5d23f7fc32
commit de4bb67216
4 changed files with 44 additions and 24 deletions
+23
View File
@@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ErgometerLibrary
{
class NetCommand
{
public int Session { get; set; }
public string DisplayName { get; set; }
public double Timestamp { get; set; }
public NetCommand(int session, string displayname)
{
Session = session;
DisplayName = displayname;
Timestamp = (DateTime.Now - DateTime.Parse("1/1/1870 0:0:0")).TotalMilliseconds;
}
}
}