/// <summary>
 /// 数据初始化(填写表名、绑定控制、初始化界面属性等)
 /// </summary>
 public override void IniData()
 {
     this.HTDataTableName = "WH_StorgeAlarm";
     this.HTDataList      = gridView1;
     Common.BindAllWH(drpQWH, true);
     btnQuery_Click(null, null);
     if (StorgeAlarmStatusProc.ColorIniFlag)
     {
         StorgeAlarmStatusProc.ColorIniTextBox(new TextBox[] { txtColorStatus1, txtColorStatus2, txtColorStatus3 });
     }
 }
 private void gridView1_RowCellStyle(object sender, DevExpress.XtraGrid.Views.Grid.RowCellStyleEventArgs e)
 {
     try
     {
         if (e.Column.FieldName == "Status")
         {
             e.Appearance.BackColor = StorgeAlarmStatusProc.GetGridRowBackColor(SysConvert.ToString(gridView1.GetRowCellValue(e.RowHandle, "Status")));
         }
     }
     catch (Exception E)
     {
         this.ShowMessage(E.Message);
     }
 }