/// <summary> /// 加载规则 /// </summary> public void LoadConditions() { btnLookUp.Visibility = Visibility.Collapsed; cboPostLevel.Visibility = Visibility.Collapsed; OrganizationCondition(); GetPostLevel(); dgCodition.ItemsSource = null; dgCodition.ItemsSource = _conditionList; cboOperate.SelectedIndex = 0; _xmlClient.GetSystemBOAttributeListAsync(_sysName, _objectName); }
/// <summary> /// 连线设置属性 /// </summary> public void LoadProperty() { cboField.ItemsSource = null; ConditionBind(_lineObject); UpdateLineObject(_lineObject); txtCompareValue.Text = ""; OrganizationCondition(); GetPostLevel(); if (cboField.ItemsSource == null && !string.IsNullOrWhiteSpace(_sysName) && !string.IsNullOrWhiteSpace(_objectName)) { xmlClient.GetSystemBOAttributeListAsync(_sysName, _objectName); } }