Updated parse lib in mini secchi submission
This commit is contained in:
@@ -219,23 +219,25 @@ var secchi_store = new secchi_data();
|
||||
// set initial data record
|
||||
console.log("saving to Parse");
|
||||
|
||||
secchi_store.uid= this.rec_uid;
|
||||
secchi_store.latitude=this.latitude;
|
||||
secchi_store.longitude=this.longitude;
|
||||
secchi_store.distancetowater=this.distancetowater;
|
||||
secchi_store.reappear=this.reappear;
|
||||
secchi_store.colourathalfdepth=this.colourathalfdepth;
|
||||
secchi_store.colourathalfdepthimage=this.colourathalfdepthimage;
|
||||
secchi_store.colouratsurface=this.colouratsurface;
|
||||
secchi_store.colouratsurfaceimage=this.colouratsurfaceimage;
|
||||
secchi_store.phvalue=this.phvalue;
|
||||
secchi_store.bottom_visible=this.bottom_visible;
|
||||
secchi_store.end_of_tape=this.end_of_tape;
|
||||
secchi_store.angle_estimated=this.angle_estimated;
|
||||
secchi_store.secchi_depth=this.secchi_depth;
|
||||
secchi_store.datetime_ux=this.datetime_ux.toString();
|
||||
secchi_store.datetimerecorded=this.datetime.toISOString();
|
||||
console.log ('saving to Parse', secchi_store);
|
||||
secchi_store.set('uid', this.rec_uid);
|
||||
secchi_store.set('latitude', this.latitude);
|
||||
secchi_store.set('longitude', this.longitude);
|
||||
secchi_store.set('distancetowater', this.distancetowater);
|
||||
secchi_store.set('reappear', this.reappear);
|
||||
secchi_store.set('colourathalfdepth', this.colourathalfdepth);
|
||||
secchi_store.set('colourathalfdepthimage', this.colourathalfdepthimage);
|
||||
secchi_store.set('colouratsurface', this.colouratsurface);
|
||||
secchi_store.set('colouratsurfaceimage', this.colouratsurfaceimage);
|
||||
secchi_store.set('phvalue', this.phvalue);
|
||||
secchi_store.set('bottom_visible', this.bottom_visible);
|
||||
secchi_store.set('end_of_tape', this.end_of_tape);
|
||||
secchi_store.set('angle_estimated', this.angle_estimated);
|
||||
secchi_store.set('secchi_depth', this.secchi_depth);
|
||||
secchi_store.set('datetime_ux', this.datetime_ux.toString());
|
||||
secchi_store.set('datetimerecorded', this.datetime.toISOString());
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user