Mercurial > lada > lada-client
comparison app/model/Messwert.js @ 491:850ccfe5f3c4
Code style.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Fri, 31 Oct 2014 23:23:32 +0100 |
parents | f7446ebfe5d0 |
children |
comparison
equal
deleted
inserted
replaced
490:446e99cfd425 | 491:850ccfe5f3c4 |
---|---|
9 /** | 9 /** |
10 * Model class for Messwerte | 10 * Model class for Messwerte |
11 */ | 11 */ |
12 Ext.define('Lada.model.Messwert', { | 12 Ext.define('Lada.model.Messwert', { |
13 extend: 'Lada.model.Base', | 13 extend: 'Lada.model.Base', |
14 fields: [ | 14 |
15 {name: "id"}, | 15 fields: [{ |
16 {name: "messungsId"}, | 16 name: "id" |
17 {name: "messgroesseId"}, | 17 }, { |
18 {name: "messwert", type:"float"}, | 18 name: "messungsId" |
19 {name: "messwertNwg"}, | 19 }, { |
20 {name: "messfehler", type:"float"}, | 20 name: "messgroesseId" |
21 {name: "nwgZuMesswert", type:"float"}, | 21 }, { |
22 {name: "mehId"}, | 22 name: "messwert", |
23 {name: "grenzwertueberschreitung", type: "boolean"}, | 23 type:"float" |
24 {name: "letzteAenderung", type:"date"} | 24 }, { |
25 ], | 25 name: "messwertNwg" |
26 }, { | |
27 name: "messfehler", | |
28 type:"float" | |
29 }, { | |
30 name: "nwgZuMesswert", | |
31 type:"float" | |
32 }, { | |
33 name: "mehId" | |
34 }, { | |
35 name: "grenzwertueberschreitung", | |
36 type: "boolean" | |
37 }, { | |
38 name: "letzteAenderung", | |
39 type:"date" | |
40 }], | |
41 | |
26 idProperty: "id", | 42 idProperty: "id", |
43 | |
27 proxy: { | 44 proxy: { |
28 type: 'rest', | 45 type: 'rest', |
29 url: 'server/rest/messwert', | 46 url: 'server/rest/messwert', |
30 reader: { | 47 reader: { |
31 type: 'json', | 48 type: 'json', |