예제 #1
0
        public void ShowTables()
        {
            return;

            Action <FXCore.TableAut, int> showTable = (t, i) => {
                var r = (t.Rows as FXCore.RowsEnumAut).Item(i) as FXCore.RowAut;
                foreach (FXCore.ColumnAut c in t.Columns as FXCore.ColumnsEnumAut)
                {
                    Debug.WriteLine(c.Title + ":" + r.CellValue(c.Title));
                }
            };
            var table = o2g.GetTable(FXW.TABLE_ACCOUNTS);

            showTable(table, 1);
            Debug.WriteLine("");
            table = o2g.GetTable(FXW.TABLE_TRADES);
            showTable(table, 1);
            Debug.WriteLine("");
            table = o2g.GetTable(FXW.TABLE_ORDERS);
            showTable(table, 3);
            Debug.WriteLine("");
            showTable(o2g.GetTable(FXW.TABLE_SUMMARY), 3);
            //var account = o2g.GetAccount();
        }