2 using System.Collections.Generic;
\r
5 using com.andoutomo.kybernetes.control;
\r
8 namespace com.andoutomo.kybernetes.command.batch
\r
10 class batchCommand:AbCommand
\r
12 protected override bool execute()
\r
17 using (StreamReader sr = new StreamReader(
\r
18 "batch.kysh", Encoding.GetEncoding("Shift_JIS")))
\r
21 while ((strCmd = sr.ReadLine()) != null)
\r
23 form.addText(CmdDispatcher.getDispatcher(form).dispatch(strCmd));
\r
29 throw new KybernetesApplicationException(e);
\r
34 protected override string turnMessage()
\r
36 return "バッチ処理が完了しました。";
\r
39 protected override string turnErrorMessage()
\r
41 return base.DefaultErrorMessage;
\r
44 protected override string turnSplitErrorMessage()
\r
46 return base.DefaultSplitErrorMessage;
\r