This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Mosquitto MQTT Broker Configuration | |
# Name of the configuration file | |
#pid_file /var/run/mosquitto/mosquitto.pid | |
# Select the log destination. "stderr" means errors will be sent to stderr and "syslog" means messages will be sent to the system logger. | |
log_dest stdout | |
# Choose the log types that are enabled. | |
# Possible types are: debug, error, warning, notice, information, subscribe, unsubscribe, websockets, all, none. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return FlutterMap( | |
options: MapOptions( | |
maxZoom: 2, | |
minZoom: -3, | |
crs: CrsSimple(), | |
center: LatLng(0,0), | |
interactiveFlags: InteractiveFlag.pinchZoom | InteractiveFlag.drag, | |
enableMultiFingerGestureRace: false, | |
zoom: -3, | |
onTap: (tapPosition, latlong) async { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE DEFINER=`root`@`localhost` PROCEDURE `getMeters`(IN `count` INT(10), IN `page` INT(10), IN `meterNum` VARCHAR(255), IN `routebookID` VARCHAR(255)) | |
BEGIN | |
DECLARE offsetVar INT DEFAULT 0; | |
SET offsetVar = (page - 1) * count; | |
SELECT DISTINCT(ADDRESS.ADDRESSID), | |
METER.METERNUMBER, | |
METER_MASTER.UNITNUMBER, | |
ADDRESS.ADDRESSID, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---- STORAGE ---- | |
//Require Auth | |
service firebase.storage { | |
match /b/{bucket}/o { | |
match /{allPaths=**} { | |
allow read, write: if request.auth != null; | |
} | |
} |