示例#1
0
        public void NavOnLoad(params object[] parsObjects)
        {
            isViewActive = true;


            AreaName.Clear();
            getAreaRId();
            if (AreaName.Count > 0)
            {
                AreaComboBoxSelected = AreaName.First();
            }
            if (AreaName.Count > 1)
            {
                Visi = Visibility.Visible;
            }
            else
            {
                Visi = Visibility.Collapsed;
            }

            IsEnableFirst = CurRuleItem != null;

            Remark = "操作步骤:1、规则调整,2、增加或选中方案,3、方案基本信息,4、选择终端,5、设定请求数据的时间,6、请求并计算上下限,7、保存";
        }
示例#2
0
 public void NavOnLoad(params object[] parsObjects)
 {
     deleteing = true;
     RequestInfo();
     GetAreaRId();
     if (AreaName.Count > 0)
     {
         if (parsObjects.Count() > 2)
         {
             var areaid = (int)parsObjects[0];
             foreach (var t in AreaName)
             {
                 if (t.Key == areaid)
                 {
                     AreaComboBoxSelected = t;
                 }
             }
         }
         if (AreaComboBoxSelected == null)
         {
             AreaComboBoxSelected = AreaName.First();
         }
     }
 }