Water control
/
Water_pump
start
salinity.h@1:924bead61d21, 2017-06-27 (annotated)
- Committer:
- BillyGrande
- Date:
- Tue Jun 27 20:54:33 2017 +0000
- Revision:
- 1:924bead61d21
start
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
BillyGrande | 1:924bead61d21 | 1 | #ifndef SALINITY |
BillyGrande | 1:924bead61d21 | 2 | #define SALINITY |
BillyGrande | 1:924bead61d21 | 3 | |
BillyGrande | 1:924bead61d21 | 4 | //Salinity constants |
BillyGrande | 1:924bead61d21 | 5 | #define TS 116 //Tank Salinity = 2 mol = 116 ppt |
BillyGrande | 1:924bead61d21 | 6 | #define DS 20 //Desired salinity = 20 ppt |
BillyGrande | 1:924bead61d21 | 7 | #define SSLL 19 //Salinity safe lower limit |
BillyGrande | 1:924bead61d21 | 8 | #define SSUL 22 //Salinity safe upper limit |
BillyGrande | 1:924bead61d21 | 9 | #define SSOOW -4 //Salinity safe lower limit |
BillyGrande | 1:924bead61d21 | 10 | #define SCLLL 1 //Saliniy Connection Lost Lower Limit |
BillyGrande | 1:924bead61d21 | 11 | #define SCLUL 2.5 //Salinity Connection Lost Upper Limit |
BillyGrande | 1:924bead61d21 | 12 | |
BillyGrande | 1:924bead61d21 | 13 | bool salinity_control(); |
BillyGrande | 1:924bead61d21 | 14 | |
BillyGrande | 1:924bead61d21 | 15 | #endif |