- 제3자배정 추가

- 영업실적 추가
This commit is contained in:
2017-01-27 01:22:11 +09:00
parent 16733892b7
commit b58125455f
7 changed files with 352 additions and 34 deletions

View File

@@ -20,7 +20,8 @@ namespace NewsCrawler
{
m_Data.Add("manual-price", "100000");
m_Data.Add("buy-price", "1000000");
m_Data.Add("supply-contract-rate", "5.0");
m_Data.Add("supply-contract-rate", "50.0");
m_Data.Add("revenue-rate", "50.0");
Load();
int iIdx = 1;
@@ -126,6 +127,19 @@ namespace NewsCrawler
return fRate;
}
public static void SetRevenueRate(float fRate)
{
m_Data["revenue-rate"] = fRate.ToString();
Save();
}
public static float GetRevenueRate()
{
float fRate;
float.TryParse(m_Data["revenue-rate"], out fRate);
return fRate;
}
public static string GetDartAPIKey()
{
if(m_iDartAPIKeyCnt <= 0)