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

            return(PythonConvert.ToPython(_componentRegistryService.GetComponentStatus(componentUid, statusUid)));
        }
Esempio n. 2
0
 public object get_status(string status_uid, object default_value = null)
 {
     return(PythonConvert.ToPython(_componentRegistryService.GetComponentStatus(_componentUid, status_uid, default_value)));
 }