Exemplo n.º 1
0
        public void RefreshBypldh(ZSL_BCT304_LOT list)
        {
            ZSL_BCT304_CT model = new ZSL_BCT304_CT();

            model.SBBH = Sbbh;
            model.PLDH = list.PLDH;
            model.PFDH = list.PFDH;
            ZBCFUN_ZJLOT_PRT res = ServicModel.SY_PFDH.GET_ZJINFO_BYPLDH(model, getToken());

            Configui(res);
        }
Exemplo n.º 2
0
 public frmZJ_CC(MES_SY_GZZX_SBH[] model, Rigth_Type rtype)
 {
     InitializeComponent();
     Currpldh  = new ZSL_BCT304_LOT();
     Shblist   = model;
     RigthType = rtype;
     //int margin = 15;
     //int h = 21;
     for (int i = 0; i < Shblist.Length; i++)
     {
         Button btn = new Button();
         this.factory.configButton(btn, new Size(60, 60), new Point(20 + rect.Width / 12 * (i % 12), 165 + i / 12 * 75), Shblist[i].SBMS, Shblist[i].SBBH);
         //btn.Tag = (i + 1) * 10;
         //btn.UseVisualStyleBackColor = true;
         btn.Click += new System.EventHandler(this.btn_Click);
         this.Controls.Add(btn);
         if (i == Shblist.Length - 1)
         {
             btn_Click(btn, new EventArgs());
         }
     }
     dybutton.Select();
 }
Exemplo n.º 3
0
 public void BlockLOTlIST(ZSL_BCT304_LOT list)
 {
     Currpldh = list;
     RefreshBypldh(Currpldh);
 }