Browse Source

Changed Initial Database To Work with Remote Server by Default

pull/7/head
Evgeny Gagua 9 months ago
parent
commit
63931cc08b
  1. 2
      Distro/database/db_tools.php

2
Distro/database/db_tools.php

@ -755,7 +755,7 @@ $DEFAULT_DATA[0]['module_eve']="INSERT INTO `module_eve`(`output_mode`,`web_port
//Project Data
// Metro
$DEFAULT_DATA[0]['system_props']="INSERT INTO `system_props`(`id`,`type`,`name`,`oem_logo`,`work_mode`,`app_layout`,`map_id`,`remote_ip`,`remote_backup_ip`) VALUES(1,1,'TRAIN Sensor Module','20f21b4f01f1b7587f728b05dfc9f4ea',0,1,1,'10.144.2.223','10.144.2.223')";
$DEFAULT_DATA[0]['system_props']="INSERT INTO `system_props`(`id`,`type`,`name`,`oem_logo`,`work_mode`,`app_layout`,`map_id`,`remote_ip`,`remote_backup_ip`,`use_remote_server`) VALUES(1,1,'TRAIN Sensor Module','20f21b4f01f1b7587f728b05dfc9f4ea',0,1,1,'10.144.2.223','10.144.2.223',1)";
$DEFAULT_DATA[0]['nodes1']="INSERT INTO `nodes`(`id`,`type`,`aux_id`,`aux_parameter`,`online`,`enable`,`name`) VALUES(1,0,1,0,0,0,'Controller')";
//-----------------------------------//
$DEFAULT_DATA[0]['nodes2']="INSERT INTO `nodes`(`id`,`type`,`aux_id`,`aux_parameter`,`online`,`enable`,`name`) VALUES(2,3,1,0,0,1,'SENSOR_1')";

Loading…
Cancel
Save