using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; using Weee.Models; using Resources; namespace Weee.Models.Paramemter { //此enum 為 年參數與一般參數之category, 與simapro parameter之category無關 public enum Categories { //non yearly [Display(Name = "ParamemterCategoriesSeptic", ResourceType = typeof(Resource))] Septic, // 0 //yearly [Display(Name = "ParamemterCategoriesElectric", ResourceType = typeof(Resource))] Electric, // 1 //yearly [Display(Name = "ParamemterCategoriesWater", ResourceType = typeof(Resource))] Water, // 2 //non yearly [Display(Name = "ParamemterCategoriesWasteWater", ResourceType = typeof(Resource))] WasteWater, // 3 //non yearly [Display(Name = "ParamemterCategoriesWaste", ResourceType = typeof(Resource))] Waste, // 4 //non yearly [Display(Name = "ParamemterCategoriesTransport", ResourceType = typeof(Resource))] Transport, // 5 //yearly [Display(Name = "ParamemterCategoriesVehicle", ResourceType = typeof(Resource))] Vehicle, // 6 //yearly [Display(Name = "ParamemterCategoriesGasolineEquipment", ResourceType = typeof(Resource))] GasolineEquipment, // 7 //yearly [Display(Name = "ParamemterCategoriesKitchen", ResourceType = typeof(Resource))] Kitchen, // 8 //non yearly [Display(Name = "ParamemterCategoriesRefrigerant", ResourceType = typeof(Resource))] Refrigerant, // 9 //non yearly [Display(Name = "ParamemterCategoriesRefrigerantGWP", ResourceType = typeof(Resource))] RefrigerantGWP, // 10 //non yearly [Display(Name = "ParamemterCategoriesFireEquipment", ResourceType = typeof(Resource))] FireEquipment, // 11 //yearly [Display(Name = "ParamemterCategoriesSteam", ResourceType = typeof(Resource))] Steam, // 12 //non yearly [Display(Name = "ParamemterCategoriesOtherCompound", ResourceType = typeof(Resource))] OtherCompound, // 13 //yearly , for orgization survey form [Display(Name = "ParamemterCategoriesElectricOrganization", ResourceType = typeof(Resource))] ElectricOrganization, // 14 //non yearly , for orgization survey form [Display(Name = "ParamemterCategoriesRefrigerantGWPOrganization", ResourceType = typeof(Resource))] RefrigerantGWPOrganization, // 15 //yearly , for orgization survey form [Display(Name = "ParamemterCategoriesSteamOrganization", ResourceType = typeof(Resource))] SteamOrganization, // 16 //yearly for orgization survey form [Display(Name = "ParamemterCategoriesVehicleOrganization", ResourceType = typeof(Resource))] VehicleOrganization, // 17 // these 3 categories should never be display in backend parameters , this 3 types is only for sheet header , to determinte the sheet filler // 這三個類別主要用途為在sheet header table中取得填表人資訊用 , 不應有parameter真的是這三個category [Display(Name = "DirectMaterial", ResourceType = typeof(Resource))] DirectMaterial, // 18 [Display(Name = "IndirectMaterial", ResourceType = typeof(Resource))] IndirectMaterial, // 19 [Display(Name = "WrapMaterial", ResourceType = typeof(Resource))] WrapMaterial, // 20 //本category 是為了分辨 transport 與waste transport 的sheet header [Display(Name = "WasteTransportation", ResourceType = typeof(Resource))] SheetHeaderWasteTransport, // 21 // 此類別和其他Material類別相同,用途在sheet header table中取得填表人資訊 [Display(Name = "BOM", ResourceType = typeof(Resource))] BOM, // 22 } }