Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string sId;
- foreach(sId, root.Devices().EnumUsedIDs()) {
- var oDevice = dom.GetObject(sId);
- if (!oDevice.ReadyConfig()) {
- string channelId;
- foreach(channelId, oDevice.Channels()) {
- WriteLine("Dev "#sId#" Chan "#channelId);
- var channel = dom.GetObject(channelId);
- channel.ReadyConfig(true);
- }
- oDevice.ReadyConfigChns(true);
- oDevice.ReadyConfig(true, false);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement