public void Stop() { RpcEndpoint = null; IsLinking = false; if (_radarInfomation != null) { _radarInfomation.Dispose(); } _radarInfomation = null; }
public void Start(string rpcEndpoint) { Stop(); _radarInfomation = new RadarInfomation(rpcEndpoint); if (_radarInfomation != null) { IsLinking = true; } RpcEndpoint = rpcEndpoint; }