Update project structure and configurations
This commit is contained in:
@@ -631,6 +631,17 @@ impl Component for Pump<Connected> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fn signature(&self) -> String {
|
||||
format!("Pump(circuit={})", self.circuit_id.0)
|
||||
}
|
||||
|
||||
fn to_params(&self) -> crate::ComponentParams {
|
||||
crate::ComponentParams::new("Pump")
|
||||
.with_param("circuitId", self.circuit_id.0)
|
||||
.with_param("fluidDensityKgPerM3", self.fluid_density_kg_per_m3)
|
||||
.with_param("speedRatio", self.speed_ratio)
|
||||
}
|
||||
}
|
||||
|
||||
impl StateManageable for Pump<Connected> {
|
||||
|
||||
Reference in New Issue
Block a user