pressure_valve 
Vars | |
| frequency | Frequency for radio signaling |
|---|---|
| id | ID for radio signaling |
| is_gas_flowing | Check if the gas is moving from one pipenet to the other |
| radio_connection | Connection to the radio processing |
| regulate_mode | Which side is the valve regulating? |
| target_pressure | Amount of pressure needed before the valve for it to open |
Procs | |
| broadcast_status | Called in atmos_init(), send the component status to the radio device connected |
| set_frequency | Called in atmos_init(), used to change or remove the radio frequency from the component Arguments: |
Var Details
frequency 
Frequency for radio signaling
id 
ID for radio signaling
is_gas_flowing 
Check if the gas is moving from one pipenet to the other
radio_connection 
Connection to the radio processing
regulate_mode 
Which side is the valve regulating?
target_pressure 
Amount of pressure needed before the valve for it to open
Proc Details
broadcast_status
Called in atmos_init(), send the component status to the radio device connected
set_frequency
Called in atmos_init(), used to change or remove the radio frequency from the component Arguments:
- -new_frequency: the frequency that should be used for the radio to attach to the component, use 0 to remove the radio