Compare commits

...

2 Commits

2 changed files with 1 additions and 2 deletions

View File

@ -18,7 +18,6 @@ namespace RoboidControl {
/// <param name="port">The port of which to receive the messages</param> /// <param name="port">The port of which to receive the messages</param>
public SiteServer(int port = 7681) : base(port) { public SiteServer(int port = 7681) : base(port) {
this.name = "Site Server"; this.name = "Site Server";
Participant.AddParticipant(this);
// Determine local IP address // Determine local IP address
IPAddress localIpAddress = null; IPAddress localIpAddress = null;

View File

@ -29,7 +29,7 @@ namespace RoboidControl.test {
[Test] [Test]
public void Test_SiteServer() { public void Test_SiteServer() {
SiteServer siteServer = new SiteServer(7681); SiteServer siteServer = new();
ulong milliseconds = (ulong)DateTimeOffset.UtcNow.ToUnixTimeMilliseconds(); ulong milliseconds = (ulong)DateTimeOffset.UtcNow.ToUnixTimeMilliseconds();
ulong startTime = milliseconds; ulong startTime = milliseconds;