[go: up one dir, main page]

Menu

[7e0b4c]: / src / showvarconst.h  Maximize  Restore  History

Download this file

36 lines (28 with data), 795 Bytes

 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
//
// C++ Interface: showvarconst
//
// Description:
//
//
// Author: Massimiliano Fago <massimiliano.fago@gmail.com>, (C) 2007
//
// Copyright: See COPYING file that comes with this distribution
//
//
#include <QByteArray>
#ifndef SHOWVARCONST_H
#define SHOWVARCONST_H
const int BROADCASTPORT=6999;
const int UDPBROADCASTPORTCROSS=7000;
const int TCPCROSSCOMMPORT=7000;
const int BROADCASTMESSAGETIME=3000;
const int READTIMEOUT=1000; //ms
const int WRITETIMEOUT=200; //ms
const int REFRESHTIME=1000; //ms
const int MAXROBOTSERVER=10; //numero massimo di robot concessi sulla rete
const int MAXBROADCASTNETWORK=9; //numero massimo di schede di rete su cui effettuare il broadcast
const char READVARIABLE=0;
const char WRITEVARIABLE=1;
const int NUMBYTEINT=3;
#define DEBUGWIN 0;
#endif