private void xEquQuery_Click(object sender, RoutedEventArgs e) { QueryEquipListDialog dialog = new QueryEquipListDialog(); dialog.ShowDialog(this); if (dialog.IsSuccuessFull == true) { EquipmentQueryCondition backcondition = dialog.Condition; EquipmentCheckQueryCondition equchkCondition = new EquipmentCheckQueryCondition(); //equchkCondition.ActivityGuid = CO_IA.Client.RiasPortal.ModuleContainer.Activity.Guid; equchkCondition.PlaceGuid = this.PlaceGuid; equchkCondition.ORGguid = backcondition.ORGguid; equchkCondition.ORGName = backcondition.ORGName; equchkCondition.EuqName = backcondition.EuqName; equchkCondition.SendFreqLittle = backcondition.SendFreqLittle; equchkCondition.SendFreqGreat = backcondition.SendFreqGreat; equchkCondition.BandLittle = dialog.Condition.SendCondition.BandLitte; equchkCondition.BandGreat = dialog.Condition.SendCondition.BandGreat; equchkCondition.CheckState = CheckStateEnum.Qualified; condition = equchkCondition; } GetQualifiedEquipment(); }
/// <summary> /// 查询事件 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void xEquQuery_Click(object sender, RoutedEventArgs e) { QueryEquipListDialog dialog = new QueryEquipListDialog(); dialog.ShowDialog(this); if (dialog.IsSuccuessFull == true) { dialog.Condition.ActivityGuid = Client.RiasPortal.ModuleContainer.Activity.Guid; dialog.Condition.PlaceGuid = this.PlaceGuid; querycondition = dialog.Condition; GetEquipmentInfos(); } }