- 제3자배정 추가
- 영업실적 추가
This commit is contained in:
16
Config.cs
16
Config.cs
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user