示例#1
0
        private async Task HandleReporting(RemoteCameraModel model)
        {
            _sender.RegisterEndPoint(model.IPAddress, model.Port);
            _cameras[model.IPAddress.ToString()] = model;
            await OnCamerasUpdated();

            await _sender.IssueCommand(new EnableHeartbeatCommand(LocalAddress, _heartbeat.Port));
        }