- Timestamp:
- 12/18/14 11:09:56 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
DCWoRMS/branches/coolemall/src/schedframe/resources/computing/description/ComputingResourceDescription.java
r1423 r1453 66 66 this.devices = new ArrayList<Device>(); 67 67 for(int i = 0; i < dev.length; i++){ 68 Device device = DeviceFactory.createDevice(new DeviceDescription(dev[i])); 69 this.devices.add(device); 68 long devCount = dev[i].getCount() > 1 ? dev[i].getCount() : 1; 69 for(int j = 0; j < devCount; j++){ 70 Device device = DeviceFactory.createDevice(new DeviceDescription(dev[i])); 71 this.devices.add(device); 72 } 70 73 } 71 74 }
Note: See TracChangeset
for help on using the changeset viewer.