annotate app/model/Messwert.js @ 492:fbcf6ef3b6f6

Added missing model for verwaltungseinheit.
author Raimund Renkert <raimund.renkert@intevation.de>
date Sat, 01 Nov 2014 13:12:16 +0100
parents 850ccfe5f3c4
children
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',
491
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
14
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
15 fields: [{
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
16 name: "id"
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
17 }, {
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
18 name: "messungsId"
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
19 }, {
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
20 name: "messgroesseId"
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
21 }, {
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
22 name: "messwert",
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
23 type:"float"
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
24 }, {
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
25 name: "messwertNwg"
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
26 }, {
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
27 name: "messfehler",
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
28 type:"float"
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
29 }, {
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
30 name: "nwgZuMesswert",
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
31 type:"float"
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
32 }, {
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
33 name: "mehId"
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
34 }, {
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
35 name: "grenzwertueberschreitung",
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
36 type: "boolean"
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
37 }, {
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
38 name: "letzteAenderung",
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
39 type:"date"
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
40 }],
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
41
226
2794341bfc8a Fixed creating messwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 223
diff changeset
42 idProperty: "id",
491
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
43
167
3d3ad1f031bf Added model and store for messwert.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
44 proxy: {
3d3ad1f031bf Added model and store for messwert.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
45 type: 'rest',
3d3ad1f031bf Added model and store for messwert.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
46 url: 'server/rest/messwert',
3d3ad1f031bf Added model and store for messwert.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
47 reader: {
3d3ad1f031bf Added model and store for messwert.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
48 type: 'json',
3d3ad1f031bf Added model and store for messwert.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
49 root: 'data'
3d3ad1f031bf Added model and store for messwert.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
50 }
3d3ad1f031bf Added model and store for messwert.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
51 }
3d3ad1f031bf Added model and store for messwert.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
52 });

http://lada.wald.intevation.org