예제 #1
0
            public void RefreshClientsAsync(List <string> objectIds, Action <DataResponse <List <ClientData> >, Exception> callback)
            {
                MinerIdsRequest request = new MinerIdsRequest()
                {
                    ObjectIds = objectIds
                };

                PostAsync(SControllerName, nameof(IClientController.RefreshClients), request.ToQuery(SingleUser.LoginName, SingleUser.PasswordSha1), request, callback);
            }
            public void RemoveClientsAsync(List <string> objectIds, Action <ResponseBase, Exception> callback)
            {
                MinerIdsRequest request = new MinerIdsRequest()
                {
                    ObjectIds = objectIds
                };

                PostAsync(SControllerName, nameof(IControlCenterController.RemoveClients), request.ToQuery(SingleUser.LoginName, SingleUser.PasswordSha1), request, callback);
            }