Beispiel #1
0
ftpUser = "******"
ftpPass = "******"
ftpHost = "127.0.0.1"
ftpPort = 21

validUser = False

EPAStationName = "Cordoba"
dataFileExt = '.otsf'
dataFileNameFormat = EPAStationName+'_T%Y%m%d%H%M'+dataFileExt
sensorFailure = -1

validUser = False
sensorId = 227

log = logs.log(EPAStationName,niceOSPlataform)
fileHeader = {}

version = {
    'anio': 2015,
    'menor': 0,
    'mayor': 1,
    'fase': 'BETA'
}

storeConf ="C:\labGCBA\pushEPAData\conf%s.epa" % EPAStationName

sensor_online = 1
sensor_offline = -1

sensors_st = {}
Beispiel #2
0
folderSeparator = "\\" if niceOSPlataform == False else ftpRootFolder + "/"
unitechFolder = "\\\\vmware-host\Shared Folders\Escritorio\EnviMan\Bin\Transfer\Data"

originDir = ""
ftpUser = "******"
ftpPass = "******"
ftpHost = "127.0.0.1"
ftpPort = 21

validUser = False

EPAStationName = "Cordoba"
dataFileExt = '.otsf'
dataFileNameFormat = EPAStationName + '_T%Y%m%d%H%M' + dataFileExt
sensorFailure = -1

validUser = False
sensorId = 227

log = logs.log(EPAStationName, niceOSPlataform)
fileHeader = {}

version = {'anio': 2015, 'menor': 0, 'mayor': 1, 'fase': 'BETA'}

storeConf = "C:\labGCBA\pushEPAData\conf%s.epa" % EPAStationName

sensor_online = 1
sensor_offline = -1

sensors_st = {}
defaultUsersSet = {
    'root': 'root',
    'rootPass': '******',
    'rootFolder': './fftp',
    'rootPerms': 'elradfmw',
    'rootHelloMSG': ' Hello Mr Root!',
    'rootGBMSG': ' Goodbye Mr Root!',
    'other1': 'Some1',
    'other1Pass': '******',
    'other1Folder': './fftp',
    'other1Perms': 'elradfmw',
    'other1HelloMSG': ' Hello Mr Other1!',
    'other1GBMSG': ' Goodbye Mr Other1!',
}

log = logs.log('log-%s_' % stationName, actOS)

log.add('INFO: setting ftp at: ')
defautFTPConfig = {
    # AUTOCONF IP
    #'host': get_ip_address(getEthernetIF('eth0')),
    # uncomment this line for inset manually ip
    'host': '127.0.0.1',
    'port': 21,
    'baseFTPFolder': '',
}

targetFile = ''
#targetCastel = "C:\Archivos de programa\Dock Norte\DataCONTROL Server\Temp"
targetCastel = "./fftp/mock"