private Boolean setSwitch()
		{
			/**
			 * 如果是判断节点，则根据条件设置Switch的值
			 */

			// 测试版本
			if ( this.NodeStyle == IFNODE || this.NodeStyle == WHILENODE )
			{
				if ( this.getCommandStyle( this.NodeData ) == this.SSH_COMMAND )
				{
					String conditionCommand = this.NodeData
							+ " &>/dev/null;echo $?";
					String sshOutput = null;
					if ( hostNode != null )
					{
						sshOutput = hostNode.getSSHOutput( conditionCommand );
					}
					else
					{
						isTestReady = false;
						RTTestLog.logToConsole( "host ssh channel not open.\n",
								LogCollector.ERROR );
						return false;
					}
					String outputList[] = sshOutput.split( "\n" );
					System.out.print( sshOutput );
					if ( outputList.length != 2 )
					{
						RTTestLog.logToConsole( "set Switch failed.",
								LogCollector.ERROR );
						isTestReady = false;
						return false;
					}
					else
					{
						if ( outputList[ 1 ].startsWith( "0" ) ) // 判断返回值是不是0
						{
							this.Switch = true;
							return true;
						}
						else
						{
							this.Switch = false;
							return true;
						}
					}
				}
				if ( this.getCommandStyle( this.NodeData ) == this.JAVA_COMMAND )
				{
					// TODO:
					return true;
				}

				return false;// 不支持其他命令格式
			}
			else
			{
				RTTestLog.logToConsole(
						"Only IFNODE and WHILENODE has this interface.",
						LogCollector.ERROR );
				return false;
			}
		}