a <rating-amps> tag which also implies that the switch is a circuit breaker.
Eventually we could have code that will automatically trip the breaker if
the current exceeds the rating.
initial_state = false;
}
// cout << "initial state = " << initial_state << endl;
+ } else if ( cname == "rating-amps" ) {
+ rating_amps = atof( cval.c_str() );
+ circuit_breaker = true;
+ // cout << "initial state = " << initial_state << endl;
}
}