import os
import platform
from all_paths import *
# Global variables -

# """ MULTI LINE COMMENT """"

#######################WINDOWS##############################
"""
true=1
false=0

GUI=true
CCM=false

#Devices

#Devices

# NGP = 1
#Tera = 2
#SML = 3
#OCS_2000 = 4
#PPS_2000 = 5
#GenericDevice = 6
#OCS_1000 = 7
#OCS_1100 = 8
#PPS_1000 = 9

device = 1

if device == 1:
	#DB Path
	DBPath = "NGP_2000DB.db"
	ClientName = "" # not used as of now
	DeviceName = "LYRA-NGP2-2000" # GENERIC_DEVICE, LYRA-TERA-2000,LYRA-OCS-2000,LYRA-NGP2-2000

if device == 2:
	DBPath = "TeraDB.db"
	ClientName = "" # not used as of now
	DeviceName = "LYRA-TERA-2000" # GENERIC_DEVICE, LYRA-TERA-2000,LYRA-OCS-2000,LYRA-NGP2-2000


if device == 3:
	DBPath = "SML_2000DB.db"
	ClientName = "" # not used as of now
	DeviceName = "LYRA-SML-2000" # GENERIC_DEVICE, LYRA-TERA-2000,LYRA-OCS-2000,LYRA-NGP2-2000


if device == 4:
	DBPath = "OCS_2000DB.db"
	ClientName = "" 
	DeviceName = "LYRA-OCS-2000"


if device == 5:
	DBPath = "PPS_2000DB.db"
	ClientName = "" # not used as of now
	DeviceName = "LYRA-PPS-2000" # GENERIC_DEVICE, LYRA-TERA-2000,LYRA-OCS-2000,LYRA-NGP2-2000


if device == 6:
	DBPath = "GenericDeviceDB.db"
	ClientName = "" 
	DeviceName = "Generic-Device"


if device == 7:
	DBPath = "OCS_1000DB.db"
	ClientName = "" 
	DeviceName = "LYRA-OCS-1000"


if device == 8:
	DBPath = "OCS_1100DB.db"
	ClientName = "" 
	DeviceName = "LYRA-OCS-1100"


if device == 9:
	DBPath = "PPS_1000DB.db"
	ClientName = "" 
	DeviceName = "LYRA-PPS-1000"



#CCM Logs
LogsFilePath = "pilot/ccmloggerFile.log"

#Demo Graphs

demoGraphs = "pilot/demographs/"
dbPath = ""
"""


#######################UBUNTU##############################
# apache_port = os.environ["SERVER_PORT"]

# Only For lyra tera device
DBPath = dbPath + "AirbusDB.db"
ClientName = ""
DeviceName = "Airbus-OFGU"


# if apache_port == "8001":
#     # DB Path
#     DBPath = dbPath + "NGP_2000DB.db"
#     ClientName = ""  # not used as of now
#     # GENERIC_DEVICE, LYRA-TERA-2000,LYRA-OCS-2000,LYRA-NGP2-2000
#     DeviceName = "LYRA-NGP2-2000"

# if apache_port == "8002":
#     DBPath = dbPath + "TeraDB.db"
#     ClientName = ""  # not used as of now
#     # GENERIC_DEVICE, LYRA-TERA-2000,LYRA-OCS-2000,LYRA-NGP2-2000
#     DeviceName = "LYRA-TERA-2000"

# if apache_port == "8003":
#     DBPath = dbPath + "SML_2000DB.db"
#     ClientName = ""  # not used as of now
#     # GENERIC_DEVICE, LYRA-TERA-2000,LYRA-OCS-2000,LYRA-NGP2-2000
#     DeviceName = "LYRA-SML-2000"

# if apache_port == "8004":
#     DBPath = dbPath + "OCS_2000DB.db"
#     ClientName = ""
#     DeviceName = "LYRA-OCS-2000"

# if apache_port == "8005":
#     DBPath = dbPath + "PPS_2000DB.db"
#     ClientName = ""  # not used as of now
#     # GENERIC_DEVICE, LYRA-TERA-2000,LYRA-OCS-2000,LYRA-NGP2-2000
#     DeviceName = "LYRA-PPS-2000"

# if apache_port == "8006":
#     DBPath = dbPath + "GenericDeviceDB.db"
#     ClientName = ""
#     DeviceName = "Generic-Device"

# if apache_port == "8007":
#     DBPath = dbPath + "OCS_1000DB.db"
#     ClientName = ""
#     DeviceName = "LYRA-OCS-1000"

# if apache_port == "8008":
#     DBPath = dbPath + "OCS_1100DB.db"
#     ClientName = ""
#     DeviceName = "LYRA-OCS-1100"

# if apache_port == "8009":
#     DBPath = dbPath + "PPS_1000DB.db"
#     ClientName = ""
#     DeviceName = "LYRA-PPS-1000"

# true = 1
# false = 0

# GUI = true
# CCM = true


# uds_socket_path = "/home/pilotCCMV14/uds_socket"
# gui_path = "/var/www/pilotV14/"
# CGIpath = "/var/www/pilotV14/cgi.sh"
# ccm_response_path="/var/www/"
# # CCM Logs
# LogsFilePath = "/home/pilotCCMV14/ccmloggerFile.log"

# # ALERTS
# AlertsFilePath = "/home/pilotCCMV14/alerts.log"

# # RRD file path
# RRD_Files_Path = ""

# # pilotGraphsPath

# demoGraphs = "/var/www/pilot/demographs/"
