protected RoleMbedSoftUps() { SetName(RoleName); _instance = this; { List<VParamType> args = new List<VParamType>() { new ParamType(0) }; List<VParamType> retVals = new List<VParamType>() { new ParamType(0) }; AddOperation(new Operation(OpOnSwitch, args, retVals)); } { List<VParamType> args = new List<VParamType>() { new ParamType(0) }; List<VParamType> retVals = new List<VParamType>() { new ParamType(0) }; AddOperation(new Operation(OpOffSwitch, args, retVals)); } { List<VParamType> args = new List<VParamType>() { new ParamType(0) }; List<VParamType> retVals = new List<VParamType>() { new ParamType(0) }; AddOperation(new Operation(OpGetDeviceNum, args, retVals)); } }
protected RoleMbedSoftUps() { SetName(RoleName); _instance = this; { List <VParamType> args = new List <VParamType>() { new ParamType(0) }; List <VParamType> retVals = new List <VParamType>() { new ParamType(0) }; AddOperation(new Operation(OpOnSwitch, args, retVals)); } { List <VParamType> args = new List <VParamType>() { new ParamType(0) }; List <VParamType> retVals = new List <VParamType>() { new ParamType(0) }; AddOperation(new Operation(OpOffSwitch, args, retVals)); } { List <VParamType> args = new List <VParamType>() { new ParamType(0) }; List <VParamType> retVals = new List <VParamType>() { new ParamType(0) }; AddOperation(new Operation(OpGetDeviceNum, args, retVals)); } }