import org.lsst.ccs.description.groovy.CCSBuilder;
import org.lsst.ccs.subsystem.demo.main.DemoConfigurable;
import org.lsst.ccs.subsystem.demo.main.DemoSubsystem;

def device = new org.lsst.ccs.drivers.demo.DemoDriver()

CCSBuilder builder = ["DemoConfigurableSubsystem"]

builder.
    "main" (DemoSubsystem) {
        "subA" (DemoConfigurable, info:'A',doubleValue:1.23,
        currentParms:[continuousLimit:2360, outputLimit:4720, maxSpeed:25],
        min:0, max:450 ) {
        
            "subAA"(DemoConfigurable, info:'AA', doubleValue:2.34,
            currentParms:[continuousLimit:2360, outputLimit:4720, maxSpeed:25],
            min:0, max:450 )
        
            "subAB"(DemoConfigurable, info:'AB', doubleValue:3.45,
            currentParms:[continuousLimit:2360, outputLimit:4720, maxSpeed:25],
            min:0, max:450 )
    } 
}

