public CreateElectrodeBuilder(CreateConditionModel model)
 {
     this.model = model;
     head       = new ElectrodeHeadInfo(model);
     preveiw    = new ElectrodePreveiw(head);
     setValue   = ElectrodeSetValueFactory.Create(head, model.VecName);
 }
 public EleStandardSeatForm(CreateConditionModel model)
 {
     InitializeComponent();
     this.model = model;
     builde     = new CreateElectrodeBuilder(model);
     InitializeForm();
 }
        public EleStandardSeatCreateForm(string vec)
        {
            theUFSession = UFSession.GetUFSession();
            workPart     = Session.GetSession().Parts.Work;
            MoldInfoModel moldInfo = new MoldInfoModel(workPart);
            string        name     = moldInfo.MoldNumber + "-" + moldInfo.WorkpieceNumber;

            model          = new CreateConditionModel();
            model.Assemble = AssembleSingleton.Instance().GetAssemble(name);
            model.VecName  = vec.ToUpper();
        }
 public ElectrodeHeadInfo(CreateConditionModel model)
 {
     this.conditionModel = model;
     GetHeadAttr();
 }