|
UniSet 2.45.1
|
Открытые члены | |
| test_output_scale_emits_multiplication (self) | |
| test_output_scale_at_bottom_of_on_step (self) | |
| test_output_scale_body_uses_st_name (self) | |
| test_no_scale_no_multiplication (self) | |
| test_multiple_output_scales (self) | |
Test scale factor on REAL output: multiplication at bottom of uniset_on_step.
| tests.test_codegen_scale.TestScaleFactorOutput.test_multiple_output_scales | ( | self | ) |
Multiple outputs with scale factors generate multiple output lines.
| tests.test_codegen_scale.TestScaleFactorOutput.test_no_scale_no_multiplication | ( | self | ) |
Output without scale factor should not emit Math.round line.
| tests.test_codegen_scale.TestScaleFactorOutput.test_output_scale_at_bottom_of_on_step | ( | self | ) |
Scale factor output should be at the bottom of uniset_on_step.
| tests.test_codegen_scale.TestScaleFactorOutput.test_output_scale_body_uses_st_name | ( | self | ) |
Body assignments should target the ST variable name.
| tests.test_codegen_scale.TestScaleFactorOutput.test_output_scale_emits_multiplication | ( | self | ) |
REAL output with scale: 100 -> out_SensorName = Math.round(varName * 100);