-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
66 lines (61 loc) · 1.77 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
const config = {
//"trace","debug","info","warn","error"
logLevel: "debug",
// acmeResources/veh_trak/gps/v2/{route}/{vehType}/{vehID}/{lat}/{lng}/{dir}/{status}
topicPrefix: "acmeResources/veh_trak/gps/v2/",
title: "Real-time Connected Mining Demo",
subTitles: [
"Bidirectional IoT Communication using MQTT",
"Advanced Filtering and Routing Capabilities"
],
googleApiKey: "AIzaSyCfUpei863cqkmQvV9KavBsjybNQ4hr6wA",
mapOptions: {
center: { lat: -23.3644177610712, lng: 119.67464837435948 }, // Newman Mine Site
zoom: 16,
mapId: "DEMO_MAP_ID",
mapTypeId: 'hybrid',
fullscreenControl: false,
streetViewControl: false,
scaleControl: true,
drawable: true,
mapTypeControlOptions: {
position: 3, //"TOP_RIGHT"
}
},
singleLevelWildCard: "*",
solace: {
SessionProperties: {
// check (https://docs.solace.com/API-Developer-Online-Ref-Documentation/js/solace.SessionProperties.html)
// for details of all properties
url: "ws://localhost:8008",
vpnName: "default",
userName: "default",
password: "default",
},
// FATAL: 0, ERROR: 1, WARN: 2, INFO: 3, DEBUG: 4, TRACE: 5
// NOTICE: works only with "solclientjs-debug.js"
LogLevel: 1,
},
iconBase: "./icons/",
vehicleTypes: {
HAUL: { // type name
reportInterval: 3, // seconds
icon: "haul.svg",
bodyLength: 15, // meters
infoImage: "haul-truck-info.jpeg"
},
WATER: {
reportInterval: 3, // seconds
icon: "water.svg",
bodyLength: 15, // meters
infoImage: "water-truck-info.png"
},
ORECAR: {
reportInterval: 3, // seconds
icon: "orecar.svg",
bodyLength: 15, // meters
infoImage: "ore-car-info.jpg"
},
}
}
export { config as default }