annotate app/model/StaOrt.js @ 530:95bad130be98

Increased list grid height.
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 17 Dec 2014 11:31:47 +0100
parents 850ccfe5f3c4
children
rev   line source
488
f7446ebfe5d0 Added and updated models.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
f7446ebfe5d0 Added and updated models.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
2 * Software engineering by Intevation GmbH
f7446ebfe5d0 Added and updated models.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
3 *
f7446ebfe5d0 Added and updated models.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
4 * This file is Free Software under the GNU GPL (v>=3)
f7446ebfe5d0 Added and updated models.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
5 * and comes with ABSOLUTELY NO WARRANTY! Check out
f7446ebfe5d0 Added and updated models.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
6 * the documentation coming with IMIS-Labordaten-Application for details.
f7446ebfe5d0 Added and updated models.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
7 */
f7446ebfe5d0 Added and updated models.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
8
f7446ebfe5d0 Added and updated models.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
9 /**
f7446ebfe5d0 Added and updated models.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
10 * Model class for Ort Stammdaten
f7446ebfe5d0 Added and updated models.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
11 */
f7446ebfe5d0 Added and updated models.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
12 Ext.define('Lada.model.StaOrt', {
f7446ebfe5d0 Added and updated models.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
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: "bezeichnung"
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: "beschreibung"
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: "unscharf"
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
23 }, {
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
24 name: "nutsCode"
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
25 }, {
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
26 name: "koordXExtern"
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
27 }, {
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
28 name: "koordYExtern"
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: "hoeheLand"
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
31 }, {
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
32 name: "letzteAenderung",
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
33 type: 'date',
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
34 convert: Lada.lib.Helpers.ts2date,
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
35 defaultValue: new Date()
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
36 }, {
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
37 name: "longitude",
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
38 type: 'float'
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
39 }, {
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
40 name: "latitude",
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
41 type: 'float'
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
42 }, {
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
43 name: "staatId"
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
44 }, {
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
45 name: "gemId"
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
46 }, {
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
47 name: "otyp"
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
48 }],
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
49
488
f7446ebfe5d0 Added and updated models.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
50 idProperty: "id",
491
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 488
diff changeset
51
488
f7446ebfe5d0 Added and updated models.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
52 proxy: {
f7446ebfe5d0 Added and updated models.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
53 type: 'rest',
f7446ebfe5d0 Added and updated models.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
54 url: 'server/rest/sta_ort',
f7446ebfe5d0 Added and updated models.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
55 reader: {
f7446ebfe5d0 Added and updated models.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
56 type: 'json',
f7446ebfe5d0 Added and updated models.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
57 root: 'data'
f7446ebfe5d0 Added and updated models.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
58 }
f7446ebfe5d0 Added and updated models.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
59 }
f7446ebfe5d0 Added and updated models.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
60 });
f7446ebfe5d0 Added and updated models.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
61

http://lada.wald.intevation.org