//--------------------------------------------------------------------------- // Execute public override void execute(CmdLineCmd aCmd) { // Read Members if (aCmd.isCmd("Code1")) { mCode1 = aCmd.argInt(1); } if (aCmd.isCmd("Code2")) { mCode2 = aCmd.argInt(1); } if (aCmd.isCmd("Code3")) { mCode3 = aCmd.argInt(1); } if (aCmd.isCmd("Code4")) { mCode4 = aCmd.argInt(1); } if (aCmd.isCmd("Command1")) { executeCommand1(aCmd); } if (aCmd.isComment()) { executeIsComment(aCmd); } }
//********************************************************************** public override void execute(CmdLineCmd aCmd) { if (aCmd.isCmd("READ")) { executeRead(aCmd); } if (aCmd.isCmd("GO1")) { executeGo1(aCmd); } if (aCmd.isCmd("GO2")) { executeGo2(aCmd); } if (aCmd.isCmd("GO3")) { executeGo3(aCmd); } if (aCmd.isCmd("GO4")) { executeGo4(aCmd); } if (aCmd.isCmd("GO5")) { executeGo5(aCmd); } if (aCmd.isComment()) { executeIsComment(aCmd); } }
//--------------------------------------------------------------------------- // Execute public override void execute(CmdLineCmd aCmd) { // Read Members if (aCmd.isCmd("WriteFilePathCSMessage")) { mInputData.mWriteFilePathCSMessage = aCmd.argString(1); } if (aCmd.isCmd("WriteFilePathCSBody")) { mInputData.mWriteFilePathCSBody = aCmd.argString(1); } if (aCmd.isCmd("WriteFilePathCH")) { mInputData.mWriteFilePathCH = aCmd.argString(1); } if (aCmd.isCmd("WriteFilePathCP")) { mInputData.mWriteFilePathCP = aCmd.argString(1); } if (aCmd.isCmd("Using")) { processUsing(aCmd); } if (aCmd.isCmd("Define_CH")) { processDefineCH(aCmd); } if (aCmd.isCmd("Include_CH")) { processIncludeCH(aCmd); } if (aCmd.isCmd("Include_CP")) { processIncludeCP(aCmd); } if (aCmd.isCmd("NameSpace")) { processNameSpace(aCmd); } if (aCmd.isCmd("Message")) { processBlock(Defs.cBlockT_Message, aCmd); } if (aCmd.isCmd("Record")) { processBlock(Defs.cBlockT_Record, aCmd); } if (aCmd.isCmd("{")) { processBegin(aCmd); } if (aCmd.isCmd("}")) { processEnd(aCmd); } if (aCmd.isCmd("const")) { processConst(aCmd); } if (aCmd.isCmd("uchar")) { processMember(Defs.cMemberT_UChar, aCmd); } if (aCmd.isCmd("ushort")) { processMember(Defs.cMemberT_UInt16, aCmd); } if (aCmd.isCmd("uint")) { processMember(Defs.cMemberT_UInt32, aCmd); } if (aCmd.isCmd("uint64")) { processMember(Defs.cMemberT_UInt64, aCmd); } if (aCmd.isCmd("char")) { processMember(Defs.cMemberT_Char, aCmd); } if (aCmd.isCmd("short")) { processMember(Defs.cMemberT_Int16, aCmd); } if (aCmd.isCmd("int")) { processMember(Defs.cMemberT_Int32, aCmd); } if (aCmd.isCmd("int64")) { processMember(Defs.cMemberT_Int64, aCmd); } if (aCmd.isCmd("bool")) { processMember(Defs.cMemberT_Bool, aCmd); } if (aCmd.isCmd("float")) { processMember(Defs.cMemberT_Float, aCmd); } if (aCmd.isCmd("double")) { processMember(Defs.cMemberT_Double, aCmd); } if (aCmd.isCmd("string")) { processString(aCmd); } if (aCmd.isComment()) { processPreComment(aCmd); } if (aCmd.isBadCmd() && mBlockValid) { processRecord(aCmd); } }