계좌 선택 기능 추가
This commit is contained in:
17
Config.cs
17
Config.cs
@@ -77,5 +77,22 @@ namespace NewsCrawler
|
||||
m_Data["buy-price"] = iPrice.ToString();
|
||||
Save();
|
||||
}
|
||||
|
||||
public static void SetAccount(string strAccount, string strAccountSub)
|
||||
{
|
||||
m_Data["account"] = strAccount;
|
||||
m_Data["sub-account"] = strAccountSub;
|
||||
Save();
|
||||
}
|
||||
|
||||
public static string GetAccount()
|
||||
{
|
||||
return m_Data["account"];
|
||||
}
|
||||
|
||||
public static string GetSubAccount()
|
||||
{
|
||||
return m_Data["sub-account"];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user