pub fn electrical_component(input: &str) -> IResult<&str, ElectricalComponent>Expand description
Parses an electrical component from the input string. http://www.aertia.com/docs/priware/IDF_V30_Spec.pdf#page=31
ยงExample
use idf_parser::components::electrical_component;
let input = ".ELECTRICAL
cs13_a pn-cap THOU 150.0
0 -55.0 55.0 0.0
.END_ELECTRICAL";
let (remaining, component) = electrical_component(input).unwrap();
assert_eq!(component.geometry_name, "cs13_a");