FSN#1251
svn path=/Database/trunk/; revision=9099
This commit is contained in:
@@ -1,30 +1,73 @@
|
||||
#ifdef CAD // 22-05-1998 KTH
|
||||
|
||||
/* REVISIONS:
|
||||
*
|
||||
* --- 01.43 ---
|
||||
* 09-03-1999 BIV LOG # 2278 - Ook gebouw opgenomen in de tabel CAD_SYMBOOL.
|
||||
* 26-02-1999 BIV LOG # 2278 - Vulling voor tabel CAD_SYMBOOL toegevoegd.
|
||||
* --- 01.42 ---
|
||||
* --- 01.41 ---
|
||||
* --- 01.40 ---
|
||||
* --- 01.39 ---
|
||||
* --- 01.38 ---
|
||||
* --- 01.37 ---
|
||||
* 22-05-1998 KTH Aangemaakt
|
||||
/* $History: CAD_INI.SRC $
|
||||
*
|
||||
* ***************** Version 9 *****************
|
||||
* User: Pf Date: 4-11-05 Time: 16:56
|
||||
* Updated in $/Facilitor/SRC/SQL/CAD
|
||||
* FSN#1251
|
||||
*
|
||||
*/
|
||||
|
||||
_FAC_MODULE('CAD','Facilitor Graphics')
|
||||
|
||||
|
||||
/* Default vulling voor tabel CAD_SYMBOOL */
|
||||
insert into cad_symbool(cad_symbool_entry,cad_symbool_symbool,cad_symbool_layer,cad_symbool_linetype, cad_symbool_kleur)
|
||||
values('PRS_WERKPLEK', 'WERKPLEK', 'FCLT_WERKPLEK', ' ', 1);
|
||||
insert into cad_symbool(cad_symbool_entry,cad_symbool_symbool,cad_symbool_layer,cad_symbool_linetype, cad_symbool_kleur)
|
||||
values('ALG_RUIMTE', NULL, 'FCLT_RUIMTE', ' ', 2);
|
||||
insert into cad_symbool(cad_symbool_entry,cad_symbool_symbool,cad_symbool_layer,cad_symbool_linetype, cad_symbool_kleur)
|
||||
values('ALG_TERREINSECTOR', NULL, 'FCLT_TERREIN', ' ', 3);
|
||||
insert into cad_symbool(cad_symbool_entry,cad_symbool_symbool,cad_symbool_layer,cad_symbool_linetype, cad_symbool_kleur)
|
||||
values('ALG_GEBOUW', NULL, 'FCLT_GEBOUW', ' ', 4);
|
||||
INSERT INTO cad_legenda (cad_legenda_omschrijving, cad_legenda_discreet) VALUES ('Default legenda', 1);
|
||||
INSERT INTO cad_legenda (cad_legenda_omschrijving, cad_legenda_discreet) VALUES ('Aantallen', 0);
|
||||
|
||||
UPDATE cad_legenda SET cad_legenda_key=1 WHERE cad_legenda_omschrijving='Default legenda';
|
||||
UPDATE cad_legenda SET cad_legenda_key=2 WHERE cad_legenda_omschrijving='Aantallen';
|
||||
|
||||
INSERT INTO cad_legendawaarde (cad_legenda_key, cad_legendawaarde_value, cad_legendawaarde_rgb, cad_legendawaarde_omschr)
|
||||
VALUES (2,'0','FFFFFF','0');
|
||||
|
||||
INSERT INTO cad_legendawaarde (cad_legenda_key, cad_legendawaarde_value, cad_legendawaarde_rgb, cad_legendawaarde_omschr)
|
||||
VALUES (2,'1','FDF68D','01');
|
||||
|
||||
INSERT INTO cad_legendawaarde (cad_legenda_key, cad_legendawaarde_value, cad_legendawaarde_rgb, cad_legendawaarde_omschr)
|
||||
VALUES (2,'2','FFF10F','02');
|
||||
INSERT INTO cad_legendawaarde (cad_legenda_key, cad_legendawaarde_value, cad_legendawaarde_rgb, cad_legendawaarde_omschr)
|
||||
VALUES (2,'3','FFDD81','03');
|
||||
INSERT INTO cad_legendawaarde (cad_legenda_key, cad_legendawaarde_value, cad_legendawaarde_rgb, cad_legendawaarde_omschr)
|
||||
VALUES (2,'4','FDC01B','04');
|
||||
INSERT INTO cad_legendawaarde (cad_legenda_key, cad_legendawaarde_value, cad_legendawaarde_rgb, cad_legendawaarde_omschr)
|
||||
VALUES (2,'5','FFBF81','05');
|
||||
INSERT INTO cad_legendawaarde (cad_legenda_key, cad_legendawaarde_value, cad_legendawaarde_rgb, cad_legendawaarde_omschr)
|
||||
VALUES (2,'10','FF8309','10');
|
||||
INSERT INTO cad_legendawaarde (cad_legenda_key, cad_legendawaarde_value, cad_legendawaarde_rgb, cad_legendawaarde_omschr)
|
||||
VALUES (2,'20','FF8143','20');
|
||||
INSERT INTO cad_legendawaarde (cad_legenda_key, cad_legendawaarde_value, cad_legendawaarde_rgb, cad_legendawaarde_omschr)
|
||||
VALUES (2,'50','FF5A09','50');
|
||||
INSERT INTO cad_legendawaarde (cad_legenda_key, cad_legendawaarde_value, cad_legendawaarde_rgb, cad_legendawaarde_omschr)
|
||||
VALUES (2,'99','FF0000','99');
|
||||
|
||||
|
||||
/* zijn de functies hier al bekend? */
|
||||
|
||||
INSERT INTO cad_thema (cad_thema_omschrijving, cad_legenda_key, cad_thema_view, cad_thema_type, fac_functie_key)
|
||||
SELECT 'Ruimtefunctie', 1, 'cad_v_thema_srtruimte', 1, fac_functie_key
|
||||
FROM fac_functie
|
||||
WHERE fac_functie_code = 'WEB_ALGUSE';
|
||||
|
||||
INSERT INTO cad_thema (cad_thema_omschrijving, cad_legenda_key, cad_thema_view, cad_thema_type, fac_functie_key)
|
||||
SELECT 'Vloerafwerking', 1, 'cad_v_thema_vloerafwerking', 1, fac_functie_key
|
||||
FROM fac_functie
|
||||
WHERE fac_functie_code = 'WEB_ALGUSE';
|
||||
|
||||
INSERT INTO cad_thema (cad_thema_omschrijving, cad_legenda_key, cad_thema_view, cad_thema_type, fac_functie_key)
|
||||
SELECT 'Open meldingen', 2, 'cad_v_thema_openmeldingen', 1, fac_functie_key
|
||||
FROM fac_functie
|
||||
WHERE fac_functie_code = 'WEB_MLDBAC';
|
||||
|
||||
|
||||
INSERT INTO cad_label (cad_label_omschrijving, cad_label_view, cad_label_type, fac_functie_key, cad_label_size)
|
||||
SELECT 'Ruimtefunctie/opp', 'cad_v_label_srtruimteopp', 1, fac_functie_key, 360
|
||||
FROM fac_functie
|
||||
WHERE fac_functie_code = 'WEB_ALGUSE';
|
||||
|
||||
INSERT INTO cad_label (cad_label_omschrijving, cad_label_view, cad_label_type, fac_functie_key, cad_label_size)
|
||||
SELECT 'Bewoners', 'cad_v_label_bewoner', 1, fac_functie_key, 300
|
||||
FROM fac_functie
|
||||
WHERE fac_functie_code = 'WEB_PRSUSE';
|
||||
|
||||
#endif // CAD
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
#ifdef CAD // 22-05-1998 KTH
|
||||
|
||||
/* $History: CAD_VIE1.SRC $
|
||||
*
|
||||
* ***************** Version 28 *****************
|
||||
* User: Pf Date: 4-11-05 Time: 16:56
|
||||
* Updated in $/Facilitor/SRC/SQL/CAD
|
||||
* FSN#1251
|
||||
*
|
||||
* ***************** Version 27 *****************
|
||||
* User: Pf Date: 27-10-05 Time: 16:10
|
||||
@@ -206,7 +211,7 @@ AS
|
||||
-- Ruimte
|
||||
CREATE OR REPLACE VIEW cad_v_thema_srtruimte (alg_ruimte_key, waarde)
|
||||
AS
|
||||
SELECT r.alg_ruimte_key, r.alg_srtruimte_key
|
||||
SELECT r.alg_ruimte_key, sr.alg_srtruimte_omschrijving
|
||||
FROM alg_v_aanwezigruimte r, alg_srtruimte sr
|
||||
WHERE r.alg_srtruimte_key = sr.alg_srtruimte_key;
|
||||
-- Bezetting
|
||||
|
||||
Reference in New Issue
Block a user