- Timestamp:
- 04/15/08 16:41:18 (16 years ago)
- Location:
- branches/XmlReaderWriterBranch
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/XmlReaderWriterBranch/HeuristicLab.Scheduling.JSSP/ScheduleTree.cs
r119 r125 218 218 } 219 219 220 public override void Populate(XmlNode node, IDictionary<Guid,IStorable> restoredObjects) { 221 base.Populate(node, restoredObjects); 222 string[] tokens = node.InnerText.Split(';'); 220 //public override void Populate(XmlNode node, IDictionary<Guid, IStorable> restoredObjects) { 221 // base.Populate(node, restoredObjects); 222 // string[] tokens = node.InnerText.Split(';'); 223 // for(int i = 0; i < tokens.Length - 1; i++) { 224 // TimeSlot t = new TimeSlot(tokens[i]); 225 // if(t.job > -1) { 226 // this.InsertOperation(t); 227 // } 228 // } 229 //} 230 public override void Populate(XmlReader reader, IDictionary<Guid, IStorable> restoredObjects) { 231 base.Populate(reader, restoredObjects); 232 string[] tokens = reader.ReadString().Split(';'); 223 233 for(int i = 0; i < tokens.Length - 1; i++) { 224 234 TimeSlot t = new TimeSlot(tokens[i]);
Note: See TracChangeset
for help on using the changeset viewer.