private void xbtnSave_Click(object sender, RoutedEventArgs e)
        {
            List <EmeClearState> statelist = new List <EmeClearState>();

            foreach (string guid in SaveStateDic.Keys)
            {
                EmeClearState cs = new EmeClearState();

                cs.Name  = guid;
                cs.Value = SaveStateDic[guid];

                statelist.Add(cs);
            }

            bool isSuccessfule = false;

            PT_BS_Service.Client.Framework.BeOperationInvoker.Invoke <I_CO_IA.FreqPlan.I_CO_IA_FreqPlan>(channel =>
            {
                isSuccessfule = channel.UpdateEmeClearStateInfoList(statelist);
            });

            condition           = new EmeClearQueryCondition();
            condition.PlaceGuid = activityPlaceInfo.Guid;
            condition.NeedClear = "1";
            PT_BS_Service.Client.Framework.BeOperationInvoker.Invoke <I_CO_IA.FreqPlan.I_CO_IA_FreqPlan>(channel =>
            {
                EmeClearInfoList = channel.GetEmeClearHandleInfoList(condition);
            });

            MessageBox.Show("保存完毕!");
        }
Beispiel #2
0
        private void GetEmeClearInfos()
        {
            EmeClearQueryCondition queryCondition = new EmeClearQueryCondition();

            queryCondition.PlaceGuid = this.PlaceGuid;
            PT_BS_Service.Client.Framework.BeOperationInvoker.Invoke <I_CO_IA.FreqPlan.I_CO_IA_FreqPlan>(channel =>
            {
                emeClearInfoList = channel.GetEmeClearHandleInfoList(queryCondition);
            });
        }