public InterferenceBuilder(Part part) { work = new WorkModel(); theUFSession = UFSession.GetUFSession(); work.GetModelForPart(part); string asm = work.MoldInfo.MoldNumber + "-" + work.MoldInfo.WorkpieceNumber; assemble = AssembleSingleton.Instance().GetAssemble(asm); eles = assemble.Electrodes.Where(a => a.WorkNumber == work.WorkNumber).ToList(); }
public AddWorkBuilder(Part asmPart) { this.asmPart = asmPart; singleton = AssembleSingleton.Instance(); this.Model = singleton.GetAssemble(asmPart); }