//--------------------------------------------------------
|
// [Author]: 第二世界
|
// [ Date ]: Thursday, April 26, 2018
|
//--------------------------------------------------------
|
using System;
|
using System.Collections.Generic;
|
|
using Snxxz.UI;
|
using System.Linq;
|
//仙玉投资
|
public class BinningClass
|
{
|
public int Money;//金额
|
public int Binning;//
|
|
}
|
public class FairyJadeInvestmentClass
|
{
|
public int ID;//ID
|
public int Type;//类型
|
public int NeedDay;//需要天数
|
public int NeedLv;//需要等级
|
public MonthlyInvestmentModel.MonthlyInvestmentItem FairyJadeInvestmentItem;//奖励
|
}
|
[XLua.LuaCallCSharp]
|
public class FairyJadeInvestmentModel : Model, IBeforePlayerDataInitialize, IPlayerLoginOk, IOpenServerActivity
|
{
|
public Dictionary<int, Dictionary<int, FairyJadeInvestmentClass>> FairyJadeInvestmentTypeDic = new Dictionary<int, Dictionary<int, FairyJadeInvestmentClass>>();//根据投资类型来存储奖励类型和金额(类型3,4,5);
|
public Dictionary<int, Dictionary<int, int>> InfoSeriorsTypeDic = new Dictionary<int, Dictionary<int, int>>();//根据类型存储奖励信息
|
public Dictionary<int, Dictionary<int, int>> InvestmentAmountTypeDic = new Dictionary<int, Dictionary<int, int>>();//根据类型获得投资金额
|
public Dictionary<int, BinningClass> BinningDic = new Dictionary<int, BinningClass>();//根据类型获取各个类型投资的档位金额和分档
|
public static Action FairyJadeInfoSeriorsUpdate;
|
public int SelectNumber = 0;//记录想要投资的钱数
|
public int RecordSelectNumberMax = 0;//用来标记最大可投资额度
|
public List<int> MultipleList = new List<int>();
|
VipInvestModel m_VipInvestModel;
|
VipInvestModel VipInvestModel { get { return m_VipInvestModel ?? (m_VipInvestModel = ModelCenter.Instance.GetModel<VipInvestModel>()); } }
|
public int BinningType = 3;
|
public event Action<int> onStateUpate;
|
public bool IsOpen
|
{
|
get
|
{
|
return IsOpenFeatures();
|
}
|
}
|
|
public bool priorityOpen
|
{
|
get
|
{
|
return IsRedPoint();
|
}
|
}
|
|
public bool IsAdvance
|
{
|
get
|
{
|
return false;
|
}
|
}
|
|
private bool IsRedPoint()//红点
|
{
|
|
if (redPointStre1.state == RedPointState.None)
|
{
|
return false;
|
}
|
else
|
{
|
return true;
|
}
|
}
|
private bool IsOpenFeatures()//功能是否开启
|
{
|
bool isOpen = false;
|
int InvestmentGrade = GetInvestmentGrade();
|
if (InvestmentGrade > 0 && InvestmentGrade < 4)
|
{
|
isOpen = true;
|
}
|
else
|
{
|
if (InvestmentGrade == 4)
|
{
|
var dit = GetInfoSeriors();
|
foreach (int key in dit.Keys)
|
{
|
if (dit[key] != 4)
|
{
|
isOpen = true;
|
}
|
}
|
}
|
}
|
if (PlayerDatas.Instance.baseData.LV >= 500 && !isOpen)
|
{
|
return false;
|
}
|
else
|
{
|
return true;
|
}
|
}
|
|
private bool IsOk = false;
|
public bool IsRedpoint = false;
|
|
private int DisplayLevel = 0;//显示等级
|
private int DisplayDays = 0;//显示天数
|
private bool IsUpdateBool = true;
|
public override void Init()
|
{
|
OpenServerActivityCenter.Instance.Register(10, this);
|
var InvestRedPoint = FuncConfigConfig.Get("InvestRedPoint");
|
DisplayLevel = int.Parse(InvestRedPoint.Numerical2);
|
DisplayDays = int.Parse(InvestRedPoint.Numerical3);
|
|
int[] MultipleIntList = ConfigParse.GetMultipleStr<int>(FuncConfigConfig.Get("JadeInvest").Numerical1);
|
MultipleList.Clear();
|
for (int i = 0; i < MultipleIntList.Length; i++)
|
{
|
MultipleList.Add(MultipleIntList[i]);
|
}
|
Assignment();
|
}
|
|
public void OnBeforePlayerDataInitialize()
|
{
|
IsUpdateBool = true;
|
IsOk = false;
|
IsRedpoint = false;
|
SelectNumber = 0;
|
RecordSelectNumberMax = 0;
|
BinningDic.Clear();
|
InfoSeriorsTypeDic.Clear();
|
InvestmentAmountTypeDic.Clear();
|
FairyJadeInvestmentTypeDic.Clear();
|
Assignment();
|
|
}
|
|
public void OnPlayerLoginOk()
|
{
|
IsUpdateBool = true;
|
IsOk = true;
|
InvestmentAmount();
|
BinningType = GetFairyJadeType();
|
InvestmentRedPoint();
|
IsShowRedPointSimple();
|
PlayerDatas.Instance.playerDataRefreshEvent -= Updatefighting;
|
PlayerDatas.Instance.playerDataRefreshEvent += Updatefighting;
|
FairyJadeInvestmentWin.FairyJadeInvestmentRedPointEvent -= FairyJadeInvestmentRedPoint;
|
FairyJadeInvestmentWin.FairyJadeInvestmentRedPointEvent += FairyJadeInvestmentRedPoint;
|
GlobalTimeEvent.Instance.secondEvent -= secondEvent;
|
GlobalTimeEvent.Instance.secondEvent += secondEvent;
|
}
|
|
private void secondEvent()
|
{
|
if (IsUpdateBool)
|
{
|
int InvestGold = GetInvestGold();
|
if (InvestGold > 0)
|
{
|
InvestmentRedPoint();
|
}
|
IsShowRedPointSimple();
|
IsUpdateBool = false;
|
}
|
}
|
|
private void FairyJadeInvestmentRedPoint()
|
{
|
RedPointSate();
|
}
|
|
private void Updatefighting(PlayerDataType _tCDBPlayerRefresh)
|
{
|
if (_tCDBPlayerRefresh == PlayerDataType.LV)
|
{
|
IsUpdateBool = true;
|
}
|
}
|
|
public override void UnInit()
|
{
|
|
}
|
|
private void AssignmentType()
|
{
|
//根据投资类型来存储奖励信息(类型3,4,5)
|
if (FairyJadeInvestmentTypeDic.Count >= 3)
|
{
|
return;
|
}
|
var investConfig = InvestConfig.GetValues();
|
foreach (var value in investConfig)
|
{
|
if ((value.type == 3 || value.type == 4 || value.type == 5))
|
{
|
if (!FairyJadeInvestmentTypeDic.ContainsKey(value.type))
|
{
|
Dictionary<int, FairyJadeInvestmentClass> Dic = new Dictionary<int, FairyJadeInvestmentClass>();
|
FairyJadeInvestmentClass fairyJadeInvestment = new FairyJadeInvestmentClass();
|
fairyJadeInvestment.ID = value.id % 100;
|
fairyJadeInvestment.Type = value.type;
|
fairyJadeInvestment.NeedDay = value.needDay;
|
fairyJadeInvestment.NeedLv = value.needLV;
|
SetInfoSeriors(value.type, fairyJadeInvestment.ID);
|
MonthlyInvestmentModel.MonthlyInvestmentItem FairyJadeItem = new MonthlyInvestmentModel.MonthlyInvestmentItem();
|
var _jsonData = LitJson.JsonMapper.ToObject(value.award);
|
foreach (string key in _jsonData.Keys)
|
{
|
var _job = int.Parse(key);
|
var _itemArray = LitJson.JsonMapper.ToObject<int[][]>(_jsonData[key].ToJson());
|
for (int j = 0; j < _itemArray.Length; j++)
|
{
|
FairyJadeItem.Add(_job, new Item(_itemArray[j][0], _itemArray[j][1]));
|
}
|
}
|
fairyJadeInvestment.FairyJadeInvestmentItem = FairyJadeItem;
|
Dic.Add(value.needLV, fairyJadeInvestment);
|
FairyJadeInvestmentTypeDic.Add(value.type, Dic);
|
}
|
else
|
{
|
var dict = FairyJadeInvestmentTypeDic[value.type];
|
FairyJadeInvestmentClass fairyJadeInvestment = new FairyJadeInvestmentClass();
|
fairyJadeInvestment.ID = fairyJadeInvestment.ID = value.id % 100;
|
SetInfoSeriors(value.type, fairyJadeInvestment.ID);
|
fairyJadeInvestment.Type = value.type;
|
fairyJadeInvestment.NeedDay = value.needDay;
|
fairyJadeInvestment.NeedLv = value.needLV;
|
MonthlyInvestmentModel.MonthlyInvestmentItem FairyJadeItem = new MonthlyInvestmentModel.MonthlyInvestmentItem();
|
var _jsonData = LitJson.JsonMapper.ToObject(value.award);
|
foreach (string key in _jsonData.Keys)
|
{
|
var _job = int.Parse(key);
|
var _itemArray = LitJson.JsonMapper.ToObject<int[][]>(_jsonData[key].ToJson());
|
for (int j = 0; j < _itemArray.Length; j++)
|
{
|
FairyJadeItem.Add(_job, new Item(_itemArray[j][0], _itemArray[j][1]));
|
}
|
}
|
fairyJadeInvestment.FairyJadeInvestmentItem = FairyJadeItem;
|
if (!dict.ContainsKey(value.needLV))
|
{
|
dict.Add(value.needLV, fairyJadeInvestment);
|
|
}
|
else
|
{
|
dict[value.needLV] = fairyJadeInvestment;
|
}
|
}
|
}
|
}
|
}
|
|
private void SetInfoSeriors(int type, int id)
|
{
|
if (!InfoSeriorsTypeDic.ContainsKey(type))
|
{
|
Dictionary<int, int> dic = new Dictionary<int, int>();
|
dic.Add(id, 0);
|
InfoSeriorsTypeDic.Add(type, dic);
|
}
|
else
|
{
|
var dict = InfoSeriorsTypeDic[type];
|
if (dict.ContainsKey(id))
|
{
|
dict.Add(id, 0);
|
}
|
else
|
{
|
dict[id] = 0;
|
}
|
InfoSeriorsTypeDic[type] = dict;
|
}
|
|
}
|
public void Assignment()
|
{
|
AssignmentType();
|
}
|
|
public void GetInfoSeriors(HA337_tagMCGoldInvestInfo vNetData)//接受信息
|
{
|
if (vNetData.InvestType == 3 || vNetData.InvestType == 4 || vNetData.InvestType == 5)
|
{
|
InvestmentAmount();
|
if (BinningDic.ContainsKey(vNetData.InvestType) && InvestmentAmountTypeDic.ContainsKey(vNetData.InvestType))
|
{
|
var dit = InvestmentAmountTypeDic[vNetData.InvestType];
|
if (dit.ContainsKey((int)vNetData.InvestGold))
|
{
|
BinningClass binningClass = new BinningClass();
|
binningClass.Money= (int)vNetData.InvestGold;
|
binningClass.Binning= dit[(int)vNetData.InvestGold];
|
BinningDic[vNetData.InvestType] = binningClass;
|
}
|
|
}
|
if (InfoSeriorsTypeDic.ContainsKey(vNetData.InvestType))//奖励刷新赋值
|
{
|
var Dit = InfoSeriorsTypeDic[vNetData.InvestType];
|
for (int i = 0; i < vNetData.RewardRecordCnt; i++)
|
{
|
if (Dit.ContainsKey((int)vNetData.InvestRewardList[i].RewardIndex))
|
{
|
Dit[(int)vNetData.InvestRewardList[i].RewardIndex] = (int)vNetData.InvestRewardList[i].RewardValue;
|
}
|
}
|
InfoSeriorsTypeDic[vNetData.InvestType] = Dit;
|
}
|
InvestmentRedPoint();
|
if (FairyJadeInfoSeriorsUpdate != null)
|
{
|
FairyJadeInfoSeriorsUpdate();
|
}
|
}
|
}
|
|
public void SendInvestment(int InvestType, int RewardIndex)//领取奖励
|
{
|
CA541_tagCMGetInvestReward CA541 = new CA541_tagCMGetInvestReward();
|
CA541.InvestType = (byte)InvestType;
|
CA541.RewardIndex = (byte)RewardIndex;
|
GameNetSystem.Instance.SendInfo(CA541);
|
}
|
|
public void InvestmentMonthlyInvestment(int InvestType, int InvestGold)//仙玉投资
|
{
|
CA540_tagCMGoldInvest C540 = new CA540_tagCMGoldInvest();
|
C540.InvestType = (byte)InvestType;
|
C540.InvestGold = (uint)InvestGold;
|
GameNetSystem.Instance.SendInfo(C540);
|
}
|
|
public void InvestmentAmount()
|
{
|
InvestmentAmountType();
|
SetBinning();
|
}
|
|
private void SetBinning()
|
{
|
if (BinningDic.Count > 0)
|
{
|
return;
|
}
|
BinningClass binning1 = new BinningClass();
|
BinningClass binning2 = new BinningClass();
|
BinningClass binning3 = new BinningClass();
|
BinningDic.Add(3, binning1);
|
BinningDic.Add(4, binning2);
|
BinningDic.Add(5, binning3);
|
}
|
private void InvestmentAmountType()
|
{
|
if (InvestmentAmountTypeDic.Count > 0)
|
{
|
return;
|
}
|
Dictionary<int, int> Dic = new Dictionary<int, int>();
|
Dic.Add(VipInvestModel.GetInvestGold(3, 0), 1);
|
Dic.Add(VipInvestModel.GetInvestGold(3, 1), 2);
|
Dic.Add(VipInvestModel.GetInvestGold(3, 2), 3);
|
Dic.Add(VipInvestModel.GetInvestGold(3, 3), 4);
|
RecordSelectNumberMax = VipInvestModel.GetInvestGold(3, 3);
|
InvestmentAmountTypeDic.Add(3, Dic);
|
InvestmentAmountTypeDic.Add(4, Dic);
|
InvestmentAmountTypeDic.Add(5, Dic);
|
}
|
private const int Redpoint_key1 = 20910;
|
public Redpoint redPointStre1 = new Redpoint(209, Redpoint_key1);//仙玉投资红点
|
public int JumpInedx = 0;
|
|
|
|
private void InvestmentRedPoint()//红点
|
{
|
JumpInedx = 0;
|
int type = -1;
|
redPointStre1.state = RedPointState.None;
|
int PlayerLV = PlayerDatas.Instance.baseData.LV;
|
int InvestmentGrade = GetInvestmentGrade();
|
int _type = BinningType;
|
|
if (!FairyJadeInvestmentTypeDic.ContainsKey(_type))
|
{
|
return;
|
}
|
var Dit = FairyJadeInvestmentTypeDic[_type];
|
foreach (var key in Dit.Keys)
|
{
|
type += 1;
|
if (PlayerLV >= key)
|
{
|
int indexID = Dit[key].ID;
|
if (InvestmentGrade != 0)
|
{
|
var dit = GetInfoSeriors();
|
int IsReceive = 0;
|
if (dit.ContainsKey(indexID))
|
{
|
IsReceive = dit[indexID];
|
}
|
if (IsReceive == 0)
|
{
|
redPointStre1.state = RedPointState.GetReward;
|
JumpInedx = type;
|
return;
|
}
|
else
|
{
|
List<Item> fairyJadeInvestmentItem = Dit[key].FairyJadeInvestmentItem.GetAwardItem(InvestmentGrade);
|
int AtPresentNumber = 0;
|
if (IsReceive != 0)
|
{
|
List<Item> fairyJadeInvestmentItemAdd = Dit[key].FairyJadeInvestmentItem.GetAwardItem(IsReceive);
|
Item itemAdd = fairyJadeInvestmentItemAdd[0];
|
AtPresentNumber = itemAdd.count;
|
}
|
if (fairyJadeInvestmentItem[0].count > AtPresentNumber)
|
{
|
redPointStre1.state = RedPointState.GetReward;
|
JumpInedx = type;
|
return;
|
}
|
}
|
}
|
}
|
}
|
int type1 = -1;
|
if (JumpInedx == 0 && InvestmentGrade != 0)
|
{
|
foreach (var key in Dit.Keys)
|
{
|
type1 += 1;
|
if (key > PlayerLV)
|
{
|
JumpInedx = type1;
|
return;
|
}
|
}
|
}
|
}
|
private void RedPointSate()//月卡投资创角前三天红点
|
{
|
int InvestGold = GetInvestGold();
|
if (InvestGold > 0)
|
{
|
return;
|
}
|
if (IsRedpoint)
|
{
|
if (IsOpenFeatures())
|
{
|
redPointStre1.state = RedPointState.Simple;
|
}
|
|
}
|
else
|
{
|
InvestmentRedPoint();
|
}
|
}
|
|
private void IsShowRedPointSimple()
|
{
|
int GetDayOfYear = DateTime.Now.DayOfYear;
|
string strKey = "IsOpenFiaryJadeRedPoint" + PlayerDatas.Instance.baseData.PlayerID;
|
int day = LocalSave.GetInt(strKey);
|
if (day != GetDayOfYear)
|
{
|
if (TimeUtility.CreateDays <= DisplayDays && redPointStre1.state == RedPointState.None
|
&& PlayerDatas.Instance.baseData.LV >= DisplayLevel)
|
{
|
LocalSave.SetInt(strKey, GetDayOfYear);
|
IsRedpoint = true;
|
RedPointSate();
|
return;
|
}
|
|
}
|
if (!IsOpenFeatures())//功能关闭
|
{
|
redPointStre1.state = RedPointState.None;
|
return;
|
}
|
}
|
|
public void MessageNotification()
|
{
|
var _funcOrder = 0;
|
int InvestmentGrade = GetInvestmentGrade();
|
if (!OpenServerActivityCenter.Instance.IsAnyActivityOpen(out _funcOrder))
|
{
|
SysNotifyMgr.Instance.ShowTip("JadeInvestmentLimit1");//信息提示
|
return;
|
}
|
else if (InvestmentGrade <= 0 && PlayerDatas.Instance.baseData.LV >= 300)
|
{
|
SysNotifyMgr.Instance.ShowTip("JadeInvestmentLimit2");//信息提示
|
return;
|
}
|
else
|
{
|
bool isOpen = false;
|
if (InvestmentGrade == 4)
|
{
|
var dit = GetInfoSeriors();
|
foreach (int key in dit.Keys)
|
{
|
if (dit[key] != 4)
|
{
|
isOpen = true;
|
}
|
}
|
}
|
if (!isOpen && PlayerDatas.Instance.baseData.LV >= 300)
|
{
|
SysNotifyMgr.Instance.ShowTip("JadeInvestmentLimit3");//信息提示
|
return;
|
}
|
}
|
}
|
|
public int GetFairyJadeType()//获取投资类型
|
{
|
int type = 3;
|
bool Isbool = true;
|
int PlayerLV = PlayerDatas.Instance.baseData.LV;
|
foreach (var key in BinningDic.Keys)
|
{
|
if (BinningDic[key].Money != 0)
|
{
|
Isbool = false;
|
}
|
}
|
if (Isbool)//没有投资过永远为第一档
|
{
|
return 3;
|
}
|
bool Isbool3 = false;
|
|
if (FairyJadeInvestmentTypeDic.ContainsKey(3) && InfoSeriorsTypeDic.ContainsKey(3))
|
{
|
int typeGrade = GetInvestmentGradeT(3);
|
var dit = FairyJadeInvestmentTypeDic[3];
|
var dit1 = InfoSeriorsTypeDic[3];
|
foreach (var key in dit.Keys)
|
{
|
if (PlayerLV >= key)
|
{
|
int indexID = dit[key].ID;
|
int IsReceive = dit1[indexID];
|
if (IsReceive == 0)
|
{
|
Isbool3 = true;
|
}
|
else
|
{
|
List<Item> fairyJadeInvestmentItem = dit[key].FairyJadeInvestmentItem.GetAwardItem(typeGrade);
|
int AtPresentNumber = 0;
|
if (IsReceive != 0)
|
{
|
List<Item> fairyJadeInvestmentItemAdd = dit[key].FairyJadeInvestmentItem.GetAwardItem(IsReceive);
|
Item itemAdd = fairyJadeInvestmentItemAdd[0];
|
AtPresentNumber = itemAdd.count;
|
}
|
if (fairyJadeInvestmentItem[0].count > AtPresentNumber)
|
{
|
Isbool3 = true;
|
}
|
}
|
}
|
}
|
}
|
if (Isbool3 || PlayerLV <= 300)
|
{
|
return 3;
|
}
|
if (BinningDic.ContainsKey(4) && BinningDic[4].Money == 0)
|
{
|
return 4;
|
}
|
bool Isbool4 = false;
|
if (BinningDic.ContainsKey(4) && BinningDic[4].Money != 0 && FairyJadeInvestmentTypeDic.ContainsKey(4) && InfoSeriorsTypeDic.ContainsKey(4))
|
{
|
int typeGrade = GetInvestmentGradeT(4);
|
var dit = FairyJadeInvestmentTypeDic[4];
|
var dit1 = InfoSeriorsTypeDic[4];
|
foreach (var key in dit.Keys)
|
{
|
if (PlayerLV >= key)
|
{
|
int indexID = dit[key].ID;
|
int IsReceive = dit1[indexID];
|
if (IsReceive == 0)
|
{
|
Isbool4 = true;
|
}
|
else
|
{
|
List<Item> fairyJadeInvestmentItem = dit[key].FairyJadeInvestmentItem.GetAwardItem(typeGrade);
|
int AtPresentNumber = 0;
|
if (IsReceive != 0)
|
{
|
List<Item> fairyJadeInvestmentItemAdd = dit[key].FairyJadeInvestmentItem.GetAwardItem(IsReceive);
|
Item itemAdd = fairyJadeInvestmentItemAdd[0];
|
AtPresentNumber = itemAdd.count;
|
}
|
if (fairyJadeInvestmentItem[0].count > AtPresentNumber)
|
{
|
Isbool4 = true;
|
}
|
|
}
|
}
|
}
|
}
|
if ((PlayerLV > 300 && PlayerLV <= 400) || Isbool4)
|
{
|
return 4;
|
}
|
if (BinningDic.ContainsKey(5) && BinningDic[5].Money == 0)
|
{
|
return 5;
|
}
|
bool Isbool5 = false;
|
if (FairyJadeInvestmentTypeDic.ContainsKey(5) && InfoSeriorsTypeDic.ContainsKey(5))
|
{
|
int typeGrade = GetInvestmentGradeT(5);
|
var dit = FairyJadeInvestmentTypeDic[5];
|
var dit1 = InfoSeriorsTypeDic[5];
|
foreach (var key in dit.Keys)
|
{
|
if (PlayerLV >= key)
|
{
|
int indexID = dit[key].ID;
|
int IsReceive = dit1[indexID];
|
if (IsReceive == 0)
|
{
|
Isbool5 = true;
|
}
|
else
|
{
|
List<Item> fairyJadeInvestmentItem = dit[key].FairyJadeInvestmentItem.GetAwardItem(typeGrade);
|
int AtPresentNumber = 0;
|
if (IsReceive != 0)
|
{
|
List<Item> fairyJadeInvestmentItemAdd = dit[key].FairyJadeInvestmentItem.GetAwardItem(IsReceive);
|
Item itemAdd = fairyJadeInvestmentItemAdd[0];
|
AtPresentNumber = itemAdd.count;
|
}
|
if (fairyJadeInvestmentItem[0].count > AtPresentNumber)
|
{
|
Isbool5 = true;
|
}
|
}
|
}
|
}
|
}
|
|
if ((PlayerLV > 400 && PlayerLV <= 500) || Isbool5)
|
{
|
return 5;
|
}
|
return 5;
|
}
|
|
private int GetInvestmentGradeT(int Type)
|
{
|
int InvestmentGrade = 0;
|
if (BinningDic.ContainsKey(Type))
|
{
|
InvestmentGrade = BinningDic[Type].Binning;
|
}
|
return InvestmentGrade;
|
}
|
public int GetInvestmentGrade()//获取投资档位
|
{
|
int InvestmentGrade = 0;
|
int type =BinningType;
|
if (BinningDic.ContainsKey(type))
|
{
|
InvestmentGrade = BinningDic[type].Binning;
|
}
|
return InvestmentGrade;
|
}
|
public int GetInvestGold()//获取投资金额
|
{
|
int InvestGold = 0;
|
int type = BinningType;
|
if (BinningDic.ContainsKey(type))
|
{
|
InvestGold = BinningDic[type].Money;
|
}
|
return InvestGold;
|
}
|
public Dictionary<int, int> GetInfoSeriors()
|
{
|
Dictionary<int, int> dit = new Dictionary<int, int>();
|
int type = BinningType;
|
if (InfoSeriorsTypeDic.ContainsKey(type))
|
{
|
dit = InfoSeriorsTypeDic[type];
|
}
|
return dit;
|
}
|
}
|
|
|
|
|