public override void SetDescription(SlotTypes slotType)
{
string sLevelLong = IndParam.NumParam[0].ValueToString;
string sLevelShort = IndParam.NumParam[0].ValueToString;
EntryFilterLongDescription = "the " + ToString() + " ";
EntryFilterShortDescription = "the " + ToString() + " ";
ExitFilterLongDescription = "the " + ToString() + " ";
ExitFilterShortDescription = "the " + ToString() + " ";
switch (IndParam.ListParam[0].Text)
{
case "The Volume rises":
EntryFilterLongDescription += "rises";
EntryFilterShortDescription += "rises";
ExitFilterLongDescription += "rises";
ExitFilterShortDescription += "rises";
break;
case "The Volume falls":
EntryFilterLongDescription += "falls";
EntryFilterShortDescription += "falls";
ExitFilterLongDescription += "falls";
ExitFilterShortDescription += "falls";
break;
case "The Volume is higher than the Level line":
EntryFilterLongDescription += "is higher than the Level " + sLevelLong;
EntryFilterShortDescription += "is higher than the Level " + sLevelShort;
ExitFilterLongDescription += "is higher than the Level " + sLevelLong;
ExitFilterShortDescription += "is higher than the Level " + sLevelShort;
break;
case "The Volume is lower than the Level line":
EntryFilterLongDescription += "is lower than the Level " + sLevelLong;
EntryFilterShortDescription += "is lower than the Level " + sLevelShort;
ExitFilterLongDescription += "is lower than the Level " + sLevelLong;
ExitFilterShortDescription += "is lower than the Level " + sLevelShort;
break;
default:
break;
}
return;
}