Exemple #1
0
 public FabricViewModel()
 {
     FabricNameList   = new ObservableCollection <string>();
     FabricList       = new ObservableCollection <Fabric>(FabricModule.GetFabricList());
     AverageUnitPrice = 200;
     AverageCost      = 170;
 }
Exemple #2
0
 public NewMalFunctionViewModel()
 {
     CustomerList     = CustomerModule.GetCustomerList();
     FabricList       = FabricModule.GetFabricList();
     FactoryList      = FactoryModule.GetFactoryList();
     ProcessOrderList = ProcessModule.GetProcessOrder();
 }
Exemple #3
0
        public FabricCostQueryViewModel(StackPanel stackPanel, StackPanel stackPanelProcessSequence)
        {
            FabricList      = new ObservableCollection <Fabric>(FabricModule.GetFabricList());
            FabricColorList = new ObservableCollection <FabricColor>();
            FabricIngredientProportionGroup.Add(1, new ObservableCollection <FabricIngredientProportion>());

            _stackPanel = stackPanel;
            _stackPanelProcessSequence = stackPanelProcessSequence;
        }