예제 #1
0
        protected override Response AsyncTask(Command command)
        {
            bool result;

            TBWriter.Spaced(TBWriter.time() + "    ===>>>   COMMAND RECEIVED : " + command.CommandName + " ; Params{" + command.Parameters + "}");


            result = taskPlanner.Cmd_TakeTray(double.Parse(command.Parameters));

            TBWriter.Spaced(TBWriter.time() + "    <<<===   COMMAND TERMINATED : " + command.CommandName + " ; Result{" + result + "} Params{" + command.Parameters + "}");
            return(Response.CreateFromCommand(command, result));
        }