Mercurial > lada > lada-client
comparison app/model/Zusatzwert.js @ 138:4287f29b5b81
Fixed fields in model (Forgotten broken mapping)
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Wed, 26 Jun 2013 14:30:40 +0200 |
parents | a7eea094d3d6 |
children | dee9da79f055 |
comparison
equal
deleted
inserted
replaced
137:a7eea094d3d6 | 138:4287f29b5b81 |
---|---|
1 Ext.define('Lada.model.Zusatzwert', { | 1 Ext.define('Lada.model.Zusatzwert', { |
2 extend: 'Ext.data.Model', | 2 extend: 'Ext.data.Model', |
3 fields: [ | 3 fields: [ |
4 {name: "pzsId", mapping: "id.pzsId"}, | 4 {name: "pzsId"}, |
5 {name: "probeId", mapping: "id.probeId"}, | 5 {name: "probeId"}, |
6 {name: "nwgZuMesswert", type: 'float'}, | 6 {name: "nwgZuMesswert", type: 'float'}, |
7 {name: "messwertPzs", type: 'float'}, | 7 {name: "messwertPzs", type: 'float'}, |
8 {name: "messfehler", type: 'float'}, | 8 {name: "messfehler", type: 'float'}, |
9 {name: "letzteAenderung", type: 'date', convert: ts2date, defaultValue: new Date()} | 9 {name: "letzteAenderung", type: 'date', convert: ts2date, defaultValue: new Date()} |
10 ], | 10 ], |