diff --git a/src/Network/props.cxx b/src/Network/props.cxx index 7268f6f63..da99da9c9 100644 --- a/src/Network/props.cxx +++ b/src/Network/props.cxx @@ -332,9 +332,17 @@ PropsChannel::foundTerminator() = args.getNode("subsystem", i-2, true); node->setStringValue( tokens[i].c_str() ); } + } else if ( tokens[1] == "set-outside-air-temp-degc" ) { + for ( unsigned int i = 2; i < tokens.size(); ++i ) { + cout << "props: set-oat command = " << tokens[i] + << endl; + SGPropertyNode *node + = args.getNode("temp-degc", i-2, true); + node->setStringValue( tokens[i].c_str() ); + } } else if ( tokens[1] == "timeofday" ) { for ( unsigned int i = 2; i < tokens.size(); ++i ) { - cout << "props: adding subsystem = " << tokens[i] + cout << "props: time of day command = " << tokens[i] << endl; SGPropertyNode *node = args.getNode("timeofday", i-2, true);