|
@@ -7,6 +7,7 @@ using ProtocalGeneral;
|
|
|
using RTCommunicatorBase;
|
|
using RTCommunicatorBase;
|
|
|
using RTCommunicatorTLV;
|
|
using RTCommunicatorTLV;
|
|
|
using SqlSugarORM;
|
|
using SqlSugarORM;
|
|
|
|
|
+using System.Net;
|
|
|
using Universal;
|
|
using Universal;
|
|
|
using Universal.IO;
|
|
using Universal.IO;
|
|
|
|
|
|
|
@@ -144,7 +145,14 @@ public class TestClass : IRTMini8Provider
|
|
|
{
|
|
{
|
|
|
communicator = new();
|
|
communicator = new();
|
|
|
communicator.Initialize(this);
|
|
communicator.Initialize(this);
|
|
|
- communicator.StartService("127.0.0.1", 50052);
|
|
|
|
|
|
|
+ string ipaddress = string.Empty;
|
|
|
|
|
+ do
|
|
|
|
|
+ {
|
|
|
|
|
+ Console.WriteLine("Please Input IP Address");
|
|
|
|
|
+ ipaddress = Console.ReadLine();
|
|
|
|
|
+
|
|
|
|
|
+ } while (!communicator.StartService(ipaddress, 50052));
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public void SetFile()
|
|
public void SetFile()
|