Exemple #1
0
        public override void GetAttr(FLOObj O)
        {
            FLOO2C o = (FLOO2C)O;

            if (this.cb_effresource.SelectedItem != null)
            {
                o.O2C_effresource = this.cb_effresource.SelectedItem.ToString();
            }
        }
Exemple #2
0
        public override void SetAttr(FLOObj O)
        {
            FLOO2C o = (FLOO2C)O;

            this.tb_operationpre.Text   = o.UPlist(0).Ope_operationpre;
            this.tb_operation.Text      = o.UPlist(0).Ope_operation;
            this.tb_operationsite.Text  = o.UPlist(0).Ope_operationsite;
            this.nud_operationseq.Value = o.UPlist(0).Ope_operationseq;

            this.tb_routingpre.Text = o.UPlist(0).Ope_routingpre;
            this.tb_routing.Text    = o.UPlist(0).Ope_routing;

            this.tb_calendarpre.Text = o.DNlist(0).Cal_calendarpre;
            this.tb_calendar.Text    = o.DNlist(0).Cal_calendar;

            this.tb_caltype.Text             = o.DNlist(0).Cal_caltype.ToString();
            this.cb_effresource.SelectedItem = o.O2C_effresource;

            this.cal_prodqty = (int)((FLOCal.Cal_Detail)o.DNlist(0).Cal_details[0]).cal_qtyper;
        }