Esempio n. 1
0
        /*--------------------------------------------------------------------------------------------*/
        private void OnCmd(RequestCmd pCmd)
        {
            vLatestCmd = pCmd;

            if (vSetCmdIds)
            {
                vLatestCmd.CmdId = vCmdIndex + "";
            }

            if (vOmitCmdTimers)
            {
                vLatestCmd.EnableOption(RequestCmd.Option.OmitTimer);
            }

            vCmdIndex++;

            //Log.Debug(vApiCtx.ContextId, "CMD", vLatestCmd.CmdId+": "+vLatestCmd.Cmd+" => "+
            //	string.Join(" // ", vLatestCmd.Args));
        }
Esempio n. 2
0
 /*--------------------------------------------------------------------------------------------*/
 public void OmitResultsOfLatestCommand()
 {
     vLatestCmd.EnableOption(RequestCmd.Option.OmitResults);
 }