예제 #1
0
 public void execute(String DDOName,
                     String SearchTxt,
                     String SearchTxtTo,
                     out String OptionsJson,
                     out String OptionsDescJson,
                     out String OptionIndexesJson)
 {
     OptionsJson       = "";
     OptionsDescJson   = "";
     OptionIndexesJson = "";
     try
     {
         if (!ProcessHeaders("br_encountertabgetfilterdata"))
         {
             return;
         }
         br_encountertabgetfilterdata worker = new br_encountertabgetfilterdata(context);
         worker.IsMain = RunAsMain;
         worker.execute(DDOName, SearchTxt, SearchTxtTo, out OptionsJson, out OptionsDescJson, out OptionIndexesJson);
         worker.cleanup( );
     }
     catch (Exception e)
     {
         WebException(e);
     }
     finally
     {
         Cleanup();
     }
 }
예제 #2
0
        public void executeSubmit(String aP0_DDOName,
                                  String aP1_SearchTxt,
                                  String aP2_SearchTxtTo,
                                  out String aP3_OptionsJson,
                                  out String aP4_OptionsDescJson,
                                  out String aP5_OptionIndexesJson)
        {
            br_encountertabgetfilterdata objbr_encountertabgetfilterdata;

            objbr_encountertabgetfilterdata                       = new br_encountertabgetfilterdata();
            objbr_encountertabgetfilterdata.AV17DDOName           = aP0_DDOName;
            objbr_encountertabgetfilterdata.AV15SearchTxt         = aP1_SearchTxt;
            objbr_encountertabgetfilterdata.AV16SearchTxtTo       = aP2_SearchTxtTo;
            objbr_encountertabgetfilterdata.AV21OptionsJson       = "";
            objbr_encountertabgetfilterdata.AV24OptionsDescJson   = "";
            objbr_encountertabgetfilterdata.AV26OptionIndexesJson = "";
            objbr_encountertabgetfilterdata.context.SetSubmitInitialConfig(context);
            objbr_encountertabgetfilterdata.initialize();
            ThreadPool.QueueUserWorkItem(PropagateCulture(new WaitCallback(executePrivateCatch)), objbr_encountertabgetfilterdata);
            aP3_OptionsJson       = this.AV21OptionsJson;
            aP4_OptionsDescJson   = this.AV24OptionsDescJson;
            aP5_OptionIndexesJson = this.AV26OptionIndexesJson;
        }