{\r
if ( _ePad[ i ] != stct[ j ].ePad )\r
{\r
-Debug.WriteLine( "CMD解析: false targetCount=" + targetCount + ", i=" + i + ", j=" + j + ": ePad[]=" + _ePad[i] + ", stci[j] = " + stct[j].ePad );\r
+//Debug.WriteLine( "CMD解析: false targetCount=" + targetCount + ", i=" + i + ", j=" + j + ": ePad[]=" + _ePad[i] + ", stci[j] = " + stct[j].ePad );\r
return false;\r
}\r
if ( stct[ j ].eInst != _eInst )\r
{\r
-Debug.WriteLine( "CMD解析: false " + i );\r
+//Debug.WriteLine( "CMD解析: false " + i );\r
return false;\r
}\r
if ( curTime - stct[ j ].time > 500 )\r
{\r
-Debug.WriteLine( "CMD解析: false " + i + "; over 500ms" );\r
+//Debug.WriteLine( "CMD解析: false " + i + "; over 500ms" );\r
return false;\r
}\r
curTime = stct[ j ].time;\r
}\r
\r
-Debug.Write( "CMD解析: 成功!(" + _ePad.Length + ") " );\r
-for ( int i = 0; i < _ePad.Length; i++ ) Debug.Write( _ePad[ i ] + ", " );\r
-Debug.WriteLine( "" );\r
- stct.RemoveRange( 0, targetCount );\r
+//Debug.Write( "CMD解析: 成功!(" + _ePad.Length + ") " );\r
+//for ( int i = 0; i < _ePad.Length; i++ ) Debug.Write( _ePad[ i ] + ", " );\r
+//Debug.WriteLine( "" );\r
+ //stct.RemoveRange( 0, targetCount ); // #24396 2011.2.13 yyagi \r
+ stct.Clear(); // #24396 2011.2.13 yyagi Clear all command input history in case you succeeded inputting some command\r
\r
return true;\r
}\r