C# 클래스 Marmalade_Global.G3Controller

파일 보기 프로젝트 열기: DMOE15C/project-marmelade

공개 프로퍼티들

프로퍼티 타입 설명
ListOfIngredients List
OrdersList List
ProductList List
WeeklyProductlist List

공개 메소드들

메소드 설명
AddIngredient ( string type, double weight, double price ) : void

Method called in AddIngredient window, to create and add an ingredient to the ListOfIngredients

AddOrder ( double weeklyBudget ) : void
AddProduct ( int amountOfIngredeints, string productName, string veriety, double size, string containerType, double productPrice, string ingredOne, string ingredTwo ) : void
ReturnIngredientListAsString ( ) : string

메소드 상세

AddIngredient() 공개 정적인 메소드

Method called in AddIngredient window, to create and add an ingredient to the ListOfIngredients
public static AddIngredient ( string type, double weight, double price ) : void
type string
weight double
price double
리턴 void

AddOrder() 공개 정적인 메소드

public static AddOrder ( double weeklyBudget ) : void
weeklyBudget double
리턴 void

AddProduct() 공개 정적인 메소드

public static AddProduct ( int amountOfIngredeints, string productName, string veriety, double size, string containerType, double productPrice, string ingredOne, string ingredTwo ) : void
amountOfIngredeints int
productName string
veriety string
size double
containerType string
productPrice double
ingredOne string
ingredTwo string
리턴 void

ReturnIngredientListAsString() 공개 정적인 메소드

public static ReturnIngredientListAsString ( ) : string
리턴 string

프로퍼티 상세

ListOfIngredients 공개적으로 정적으로 프로퍼티

Static ListOfIngredients which is to be loaded at the beginning of the program, to fill it with information from database
public static List ListOfIngredients
리턴 List

OrdersList 공개적으로 정적으로 프로퍼티

Static OrderList which is to be loaded at the beginning of the program, to fill it with information from the database.
public static List OrdersList
리턴 List

ProductList 공개적으로 정적으로 프로퍼티

Static productList which is to be loaded at the beginning of the program, to fill it with information from the database.
public static List ProductList
리턴 List

WeeklyProductlist 공개적으로 정적으로 프로퍼티

Static weeklyProductlist which is to be loaded at the beginning of the program, to fill it with information from the database.
public static List WeeklyProductlist
리턴 List