Example #1
0
 public CategoryModel()
 {
     SelectedKey = null;
     Db          = new DataBlockModel();
     S7Items     = new ObservableCollection <SymbolTableItemModel>();
     Keys        = new ObservableCollection <KeyModel>();
 }
Example #2
0
 public CategoryModel(int initId, string initName, string initDescription)
 {
     Id          = initId;
     Name        = initName;
     Description = initDescription;
     SelectedKey = null;
     Db          = new DataBlockModel();
     S7Items     = new ObservableCollection <SymbolTableItemModel>();
     Keys        = new ObservableCollection <KeyModel>();
 }
Example #3
0
 public void AddDb(DataBlockModel newDb)
 {
     Db = newDb;
 }