vm skeleton
This commit is contained in:
1 parent
86467b2be1
commit
af2875e0ef
1 file changed
+73
@@ -0,0 +1,73 @@
|
||||
using bts.api;
|
||||
using bts.utils;
|
||||
using mbts.collections;
|
||||
using mbts.persist;
|
||||
using mbts.spark.filters;
|
||||
using mbts.spark.utilities;
|
||||
using mbts.ui;
|
||||
using mbts.ui.controls;
|
||||
using mbts.ui.settings;
|
||||
using mbts.ui.shell;
|
||||
using mbts.ui.utility;
|
||||
using mbts.utils;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Collections.Specialized;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using System.Reactive.Disposables;
|
||||
using System.Reactive.Linq;
|
||||
using System.Reactive.Subjects;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
|
||||
|
||||
namespace mbts.spark {
|
||||
class ManualFillsVM {
|
||||
|
||||
public ManualFillsVM() { }
|
||||
|
||||
public ObservableCollection<Row> rows { get; set; }
|
||||
|
||||
public ICommand add_fill_cmd { get; }
|
||||
public ICommand modify_fill_cmd { get; }
|
||||
public ICommand remove_fill_cmd { get; }
|
||||
public ICommand import_fills_cmd { get; }
|
||||
|
||||
}
|
||||
|
||||
public class Row : IEditableObject {
|
||||
|
||||
public Row() { }
|
||||
|
||||
public string display_name => "a security!";
|
||||
|
||||
public SecurityImmutable security { get; private set; }
|
||||
public string account { get; private set; }
|
||||
|
||||
public string user { get; private set; }
|
||||
|
||||
public Side side { get; private set; }
|
||||
|
||||
public uint size { get; private set; }
|
||||
|
||||
public double price { get; private set; }
|
||||
|
||||
#region IEditableObject
|
||||
public void BeginEdit() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public void CancelEdit() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public void EndEdit() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user