annotate app/model/Messwert.js @ 488:f7446ebfe5d0

Added and updated models.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 31 Oct 2014 21:10:35 +0100
parents debfcc7713e3
children 850ccfe5f3c4
rev   line source
472
debfcc7713e3 Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 441
diff changeset
1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
debfcc7713e3 Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 441
diff changeset
2 * Software engineering by Intevation GmbH
debfcc7713e3 Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 441
diff changeset
3 *
debfcc7713e3 Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 441
diff changeset
4 * This file is Free Software under the GNU GPL (v>=3)
debfcc7713e3 Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 441
diff changeset
5 * and comes with ABSOLUTELY NO WARRANTY! Check out
debfcc7713e3 Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 441
diff changeset
6 * the documentation coming with IMIS-Labordaten-Application for details.
debfcc7713e3 Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 441
diff changeset
7 */
debfcc7713e3 Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 441
diff changeset
8
282
ee5767cd2dde Added docstring
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 226
diff changeset
9 /**
315
3159cbc85652 Added docstring
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 300
diff changeset
10 * Model class for Messwerte
282
ee5767cd2dde Added docstring
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 226
diff changeset
11 */
167
3d3ad1f031bf Added model and store for messwert.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
12 Ext.define('Lada.model.Messwert', {
328
f56e6ee526a2 Inherit form model.base. Formatting
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 315
diff changeset
13 extend: 'Lada.model.Base',
f56e6ee526a2 Inherit form model.base. Formatting
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 315
diff changeset
14 fields: [
167
3d3ad1f031bf Added model and store for messwert.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
15 {name: "id"},
488
f7446ebfe5d0 Added and updated models.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 472
diff changeset
16 {name: "messungsId"},
f7446ebfe5d0 Added and updated models.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 472
diff changeset
17 {name: "messgroesseId"},
167
3d3ad1f031bf Added model and store for messwert.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
18 {name: "messwert", type:"float"},
441
60763d913203 Added MesswertNwg to the Messwert model
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 328
diff changeset
19 {name: "messwertNwg"},
167
3d3ad1f031bf Added model and store for messwert.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
20 {name: "messfehler", type:"float"},
3d3ad1f031bf Added model and store for messwert.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
21 {name: "nwgZuMesswert", type:"float"},
3d3ad1f031bf Added model and store for messwert.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
22 {name: "mehId"},
3d3ad1f031bf Added model and store for messwert.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
23 {name: "grenzwertueberschreitung", type: "boolean"},
3d3ad1f031bf Added model and store for messwert.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
24 {name: "letzteAenderung", type:"date"}
3d3ad1f031bf Added model and store for messwert.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
25 ],
226
2794341bfc8a Fixed creating messwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 223
diff changeset
26 idProperty: "id",
167
3d3ad1f031bf Added model and store for messwert.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
27 proxy: {
3d3ad1f031bf Added model and store for messwert.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
28 type: 'rest',
3d3ad1f031bf Added model and store for messwert.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
29 url: 'server/rest/messwert',
3d3ad1f031bf Added model and store for messwert.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
30 reader: {
3d3ad1f031bf Added model and store for messwert.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
31 type: 'json',
3d3ad1f031bf Added model and store for messwert.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
32 root: 'data'
3d3ad1f031bf Added model and store for messwert.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
33 }
3d3ad1f031bf Added model and store for messwert.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
34 }
3d3ad1f031bf Added model and store for messwert.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
35 });

http://lada.wald.intevation.org