2012-03-25 14:23:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
insert into rooms (ROOM_ID, floor, roomName, xCord, yCord) values (null, '2. Etage', 'Kueche', '0', '0');
|
|
|
|
insert into rooms (ROOM_ID, floor, roomName, xCord, yCord) values (null, '2. Etage', 'Wohnzimmer', '0', '1');
|
|
|
|
insert into rooms (ROOM_ID, floor, roomName, xCord, yCord) values (null, '2. Etage', 'Werkstatt', '1', '0');
|
|
|
|
insert into rooms (ROOM_ID, floor, roomName, xCord, yCord) values (null, '2. Etage', 'Flur', '1', '1');
|
|
|
|
|
|
|
|
|
2012-03-26 21:21:44 +00:00
|
|
|
insert into devices (DTYPE, BUNTIDEVICE_ID, deviceName, picture, startAddress, hostname, port)
|
|
|
|
values ('Par56Spot',null,'Lampe1',null, 1, null, null);
|
|
|
|
insert into devices (DTYPE, BUNTIDEVICE_ID, deviceName, picture, startAddress, hostname, port)
|
|
|
|
values ('Par56Spot',null,'Lampe2',null, 6, null, null);
|
|
|
|
insert into devices (DTYPE, BUNTIDEVICE_ID, deviceName, picture, startAddress, hostname, port)
|
|
|
|
values ('Par56Spot',null,'Lampe3',null, 11, null, null);
|
|
|
|
insert into devices (DTYPE, BUNTIDEVICE_ID, deviceName, picture, startAddress, hostname, port)
|
|
|
|
values ('Par56Spot',null,'Lampe4',null, 16, null, null);
|
|
|
|
|
|
|
|
|
|
|
|
insert into devices (DTYPE, BUNTIDEVICE_ID, deviceName, picture, startAddress, hostname, port)
|
|
|
|
values ('Lampel',null,'Die Lampel',null, null, 'lampel.ctdo.de', 2701);
|
2012-03-25 14:23:45 +00:00
|
|
|
|
|
|
|
|
2012-03-25 17:56:09 +00:00
|
|
|
insert into ROOM_BUNTIDEVICE (ROOM_ID, BUNTIDEVICE_ID) VALUES (2, 1);
|
|
|
|
insert into ROOM_BUNTIDEVICE (ROOM_ID, BUNTIDEVICE_ID) VALUES (2, 2);
|
|
|
|
insert into ROOM_BUNTIDEVICE (ROOM_ID, BUNTIDEVICE_ID) VALUES (3, 3);
|
|
|
|
insert into ROOM_BUNTIDEVICE (ROOM_ID, BUNTIDEVICE_ID) VALUES (3, 4);
|
2012-03-25 14:23:45 +00:00
|
|
|
|