public void set_status(string componentUid, string statusUid, object value)
        {
            if (componentUid == null)
            {
                throw new ArgumentNullException(nameof(componentUid));
            }
            if (statusUid == null)
            {
                throw new ArgumentNullException(nameof(statusUid));
            }

            _componentRegistryService.SetComponentStatus(componentUid, statusUid, PythonConvert.FromPython(value));
        }
Esempio n. 2
0
 public void set_status(string status_uid, object value)
 {
     _componentRegistryService.SetComponentStatus(_componentUid, status_uid, PythonConvert.FromPython(value));
 }
 public void PostStatusValue(string componentUid, string statusUid, [FromBody] object value)
 {
     _componentRegistryService.SetComponentStatus(componentUid, statusUid, value);
 }