expanded the water levels to be used to configure pumping levels and moved the water draining period to config file

This commit is contained in:
2016-06-09 20:07:38 +02:00
parent 5c1f1629e7
commit 4872f4a910
5 changed files with 48 additions and 6 deletions

View File

@@ -24,6 +24,10 @@ if (Meteor.isServer) {
tankLevel3: this.bodyParams.tankLevel3,
tankLevel4: this.bodyParams.tankLevel4,
tankFull: this.bodyParams.tankFull,
startPumpingAt: this.bodyParams.startPumpingAt,
stopPumpingAt: this.bodyParams.stopPumpingAt,
drainingPeriodUnit: parseInt(this.bodyParams.drainingPeriodUnit),
drainingPeriodAmount: this.bodyParams.drainingPeriodAmount,
owner: this.bodyParams.owner,
created_at: new Date()
});