예제 #1
0
 public void AddShift(Shift shift)
 {
     shifts.Add(shift);
 }
예제 #2
0
 void ReadTechDescriptionFromTechnologySection(XPathNavigator currentTechnologyNode, Shift shift)
 {
     shift.MachiningTime += ParceTechDescription(currentTechnologyNode.GetAttribute("MachiningTime", ""));
     shift.AuxiliaryTime += ParceTechDescription(currentTechnologyNode.GetAttribute("RapidTime", "")) +
                            ParceTechDescription(currentTechnologyNode.GetAttribute("IdlingTime", "")) +
                            ParceTechDescription(currentTechnologyNode.GetAttribute("AuxiliaryTime", ""));
     shift.ToolPath += ParceTechDescription(currentTechnologyNode.GetAttribute("ToolpathLength", ""));
 }