| | |
| | | public const Int16 HProcCheckNoteCol = 62; |
| | | public const Int16 HProcWorkNumCol = 63; |
| | | public const Int16 HWorkTimes_SCol = 64; |
| | | public const Int16 HSNCtrlCol = 65; |
| | | |
| | | // |
| | | public string ModName = "3301"; |
| | |
| | | grdMain.Rows[i].Cells[HSumPassRateCol].Value = oSub.HSumPassRate.ToString(); |
| | | grdMain.Rows[i].Cells[HOverRateCol].Value = oSub.HOverRate.ToString(); |
| | | grdMain.Rows[i].Cells[HWorkTimes_SCol].Value = oSub.HWorkTimes_S.ToString(); |
| | | grdMain.Rows[i].Cells[HSNCtrlCol].Value = DBUtility.ClsPub.isBool(oSub.HSNCtrl); |
| | | //ä¸éæµè½¬å·¥åº |
| | | grdMain.Rows[i].Cells[HNextProcFlagCol].Value = DBUtility.ClsPub.isBool(oSub.HNextProcFlag); |
| | | grdMain.Rows[i].Cells[HFlowProcCol].Value = DBUtility.ClsPub.isBool(oSub.HFlowProc); |
| | |
| | | oSub.HAutoTrunFlag = DBUtility.ClsPub.isBool(grdMain.Rows[i].Cells[HAutoTrunFlagCol].Value); |
| | | oSub.HProcType = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HProcTypeCol].Value); |
| | | oSub.HWorkTimes_S = DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells[HWorkTimes_SCol].Value); |
| | | oSub.HSNCtrl = DBUtility.ClsPub.isBool(grdMain.Rows[i].Cells[HSNCtrlCol].Value); |
| | | |
| | | oSub.HProcWorkNum = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HProcWorkNumCol].Value); |
| | | if (DBUtility.ClsPub.isSingle(grdMain.Rows[i].Cells[HPassRateCol].Value) > 0) |
| | |
| | | private void initGrid() |
| | | { |
| | | // |
| | | grdMain.ColumnCount = 65; //æ»åæ° |
| | | grdMain.ColumnCount = 66; //æ»åæ° |
| | | DBUtility.Xt_BaseBillFun.initGridFst(grdMain, this.Name); |
| | | // |
| | | grdMain.RowsDefaultCellStyle.WrapMode = DataGridViewTriState.True; |
| | |
| | | grdMain.Columns[HFlowProcCol].HeaderText = "æµè½¬å·¥åº"; |
| | | grdMain.Columns[HOverRateCol].HeaderText = "è¶
颿¯ä¾"; |
| | | grdMain.Columns[HWorkTimes_SCol].HeaderText = "产ååä»¶å·¥æ¶"; |
| | | grdMain.Columns[HSNCtrlCol].HeaderText = "SNç è¿ç«"; |
| | | ////åºå®èµå¼===================================================== |
| | | grdMain.Columns[HSnoCol].HeaderText = "åºå·"; |
| | | grdMain.Columns[HRemarkCol].HeaderText = "夿³¨"; |
| | |
| | | "," + HPicNumCol.ToString() + |
| | | "," + HProcCheckNoteCol.ToString() + |
| | | "," + HWorkTimes_SCol.ToString() + |
| | | "," + HSNCtrlCol.ToString() + |
| | | "," + HOverRateCol.ToString(); |
| | | //设置å计å |
| | | string sTotalCol = HTimeUnitCol.ToString(); |
| | |
| | | oCell5.Value = 0; |
| | | oCell5.Style.Alignment = DataGridViewContentAlignment.MiddleCenter; |
| | | grdMain.Rows[i].Cells[HFlowProcCol] = oCell5; |
| | | //SNç è¿ç« |
| | | DataGridViewCheckBoxCell oCell6 = new DataGridViewCheckBoxCell(); |
| | | oCell6.ThreeState = false; |
| | | oCell6.Value = 0; |
| | | oCell6.Style.Alignment = DataGridViewContentAlignment.MiddleCenter; |
| | | grdMain.Rows[i].Cells[HSNCtrlCol] = oCell6; |
| | | // |
| | | DataGridViewComboBoxCell column = new DataGridViewComboBoxCell(); |
| | | column.Items.Add(" "); |