예제 #1
0
        public T GetConfig <T>() where T : SLSConfigData
        {
            WLEDConfigModel data  = this.configModel;
            SLSConfigData   proxy = data;

            return((T)proxy);
        }
예제 #2
0
 public void PutConfig <T>(T config) where T : SLSConfigData
 {
     ConvertControllersToDevices();
     this.configModel = config as WLEDConfigModel;
 }