コード例 #1
0
ファイル: BarPanel.cs プロジェクト: wtrebella/Grappler
	private Bar GetBarPrefab(BarType barType) {
		if (barType == BarType.PlainBar) return plainBarPrefab;
		else if (barType == BarType.ButtonBar) return buttonBarPrefab;
		else {
			Debug.LogError("invalid bar type: " + barType.ToString());
			return null;
		}
	}
コード例 #2
0
 public static void DeleteBar(Instrument instrument, DateTime datetime, BarType barType, long barSize)
 {
     DataManager.DeleteDataObject(instrument, datetime, new string[]
     {
         "Bar",
         barType.ToString(),
         barSize.ToString()
     });
 }
コード例 #3
0
 public static void DeleteBarSeries(Instrument instrument, BarType barType, long barSize)
 {
     DataManager.DeleteDataSeries(instrument, new string[]
     {
         "Bar",
         barType.ToString(),
         barSize.ToString()
     });
 }
コード例 #4
0
		public static void DeleteBar(Instrument instrument, DateTime datetime, BarType barType, long barSize)
		{
			DataManager.DeleteDataObject(instrument, datetime, new string[]
			{
				"Bar",
				barType.ToString(),
				barSize.ToString()
			});
		}
コード例 #5
0
		public static void DeleteBarSeries(Instrument instrument, BarType barType, long barSize)
		{
			DataManager.DeleteDataSeries(instrument, new string[]
			{
				"Bar",
				barType.ToString(),
				barSize.ToString()
			});
		}