Ejemplo n.º 1
0
 /// <summary>
 /// このクラスでの実行すること。
 /// </summary>
 /// <param name="runChildren"></param>
 public override void Run(bool runChildren)
 {
     if (string.IsNullOrEmpty(Key))
     {
         ReportManage.ErrReport(this, "GetTempVarのKeyが空です。");
     }
     else
     {
         this.SetText(TempVar.GetVar(Key));
     }
     base.Run(runChildren);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// このクラスでの実行すること。
 /// </summary>
 /// <param name="runChildren"></param>
 public override void Run(bool runChildren)
 {
     if (string.IsNullOrEmpty(Key))
     {
         ReportManage.ErrReport(this, "GetTempVarのKeyが空です。");
     }
     else
     {
         var d = TempVar.GetVar(Key).Split(',');
         if (d.Length > Num && Num > -1)
         {
             this.SetText(d.ElementAt(Num));
         }
         else
         {
             ReportManage.ErrReport(this, "GetTempVarのNumが範囲外です。");
         }
     }
     base.Run(runChildren);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// このクラスでの実行すること。
 /// </summary>
 /// <param name="runChildren"></param>
 public override void Run(bool runChildren)
 {
     if (string.IsNullOrEmpty(Key))
     {
         ReportManage.ErrReport(this, "SetTempVarのKeyが空です。");
     }
     else
     {
         if (string.IsNullOrEmpty(Value))
         {
             TempVar.SetVar(Key, GetText());
             this.SetText(GetText());
         }
         else
         {
             TempVar.SetVar(Key, Value);
             this.SetText(Value);
         }
     }
     base.Run(runChildren);
 }