public FabricViewModel() { FabricNameList = new ObservableCollection <string>(); FabricList = new ObservableCollection <Fabric>(FabricModule.GetFabricList()); AverageUnitPrice = 200; AverageCost = 170; }
public NewMalFunctionViewModel() { CustomerList = CustomerModule.GetCustomerList(); FabricList = FabricModule.GetFabricList(); FactoryList = FactoryModule.GetFactoryList(); ProcessOrderList = ProcessModule.GetProcessOrder(); }
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; }