コード例 #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_medicationpromptgetfilterdata"))
         {
             return;
         }
         br_medicationpromptgetfilterdata worker = new br_medicationpromptgetfilterdata(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_medicationpromptgetfilterdata objbr_medicationpromptgetfilterdata;

            objbr_medicationpromptgetfilterdata                       = new br_medicationpromptgetfilterdata();
            objbr_medicationpromptgetfilterdata.AV15DDOName           = aP0_DDOName;
            objbr_medicationpromptgetfilterdata.AV13SearchTxt         = aP1_SearchTxt;
            objbr_medicationpromptgetfilterdata.AV14SearchTxtTo       = aP2_SearchTxtTo;
            objbr_medicationpromptgetfilterdata.AV19OptionsJson       = "";
            objbr_medicationpromptgetfilterdata.AV22OptionsDescJson   = "";
            objbr_medicationpromptgetfilterdata.AV24OptionIndexesJson = "";
            objbr_medicationpromptgetfilterdata.context.SetSubmitInitialConfig(context);
            objbr_medicationpromptgetfilterdata.initialize();
            ThreadPool.QueueUserWorkItem(PropagateCulture(new WaitCallback(executePrivateCatch)), objbr_medicationpromptgetfilterdata);
            aP3_OptionsJson       = this.AV19OptionsJson;
            aP4_OptionsDescJson   = this.AV22OptionsDescJson;
            aP5_OptionIndexesJson = this.AV24OptionIndexesJson;
        }