2015-12-04 16:17:20 +00:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Config
|
|
|
|
|
|
{
|
2017-03-16 20:53:12 +00:00
|
|
|
|
public class Data : Users.GlobalData
|
2015-12-04 16:17:20 +00:00
|
|
|
|
{
|
|
|
|
|
|
public const string AdminUsername = "admin";
|
|
|
|
|
|
public const string AdminPassword = "staratura";
|
|
|
|
|
|
public const string SQLiteDbFName = "SQLite.db";
|
|
|
|
|
|
|
|
|
|
|
|
#if MUNICH
|
|
|
|
|
|
public const int WMsCount = 3;
|
|
|
|
|
|
public const int LineSize = 1;
|
|
|
|
|
|
public const int CompoundWMsCount = 1;
|
2016-10-05 11:35:29 +00:00
|
|
|
|
public const int HeatMetersCount = 0;
|
2016-12-09 09:57:27 +00:00
|
|
|
|
public const int MaxPartNr = 3;
|
2018-07-18 15:12:54 +00:00
|
|
|
|
#elif DN100 || BADGER_STREDNA_TRAT || BADGER_VELKA_TRAT || CEVAK_200
|
2015-12-04 16:17:20 +00:00
|
|
|
|
public const int WMsCount = 3;
|
|
|
|
|
|
public const int LineSize = 3;
|
|
|
|
|
|
public const int CompoundWMsCount = 1;
|
2016-10-05 11:35:29 +00:00
|
|
|
|
public const int HeatMetersCount = 0;
|
2016-12-09 09:57:27 +00:00
|
|
|
|
public const int MaxPartNr = WMsCount / LineSize;
|
2019-05-07 12:37:03 +00:00
|
|
|
|
#elif FUZHOU_300 || FUZHOU_150 || IZRAEL_200 || PUCHONG_200 || GENESIS || SLM_150 || PETERSBURG_200
|
2015-12-04 16:17:20 +00:00
|
|
|
|
public const int WMsCount = 6;
|
|
|
|
|
|
public const int LineSize = 6;
|
2019-05-07 12:37:03 +00:00
|
|
|
|
public const int CompoundWMsCount = 1;
|
2016-10-05 11:35:29 +00:00
|
|
|
|
public const int HeatMetersCount = 0;
|
2016-12-09 09:57:27 +00:00
|
|
|
|
public const int MaxPartNr = 3;
|
2019-05-07 12:37:03 +00:00
|
|
|
|
#elif DEWA_300
|
|
|
|
|
|
public const int WMsCount = 10;
|
|
|
|
|
|
public const int LineSize = 10;
|
|
|
|
|
|
public const int CompoundWMsCount = 3;
|
|
|
|
|
|
public const int HeatMetersCount = 0;
|
|
|
|
|
|
public const int MaxPartNr = WMsCount / LineSize;
|
2018-07-18 15:12:54 +00:00
|
|
|
|
#elif DUBAJ_50
|
|
|
|
|
|
public const int WMsCount = 10;
|
|
|
|
|
|
public const int LineSize = 5;
|
|
|
|
|
|
public const int CompoundWMsCount = 0;
|
|
|
|
|
|
public const int HeatMetersCount = 0;
|
|
|
|
|
|
public const int MaxPartNr = WMsCount / LineSize;
|
2018-10-03 08:37:44 +00:00
|
|
|
|
#elif IZRAEL_50
|
|
|
|
|
|
public const int WMsCount = 40;
|
|
|
|
|
|
public const int LineSize = 10;
|
|
|
|
|
|
public const int CompoundWMsCount = 0;
|
|
|
|
|
|
public const int HeatMetersCount = 0;
|
|
|
|
|
|
public const int MaxPartNr = WMsCount / LineSize;
|
2018-09-13 11:05:15 +00:00
|
|
|
|
#elif FUZHOU_100
|
2018-06-29 06:16:11 +00:00
|
|
|
|
public const int WMsCount = 10;
|
|
|
|
|
|
public const int LineSize = 10;
|
|
|
|
|
|
public const int CompoundWMsCount = 1;
|
|
|
|
|
|
public const int HeatMetersCount = 0;
|
|
|
|
|
|
public const int MaxPartNr = WMsCount / LineSize;
|
2018-09-13 11:05:15 +00:00
|
|
|
|
#elif TORINO_50 || BADGER_MALA_TRAT || BERLIN
|
2015-12-04 16:17:20 +00:00
|
|
|
|
public const int WMsCount = 6;
|
|
|
|
|
|
public const int LineSize = 6;
|
|
|
|
|
|
public const int CompoundWMsCount = 1;
|
2016-10-05 11:35:29 +00:00
|
|
|
|
public const int HeatMetersCount = 0;
|
2016-12-09 09:57:27 +00:00
|
|
|
|
public const int MaxPartNr = 1;
|
2019-06-28 10:18:58 +00:00
|
|
|
|
#elif TORUN_50 || CEVAK_40 || MURES_40 || FUZHOU_50 || PETERSBURG_50 || KEMPNO_50 || BAHRAIN_50 || KRAKOW_50 || JUZNA_AFRIKA_50 || IZRAEL_25 || ZAMBIA || ZODINO || FEWA_50 || FILIPINY_50
|
2017-06-20 15:09:44 +00:00
|
|
|
|
public const int WMsCount = 20;
|
2015-12-04 16:17:20 +00:00
|
|
|
|
public const int LineSize = 10;
|
|
|
|
|
|
public const int CompoundWMsCount = 1;
|
2016-10-05 11:35:29 +00:00
|
|
|
|
public const int HeatMetersCount = 0;
|
2016-12-09 09:57:27 +00:00
|
|
|
|
public const int MaxPartNr = WMsCount / LineSize;
|
2017-10-05 10:17:36 +00:00
|
|
|
|
#elif RUM_MOB
|
|
|
|
|
|
public const int WMsCount = 8;
|
|
|
|
|
|
public const int LineSize = 8;
|
|
|
|
|
|
public const int CompoundWMsCount = 1;
|
|
|
|
|
|
public const int HeatMetersCount = 0;
|
|
|
|
|
|
public const int MaxPartNr = WMsCount / LineSize;
|
2017-02-14 12:25:43 +00:00
|
|
|
|
#elif TURA_IPERL
|
2015-12-04 16:17:20 +00:00
|
|
|
|
public const int WMsCount = 40;
|
|
|
|
|
|
public const int LineSize = 20;
|
|
|
|
|
|
public const int CompoundWMsCount = 1;
|
2016-10-05 11:35:29 +00:00
|
|
|
|
public const int HeatMetersCount = 0;
|
2016-12-09 09:57:27 +00:00
|
|
|
|
public const int MaxPartNr = WMsCount / LineSize;
|
2018-05-25 07:52:44 +00:00
|
|
|
|
#elif TURA_SPECIAL || SENTEC
|
|
|
|
|
|
public const int WMsCount = 6;
|
2016-04-07 13:37:49 +00:00
|
|
|
|
public const int LineSize = 6;
|
|
|
|
|
|
public const int CompoundWMsCount = 1;
|
2016-10-05 11:35:29 +00:00
|
|
|
|
public const int HeatMetersCount = 0;
|
2016-12-09 09:57:27 +00:00
|
|
|
|
public const int MaxPartNr = WMsCount / LineSize;
|
2016-06-22 14:54:16 +00:00
|
|
|
|
#elif SLM_50
|
2016-06-17 13:59:32 +00:00
|
|
|
|
public const int WMsCount = 12;
|
|
|
|
|
|
public const int LineSize = 12;
|
|
|
|
|
|
public const int CompoundWMsCount = 1;
|
2016-10-05 11:35:29 +00:00
|
|
|
|
public const int HeatMetersCount = 6;
|
2016-12-09 09:57:27 +00:00
|
|
|
|
public const int MaxPartNr = WMsCount / LineSize;
|
2016-10-26 09:32:13 +00:00
|
|
|
|
#elif SLM_END || WARSAW_END
|
2016-12-09 18:44:20 +00:00
|
|
|
|
public const int WMsCount = 10;
|
|
|
|
|
|
public const int LineSize = 5;
|
2016-06-17 13:59:32 +00:00
|
|
|
|
public const int CompoundWMsCount = 1;
|
2016-12-02 08:11:24 +00:00
|
|
|
|
public const int HeatMetersCount = 0;
|
2016-12-09 09:57:27 +00:00
|
|
|
|
public const int MaxPartNr = 4;
|
2016-10-06 09:52:43 +00:00
|
|
|
|
#elif MALTA_WSD25
|
|
|
|
|
|
public const int WMsCount = 6;
|
|
|
|
|
|
public const int LineSize = 6;
|
|
|
|
|
|
public const int CompoundWMsCount = 0;
|
|
|
|
|
|
public const int HeatMetersCount = 0;
|
2016-12-09 09:57:27 +00:00
|
|
|
|
public const int MaxPartNr = WMsCount / LineSize;
|
2015-12-04 16:17:20 +00:00
|
|
|
|
#endif
|
|
|
|
|
|
|
2018-01-30 13:44:13 +00:00
|
|
|
|
///
|
2015-12-04 16:17:20 +00:00
|
|
|
|
/// Database related: This object reference is set after a successful user login
|
|
|
|
|
|
///
|
|
|
|
|
|
public static DatabaseSettings CurrentBench;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|