2 using System.Collections.Generic;
5 using System.Threading.Tasks;
19 set { _vClass = value; }
25 set { _eClass = value; }
31 set { _tClass = value; }
37 set { _sClass = value; }
43 set { _Class = value; }
49 set { _ErrMsg = value; }
55 set { _commentPrefix = value; }
61 set { _PHEMDataV = value; }
120 _ErrMsg =
"Vehicle class not defined! (" + VEH +
")";
165 _ErrMsg =
"Fuel class not defined! (" + VEH +
")";
187 _ErrMsg =
"Size class not defined! (" + VEH +
")";
210 _ErrMsg =
"Size class not defined! (" + VEH.Substring(VEH.LastIndexOf(
@"\"), VEH.Length - VEH.LastIndexOf(
@"\")) +
")";
231 else if (VEH.IndexOf(
".", VEH.IndexOf(
"_" +
Constants.
strEU) + 1) > 0)
248 _ErrMsg =
"Euro class not defined! (" + VEH +
")";
256 if (
getsclass(VEH)) {
if (_sClass !=
"") { _Class = _Class +
"_" +
sClass; } }
else {
return false; }
257 if (
gettclass(VEH)) { _Class = _Class +
"_" +
tClass; }
else {
return false; }
258 if (
geteclass(VEH)) {
if (_eClass !=
"") { _Class = _Class +
"_" +
eClass; } }
else {
return false; }
std::string _commentPrefix
static const std::string strSIII
static const std::string strCNG
static const std::string strPKW
static const std::string strLSZ
bool getvclass(string VEH)
bool gettclass(const std::string &VEH)
bool getvclass(const std::string &VEH)
bool geteclass(const std::string &VEH)
static const std::string strSI
static const std::string strSII
static const std::string strHybrid
static const double DRIVE_TRAIN_EFFICIENCY_CB
bool geteclass(string VEH)
static const std::string strKKR
static const std::string strMR2
static const double DRIVE_TRAIN_EFFICIENCY_All
static const std::string strEU
static const std::string strDiesel
static double DRIVE_TRAIN_EFFICIENCY
static const std::string strGasoline
static const std::string strLNF
bool getsclass(const std::string &VEH)
static const std::string strLKW
static const std::string strMR4
static const std::string strBEV
bool getsclass(string VEH)
bool setclass(string VEH)
bool gettclass(string VEH)
static const std::string strRB
static const std::string strLB