public void Delete(string username)
 {
     ClientUtils.WaitTask(DeleteAsync(username));
 }
 public bool ObjectExists(string deviceId)
 {
     return(ClientUtils.WaitTask <bool>(ObjectExistsAsync(deviceId)));
 }
 public IEnumerable <DataSet> GetDataSets()
 {
     return(ClientUtils.WaitTask <IEnumerable <DataSet> >(GetDataSetsAsync()));
 }
 public void Create(SmartObject smartObject)
 {
     ClientUtils.WaitTask(CreateAsync(smartObject));
 }
 public void Update(SmartObject smartObject, string deviceId)
 {
     ClientUtils.WaitTask(UpdateAsync(smartObject, deviceId));
 }
Пример #6
0
 public List <OwnerAttribute> GetOwnerAttributes()
 {
     return(ClientUtils.WaitTask(GetOwnerAttributesAsync()));
 }
Пример #7
0
 public bool EventExists(Guid eventId)
 {
     return(ClientUtils.WaitTask <bool>(EventExistsAsync(eventId)));
 }
Пример #8
0
 public void Create(List <A> value)
 {
     ClientUtils.WaitTask(CreateAsync(value));
 }
Пример #9
0
 public string GenerateDeployCode(string key)
 {
     return(ClientUtils.WaitTask(GenerateDeployCodeAsync(key)));
 }
Пример #10
0
 public List <Timeseries> GetTimeseries()
 {
     return(ClientUtils.WaitTask(GetTimeseriesAsync()));
 }
Пример #11
0
 public void Delete(string key)
 {
     ClientUtils.WaitTask(DeleteAsync(key));
 }
 public IEnumerable <Result> CreateUpdate(IEnumerable <Owner> owners)
 {
     return(ClientUtils.WaitTask <IEnumerable <Result> >(CreateUpdateAsync(owners)));
 }
 public void UpdatePassword(string username, string password)
 {
     ClientUtils.WaitTask(UpdatePasswordAsync(username, password));
 }
 public void Update(Owner owner, string username)
 {
     ClientUtils.WaitTask(UpdateAsync(owner, username));
 }
Пример #15
0
 public List <EventType> GetEventTypes()
 {
     return(ClientUtils.WaitTask(GetEventTypesAsync()));
 }
Пример #16
0
 /// <summary>
 /// Implements <see cref="Mnubo.SmartObjects.Client.IModelClient.Export" />
 /// </summary>
 public Model Export()
 {
     return(ClientUtils.WaitTask(ExportAsync()));
 }
Пример #17
0
 public List <ObjectType> GetObjectTypes()
 {
     return(ClientUtils.WaitTask(GetObjectTypesAsync()));
 }
Пример #18
0
 public void ApplyDeployCode(string key, string code)
 {
     ClientUtils.WaitTask(ApplyDeployCodeAsync(key, code));
 }
Пример #19
0
 public IEnumerable <EventResult> Send(IEnumerable <Event> events)
 {
     return(ClientUtils.WaitTask(SendAsync(events)));
 }
Пример #20
0
 public void Deploy(string key)
 {
     ClientUtils.WaitTask(DeployAsync(key));
 }
Пример #21
0
 public IDictionary <string, bool> EventsExist(IList <Guid> eventIds)
 {
     return(ClientUtils.WaitTask <IDictionary <string, bool> >(EventsExistAsync(eventIds)));
 }
Пример #22
0
 public void Update(string key, UpdateEntity update)
 {
     ClientUtils.WaitTask(UpdateAsync(key, update));
 }
 public void Delete(string deviceId)
 {
     ClientUtils.WaitTask(DeleteAsync(deviceId));
 }
Пример #24
0
 public string GenerateResetCode()
 {
     return(ClientUtils.WaitTask(GenerateResetCodeAsync()));
 }
 public IEnumerable <Result> CreateUpdate(IEnumerable <SmartObject> objects)
 {
     return(ClientUtils.WaitTask <IEnumerable <Result> >(CreateUpdateAsync(objects)));
 }
Пример #26
0
 public void ApplyResetCode(string code)
 {
     ClientUtils.WaitTask(ApplyResetCodeAsync(code));
 }
 public IDictionary <string, bool> ObjectsExist(IList <string> deviceIds)
 {
     return(ClientUtils.WaitTask <IDictionary <string, bool> >(ObjectsExistAsync(deviceIds)));
 }
Пример #28
0
 public void Reset()
 {
     ClientUtils.WaitTask(ResetAsync());
 }
 public ResultSet Search(string query)
 {
     return(ClientUtils.WaitTask <ResultSet>(SearchAsync(query)));
 }
 public void Create(Owner owner)
 {
     ClientUtils.WaitTask(CreateAsync(owner));
 }