| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989 | 
							- // NOTE object below must be a valid JSON
 
- window.BemsWebApplication = $.extend(true, window.BemsWebApplication, {
 
-     "config": {
 
-         //"mode": "production",
 
-         "Group": 1, //1: 기존, 2: 현대해상
 
- 	"HOSiteId" : 2,
 
-         "mode": "local",
 
-         "control": false,
 
-         "siteenable": false,
 
-         "siteId": 1,
 
-         "Version": "2.1.1",
 
-         "Report": {
 
-             "BusinessFieldSeq": {
 
-                 "Enable": false,
 
-                 "Value": "1;3;5;2;1021;1023"
 
-             },
 
-             "UserSeq": {
 
-                 "Enable": false,
 
-                 "Value": "kkpp1207;crow2161",
 
-             }
 
-         },
 
-         "endpoints": {
 
-             "db": {
 
-                 "local": "http://localhost:3403/BemsDataService.svc",
 
-                 "production": "http://192.168.100.123:8080/BemsDataService.svc"
 
-             },
 
-             "odata": {
 
-                 "local": "http://localhost:3403/odata",
 
-                 "production": "http://192.168.100.123:8080/odata"
 
-             },
 
-             "api": {
 
-                 "local": "http://localhost:3403/api",
 
-                 "production": "http://192.168.100.123:8080/api",
 
-             },
 
-             "service": {
 
-                 "local": "http://localhost:3403",
 
-                 "production": "http://192.168.100.123:8080",
 
-             },
 
-             "partial": {
 
-                 "local": "http://localhost:8083/apps",
 
-                 "production": "http://192.168.100.123:8085/apps"
 
-             }
 
-         },
 
-         "api": {
 
-             "db": {
 
-                 "entities": {
 
-                     "BemsMonitoringPoint": {
 
-                         "key": ["FacilityCode", "PropertyId", "SiteId"],
 
-                         "keyType": { "FacilityCode": "Int32", "PropertyId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "AvailableDueDate": {
 
-                         "key": ["DueDate"],
 
-                         "keyType": { "DueDate": "DateTime" }
 
-                     },
 
-                     "DailyMaterialStockStatus": {
 
-                         "key": ["SiteId", "BusinessFieldId", "MaterialId", "StoredReleasedDate"],
 
-                         "keyType": { "SiteId": "Int32", "BusinessFieldId": "Int32", "MaterialId": "Int32", "StoredReleasedDate": "DateTime" }
 
-                     },
 
-                     "CmMenu": {
 
-                         "key": ["MenuId", "SiteId"],
 
-                         "keyType": { "MenuId": "String", "SiteId": "Int32" }
 
-                     },
 
-                     "BemsChartInfo": {
 
-                         "key": ["ChartId", "FacilityTypeId", "SiteId"],
 
-                         "keyType": { "ChartId": "Int32", "FacilityTypeId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                 }
 
-             }
 
-         },
 
-         // 주의!! key와 keyType이 하나라면 강제로 각각 배열[] 과 객체{}로 수동작업 해야 한다.
 
-         // DevExpress 버그로 byKey 함수로 쿼리문을 만들지 못한다.
 
-         "odata": {
 
-             "db": {
 
-                 "entities": {
 
-                     "MonitoringPoint": {
 
-                         "key": ["FacilityCode", "PropertyId", "SiteId"],
 
-                         "keyType": { "FacilityCode": "Int32", "PropertyId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "Facility": {
 
-                         "key": ["FacilityCode", "SiteId"],
 
-                         "keyType": { "FacilityCode": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "CheckGroupTargetFacility": {
 
-                         "key": ["FacilityCode", "CheckGroupId", "SiteId"],
 
-                         "keyType": { "FacilityCode": "Int32", "CheckGroupId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsWorkResultCheckItem": {
 
-                         "key": ["CheckItemId"],
 
-                         "keyType": { "CheckItemId": "Int32" }
 
-                         /*
 
-                         "key": ["CheckItemId", "WorkRequestId", "SiteId"],
 
-                         "keyType": { "CheckItemId": "Int32", "WorkRequestId": "Int32", "SiteId": "Int32" } */
 
-                     },
 
-                     "FmsWorkResultCheckItemMaterial": {
 
-                         /*
 
-                         "key": ["CheckItemId", "WorkRequestId", "SiteId", "CheckItemMaterialId"],
 
-                         "keyType": { "CheckItemId": "Int32", "WorkRequestId": "Int32", "SiteId": "Int32", "CheckItemMaterialId": "Int32" } */
 
-                         "key": ["CheckItemMaterialId"],
 
-                         "keyType": { "CheckItemMaterialId": "Int32" }
 
-                     },
 
-                     "MonthlyStoredReleaseStatus": {
 
-                         "key": ["MaterialStoredId", "BusinessFieldId", "SiteId"],
 
-                         "keyType": { "MaterialStoredId": "Int32", "BusinessFieldId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsEquipmentEx": {
 
-                         "key": ["EquipmentId", "SiteId"],
 
-                         "keyType": { "EquipmentId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsBudgetDetailExecutionEx": {
 
-                         "key": ["SiteId", "Year", "Month"],
 
-                         "keyType": { "SiteId": "Int32", "Year": "Int32", "Month": "Int32" }
 
-                     },
 
-                     "FmsMaterialEx": {
 
-                         "key": ["MaterialId", "SiteId"],
 
-                         "keyType": { "MaterialId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsMaterialPurchaseRequestEx": {
 
-                         "key": ["PurchaseRequestId", "SiteId"],
 
-                         "keyType": { "PurchaseRequestId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsBudgetCodeClassEx": {
 
-                         "key": ["ThirdBudgetClassId", "SiteId"],
 
-                         "keyType": { "ThirdBudgetClassId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsBudgetCodeClass": {
 
-                         "key": ["BudgetClassId", "SiteId"],
 
-                         "keyType": { "BudgetClassId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsBudgetDetail": {
 
-                         "key": ["Year", "BudgetClassId", "SiteId", "ParentBudgetClassId"],
 
-                         "keyType": { "Year": "Int32", "BudgetClassId": "Int32", "SiteId": "Int32", "ParentBudgetClassId": "Int32" }
 
-                     },
 
-                     "FmsBudgetDetailExecution2": {
 
-                         "key": ["SiteId", "Year", "BudgetClassId", "ParentBudgetClassId", "Month"],
 
-                         "keyType": { "SiteId": "Int32", "Year": "Int32", "BudgetClassId": "Int32", "ParentBudgetClassId": "Int32", "Month": "Int32" }
 
-                     },
 
-                     "FmsMaterialStockHistoryDaily": {
 
-                         "key": ["HistoryId", "SiteId"],
 
-                         "keyType": { "HistoryId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsMaterialStockHistoryMonthly": {
 
-                         "key": ["HistoryId", "SiteId"],
 
-                         "keyType": { "HistoryId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "CmPatrolHistoryEx": {
 
-                         "key": ["PatrolHistoryId"],
 
-                         "keyType": { "PatrolHistoryId": "Int32" }
 
-                     },
 
-                 }
 
-             }
 
-         },
 
-         "services": {
 
-             "db": {
 
-                 "entities": {
 
-                     "BemsAnalysisType": {
 
-                         "key": ["AnalysisType", "SiteId"],
 
-                         "keyType": { "AnalysisType": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "BemsFacilityType": {
 
-                         "key": ["FacilityTypeId"],
 
-                         "keyType": { "FacilityTypeId": "Int32" }
 
-                     },
 
-                     "BemsFactorCo2": {
 
-                         "key": ["FuelTypeId"],
 
-                         "keyType": { "FuelTypeId": "Int32" }
 
-                     },
 
-                     "BemsFactorToe": {
 
-                         "key": ["FuelTypeId"],
 
-                         "keyType": { "FuelTypeId": "Int32" }
 
-                     },
 
-                     "BemsFormula": {
 
-                         "key": ["FacilityCode", "FacilityTypeId", "FormulaId", "SiteId"],
 
-                         "keyType": { "FacilityCode": "Int32", "FacilityTypeId": "Int32", "FormulaId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "BemsFormulaBase": {
 
-                         "key": ["FacilityTypeId", "FormulaId"],
 
-                         "keyType": { "FacilityTypeId": "Int32", "FormulaId": "Int32" }
 
-                     },
 
-                     "BemsFormulaParameter": {
 
-                         "key": ["FacilityCode", "FormulaId", "ParameterId", "SiteId"],
 
-                         "keyType": { "FacilityCode": "Int32", "FormulaId": "Int32", "ParameterId": "String", "SiteId": "Int32" }
 
-                     },
 
-                     "BemsFormulaTable": {
 
-                         "key": ["TableId"],
 
-                         "keyType": { "TableId": "Int32" }
 
-                     },
 
-                     "BemsFormulaTableValue": {
 
-                         "key": ["TableId", "XValue"],
 
-                         "keyType": { "TableId": "Int32", "XValue": "Double" }
 
-                     },
 
-                     "BemsFuelType": {
 
-                         "key": ["FuelTypeId"],
 
-                         "keyType": { "FuelTypeId": "Int32" }
 
-                     },
 
-                     "BemsMonitoringPoint": {
 
-                         "key": ["FacilityCode", "PropertyId", "SiteId"],
 
-                         "keyType": { "FacilityCode": "Int32", "PropertyId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "BemsEnergyConfigPercentMonth": {
 
-                         "key": ["Month", "Year", "SiteId"],
 
-                         "keyType": { "Month": "Int32", "Year": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "BemsEnergyConfigPercentWeek": {
 
-                         "key": ["Week", "Year", "SiteId"],
 
-                         "keyType": { "Week": "Int32", "Year": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "BemsEnergyDailyRegression": {
 
-                         "key": ["SiteId"],
 
-                         "keyType": { "SiteId": "Int32" }
 
-                     },
 
-                     "BemsEnergyDaily": {
 
-                         "key": ["CreatedDate", "FuelTypeId", "ServiceTypeId", "BuildingId", "SiteId"],
 
-                         "keyType": { "CreatedDate": "DateTime", "FuelTypeId": "Int32", "ServiceTypeId": "Int32", "BuildingId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "BemsEnergyGoalDaily": {
 
-                         "key": ["CreatedDate", "BuildingId", "SiteId"],
 
-                         "keyType": { "CreatedDate": "DateTime", "BuildingId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "AvailableDueDate": {
 
-                         "key": ["DueDate"],
 
-                         "keyType": { "DueDate": "DateTime" }
 
-                     },
 
-                     "BemsMonitoringPointBaseData": {
 
-                         "key": ["FacilityTypeId", "PropertyId", "SiteId"],
 
-                         "keyType": { "FacilityTypeId": "Int32", "PropertyId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "BemsMonitoringPointConfig": {
 
-                         "key": ["FacilityCode", "PropertyId", "SiteId"],
 
-                         "keyType": { "FacilityCode": "Int32", "PropertyId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "BemsMonitoringPointHistory15min": {
 
-                         "key": ["CreatedDateTime", "FacilityCode", "PropertyId", "SiteId"],
 
-                         "keyType": { "CreatedDateTime": "DateTime", "FacilityCode": "Int32", "PropertyId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "BemsMonitoringPointHistory15minRawData": {
 
-                         "key": ["CreatedDateTime", "FacilityCode", "PropertyId", "SiteId"],
 
-                         "keyType": { "CreatedDateTime": "DateTime", "FacilityCode": "Int32", "PropertyId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "BemsMonitoringPointHistoryDaily": {
 
-                         "key": ["CreatedDateTime", "FacilityCode", "PropertyId", "SiteId"],
 
-                         "keyType": { "CreatedDateTime": "DateTime", "FacilityCode": "Int32", "PropertyId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "BemsMonitoringPointHistoryHourly": {
 
-                         "key": ["CreatedDateTime", "FacilityCode", "PropertyId", "SiteId"],
 
-                         "keyType": { "CreatedDateTime": "DateTime", "FacilityCode": "Int32", "PropertyId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "BemsMonitoringPointToAnlaysisType": {
 
-                         "key": ["AnalysisType", "FacilityCode", "FacilityTypeId", "PropertyId", "SiteId"],
 
-                         "keyType": { "AnalysisType": "Int32", "FacilityCode": "Int32", "FacilityTypeId": "Int32", "PropertyId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "BemsServiceType": {
 
-                         "key": ["ServiceTypeId"],
 
-                         "keyType": { "ServiceTypeId": "Int32" }
 
-                     },
 
-                     "BemsPriceType": {
 
-                         "key": ["PriceTypeId"],
 
-                         "keyType": { "PriceTypeId": "Int32" }
 
-                     },
 
-                     "BemsPriceMeta": {
 
-                         "key": ["PriceTypeId", "PublishDate"],
 
-                         "keyType": { "PriceTypeId": "Int32", "PublishDate": "DateTime" }
 
-                     },
 
-                     "BemsPriceCode": {
 
-                         "key": ["PriceCode"],
 
-                         "keyType": { "PriceCode": "String" }
 
-                     },
 
-                     "BemsSitePrice": {
 
-                         "key": ["SiteId", "FuelTypeId", "PriceCode", "PriceTypeId"],
 
-                         "keyType": { "SiteId": "Int32", "FuelTypeId": "Int32", "PriceCode": "String", "PriceTypeId": "Int32" }
 
-                     },
 
-                     "BemsPriceFormula": {
 
-                         "key": ["SiteId", "PriceTypeId", "FacilityTypeId", "FormulaId", "FacilityCode"],
 
-                         "keyType": { "SiteId": "Int32", "PriceTypeId": "Int32", "FacilityTypeId": "Int32", "FormulaId": "Int32", "FacilityCode": "Int32" }
 
-                     },
 
-                     "BemsSitePriceHistory": {
 
-                         "key": ["SiteId", "FuelTypeId", "PriceTypeId", "PriceCode", "PayDate"],
 
-                         "keyType": { "SiteId": "Int32", "FuelTypeId": "Int32", "PriceTypeId": "Int32", "PriceCode": "String", "PayDate": "String" }
 
-                     },
 
-                     "BemsReportFormat": {
 
-                         "key": ["ReportFormatId", "parts"],
 
-                         "keyType": { "ReportFormatId": "Int32", "parts": "Int32" }
 
-                     },
 
-                     "BemsReportHistory": {
 
-                         "key": ["DateTime", "Seq", "ReportFormatId", "parts"],
 
-                         "keyType": { "DateTime": "DateTime", "Seq": "Int32", "ReportFormatId": "Int32", "parts": "Int32" }
 
-                     },
 
-                     "BemsRentalRate": {
 
-                         "key": ["Date", "SiteId"],
 
-                         "keyType": { "Date": "String", "SiteId": "Int32" }
 
-                     },
 
-                     "BemsPeopleIncrease": {
 
-                         "key": ["Date", "SiteId"],
 
-                         "keyType": { "Date": "String", "SiteId": "Int32" }
 
-                     },
 
-                     "BemsAlarmSetting": {
 
-                         "key": ["SiteId", "FacilityTypeId", "FacilityCode", "PropertyId", "FormulaId"],
 
-                         "keyType": { "SiteId": "Int32", "FacilityTypeId": "Int32", "FacilityCode": "Int32", "PropertyId": "Int32", "FormulaId": "Int32" }
 
-                     },
 
-                     "BemsAlarmLog": {
 
-                         "key": ["SiteId", "FacilityTypeId", "FacilityCode", "PropertyId", "FormulaId", "CreatedDateTime"],
 
-                         "keyType": { "SiteId": "Int32", "FacilityTypeId": "Int32", "FacilityCode": "Int32", "PropertyId": "Int32", "FormulaId": "Int32", "CreatedDateTime": "DateTime" }
 
-                     },
 
-                     "BemsAlarmGroup": {
 
-                         "key": ["SiteId", "AlarmGroupId"],
 
-                         "keyType": { "SiteId": "Int32", "AlarmGroupId": "Int32" }
 
-                     },
 
-                     "BemsEnergyCost": {
 
-                         "key": ["SiteId", "FacilityCode"],
 
-                         "keyType": { "SiteId": "Int32", "FacilityCode": "Int32" }
 
-                     },
 
-                     "BemsAlarmGroupUser": {
 
-                         "key": ["SiteId", "AlarmGroupId", "UserId"],
 
-                         "keyType": { "SiteId": "Int32", "AlarmGroupId": "Int32", "UserId": "String" }
 
-                     },
 
-                     "CmBuilding": {
 
-                         "key": ["BuildingId", "SiteId", "Name"],
 
-                         "keyType": { "BuildingId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "CmBusinessField": {
 
-                         "key": ["BusinessFieldId", "SiteId"],
 
-                         "keyType": { "BusinessFieldId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "CmCompany": {
 
-                         "key": ["CompanyId", "SiteId"],
 
-                         "keyType": { "CompanyId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "CmCompanyType": {
 
-                         "key": ["CompanyTypeId", "SiteId"],
 
-                         "keyType": { "CompanyTypeId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     // 2016 02 10
 
-                     "CmPatrolType": {
 
-                         "key": ["PatrolTypeId", "SiteId"],
 
-                         "keyType": { "PatrolTypeId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "CmPatrolGroup": {
 
-                         "key": ["PatrolGroupId", "SiteId"],
 
-                         "keyType": { "PatrolGroupId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "CmPatrolGroupUser": {
 
-                         "key": ["UserId", "PatrolGroupId", "SiteId"],
 
-                         "keyType": { "UserId": "String", "PatrolGroupId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "CmPatrolPos": {
 
-                         "key": ["PosId", "SiteId"],
 
-                         "keyType": { "PosId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "CmPatrolPlan": {
 
-                         "key": ["PatrolPlanId", "SiteId"],
 
-                         "keyType": { "PatrolPlanId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "CmPatrolSchedule": {
 
-                         "key": ["ScheduleId", "SiteId"],
 
-                         "keyType": { "ScheduleId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "CmPatrolCourse": {
 
-                         "key": ["PatrolCourseId", "SiteId"],
 
-                         "keyType": { "PatrolCourseId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "CmPatrolCoursePos": {
 
-                         "key": ["PosId", "PatrolCourseId", "SiteId"],
 
-                         "keyType": { "PosId": "Int32", "PatrolCourseId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "CmPatrolHistory": {
 
-                         //"key": ["PatrolHistoryId", "ScheduleId", "SiteId"],
 
-                         //"keyType": { "PatrolHistoryId": "Int32", "ScheduleId": "Int32", "SiteId": "Int32" }
 
-                         "key": ["PatrolHistoryId"],
 
-                         "keyType": { "PatrolHistoryId": "Int32" }
 
-                     },
 
-                     "CmPatrolHistoryPos": {
 
-                         "key": ["mId"],
 
-                         "keyType": { "mId": "Int32" }
 
-                     },
 
-                     "CmPatrolHistoryEx": {
 
-                         "key": ["PatrolHistoryId"],
 
-                         "keyType": { "PatrolHistoryId": "Int32" }
 
-                     },
 
-                     "BemsNoticePriceBase": {
 
-                         "key": ["SiteId", "FuelTypeId", "ApplyDate", "ContractType"],
 
-                         "keyType": { "SiteId": "Int32", "FuelTypeId": "Int32", "ApplyDate": "DateTime", "ContractType": "Int32" }
 
-                     },
 
-                     "BemsNoticePriceContractType": {
 
-                         "key": ["FuelTypeId", "ContractType"],
 
-                         "keyType": { "FuelTypeId": "Int32", "ContractType": "Int32" }
 
-                     },
 
-                     "BemsNoticePriceDetail": {
 
-                         "key": ["SiteId", "FuelTypeId", "ApplyDate", "ContractType", "DataId"],
 
-                         "keyType": { "SiteId": "Int32", "FuelTypeId": "Int32", "ApplyDate": "DateTime", "ContractType": "Int32", "DataId": "Int32" }
 
-                     },
 
-                     "BemsPeakHistoryDaily": {
 
-                         "key": ["SiteId", "CreatedDateTime"],
 
-                         "keyType": { "SiteId": "Int32", "CreatedDateTime": "DateTime" }
 
-                     },
 
-                     //2016 03 29
 
-                     "BemsPeakHistory": {
 
-                         "key": ["SiteId", "CreatedDateTime"],
 
-                         "keyType": { "SiteId": "Int32", "CreatedDateTime": "DateTime" }
 
-                     },
 
-                     "BemsPeakInfo": {
 
-                         "key": ["SiteId"],
 
-                         "keyType": { "SiteId": "Int32" }
 
-                     },
 
-                     //2016 05 18
 
-                     "BemsPeakFacility": {
 
-                         "key": ["SiteId", "MaxDateTime", "FacilityCode"],
 
-                         "keyType": { "SiteId": "Int32", "MaxDateTime": "DateTime", "FacilityCode": "Int32" }
 
-                     },
 
-                     "CmDepartment": {
 
-                         "key": ["CompanyId", "DepartmentId", "SiteId"],
 
-                         "keyType": { "CompanyId": "Int32", "DepartmentId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "CmFacility": {
 
-                         "key": ["FacilityCode", "SiteId"],
 
-                         "keyType": { "FacilityCode": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "CmFacilityManual": {
 
-                         "key": ["FacilityCode", "ManualId", "SiteId"],
 
-                         "keyType": { "FacilityCode": "Int32", "ManualId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "CmFile": {
 
-                         "key": ["FileId", "SiteId"],
 
-                         "keyType": { "FileId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "CmFileCategory": {
 
-                         "key": ["FileCategoryId"],
 
-                         "keyType": { "FileCategoryId": "Int32" }
 
-                     },
 
-                     "CmFloor": {
 
-                         "key": ["BuildingId", "FloorId", "SiteId"],
 
-                         "keyType": { "BuildingId": "Int32", "FloorId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "CmHoliday": {
 
-                         "key": ["HolidayDay", "HolidayMonth", "IsLunar", "SiteId"],
 
-                         "keyType": { "HolidayDay": "Int32", "HolidayMonth": "Int32", "IsLunar": "Boolean", "SiteId": "Int32" }
 
-                     },
 
-                     "CmHolidayCustom": {
 
-                         "key": ["HolidayDate", "SiteId"],
 
-                         "keyType": { "HolidayDate": "DateTime", "SiteId": "Int32" }
 
-                     },
 
-                     "CmHolidayWeekend": {
 
-                         "key": ["SiteId"],
 
-                         "keyType": { "SiteId": "Int32" }
 
-                     },
 
-                     "CmPosition": {
 
-                         "key": ["PositionId", "SiteId"],
 
-                         "keyType": { "PositionId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "CmSite": {
 
-                         "key": ["SiteId"],
 
-                         "keyType": { "SiteId": "Int32" }
 
-                     },
 
-                     "CmUser": {
 
-                         "key": ["SiteId", "UserId"],
 
-                         "keyType": { "SiteId": "Int32", "UserId": "String" }
 
-                     },
 
-                     "CmUserGroup": {
 
-                         "key": ["SiteId", "UserGroupId"],
 
-                         "keyType": { "SiteId": "Int32", "UserGroupId": "Int32" }
 
-                     },
 
-                     "CmUserGroupPermission": {
 
-                         "key": ["MenuId", "SiteId", "UserGroupId"],
 
-                         "keyType": { "MenuId": "Int32", "SiteId": "Int32", "UserGroupId": "Int32" }
 
-                     },
 
-                     "CmUserToLicense": {
 
-                         "key": ["LicenseId", "SiteId", "UserId"],
 
-                         "keyType": { "LicenseId": "Int32", "SiteId": "Int32", "UserId": "String" }
 
-                     },
 
-                     "CmUserLoginHistory": {
 
-                         "key": ["LoginHistoryId"],
 
-                         "keyType": { "LoginHistoryId": "Int32" }
 
-                     },
 
-                     "CmZone": {
 
-                         "key": ["BuildingId", "FloorId", "SiteId", "ZoneId"],
 
-                         "keyType": { "BuildingId": "Int32", "FloorId": "Int32", "SiteId": "Int32", "ZoneId": "Int32" }
 
-                     },
 
-                     "CmZoneTempHumiSet": {
 
-                         "key": ["BuildingId", "FloorId", "SiteId", "ZoneId"],
 
-                         "keyType": { "BuildingId": "Int32", "FloorId": "Int32", "SiteId": "Int32", "ZoneId": "Int32" }
 
-                     },
 
-                     "CmFacilityTempSet": {
 
-                         "key": ["SiteId", "FacilityCode"],
 
-                         "keyType": { "SiteId": "Int32", "FacilityCode": "Int32" }
 
-                     },
 
-                     "FmsDrawing": {
 
-                         "key": ["DrawingId", "SiteId"],
 
-                         "keyType": { "DrawingId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsDrawingCodeGroup": {
 
-                         "key": ["DrawingGroupId", "SiteId"],
 
-                         "keyType": { "DrawingGroupId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsDrawingCodeType": {
 
-                         "key": ["DrawingTypeId", "SiteId"],
 
-                         "keyType": { "DrawingTypeId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsDrawingHistory": {
 
-                         "key": ["DrawingId", "HistoryId", "SiteId"],
 
-                         "keyType": { "DrawingId": "Int32", "HistoryId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsFacilityCheckItem": {
 
-                         "key": ["CheckItemId", "FacilityCode", "SiteId"],
 
-                         "keyType": { "CheckItemId": "Int32", "FacilityCode": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsFacilityCodeClass": {
 
-                         "key": ["FacilityClassId", "SiteId"],
 
-                         "keyType": { "FacilityClassId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsWorkCodeLegalInspectionAgency": {
 
-                         "key": ["InspectionAgencyId", "SiteId"],
 
-                         "keyType": { "InspectionAgencyId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsWorkCodeCycleUnit": {
 
-                         "key": ["CycleUnitId", "SiteId"],
 
-                         "keyType": { "CycleUnitId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsWorkCodeHolidayWorkType": {
 
-                         "key": ["HolidayWorkTypeId", "SiteId"],
 
-                         "keyType": { "HolidayWorkTypeId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsFacilityOperationItem": {
 
-                         "key": ["ItemId", "SiteId"],
 
-                         "keyType": { "ItemId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsLicense": {
 
-                         "key": ["LicenseId", "SiteId"],
 
-                         "keyType": { "LicenseId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsWorkCodeCauseClass": {
 
-                         "key": ["CauseClassId", "SiteId"],
 
-                         "keyType": { "CauseClassId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsWorkCodeEmergency": {
 
-                         "key": ["EmergencyId", "SiteId"],
 
-                         "keyType": { "EmergencyId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsWorkCodeProgress": {
 
-                         "key": ["WorkProgressId"],
 
-                         "keyType": { "WorkProgressId": "Int32" } // hcLee
 
-                     },
 
-                     "FmsWorkCodeType": {
 
-                         "key": ["WorkTypeId"],
 
-                         "keyType": { "WorkTypeId": "Int32" }
 
-                     },
 
-                     "FmsWorkDailyRecord": {
 
-                         "key": ["BusinessFieldId", "DailyRecordId", "SiteId", "TemplateId", "WorkDate"],
 
-                         "keyType": { "BusinessFieldId": "Int32", "DailyRecordId": "Int32", "SiteId": "Int32", "TemplateId": "Int32", "WorkDate": "DateTime" }
 
-                     },
 
-                     "FmsWorkDailyRecordPrevention": {
 
-                         "key": ["BusinessFieldId", "DailyRecordId", "PreventionId", "SiteId", "TemplateId", "WorkDate"],
 
-                         "keyType": { "BusinessFieldId": "Int32", "DailyRecordId": "Int32", "PreventionId": "Int32", "SiteId": "Int32", "TemplateId": "Int32", "WorkDate": "DateTime" }
 
-                     },
 
-                     "FmsWorkDailyRecordTemplate": {
 
-                         "key": ["BusinessFieldId", "SiteId", "TemplateId"],
 
-                         "keyType": { "BusinessFieldId": "Int32", "SiteId": "Int32", "TemplateId": "Int32" }
 
-                     },
 
-                     "FmsWorkDailyRecordWork": {
 
-                         "key": ["BusinessFieldId", "DailyRecordId", "SiteId", "TemplateId", "WorkDate", "WorkId"],
 
-                         "keyType": { "BusinessFieldId": "Int32", "DailyRecordId": "Int32", "SiteId": "Int32", "TemplateId": "Int32", "WorkDate": "DateTime", "WorkId": "Int32" }
 
-                     },
 
-                     "FmsWorkDailyRecordWorkingHour": {
 
-                         "key": ["FacilityCode", "SiteId", "WorkingDate", "WorkType"],
 
-                         "keyType": { "FacilityCode": "Int32", "SiteId": "Int32", "WorkingDate": "DateTime", "WorkType": "Int32" }
 
-                     },
 
-                     "FmsWorkOperationDate": {
 
-                         "key": ["CheckDateTime", "FacilityCode", "SiteId"],
 
-                         "keyType": { "CheckDateTime": "DateTime", "FacilityCode": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsWorkOperationItem": {
 
-                         "key": ["CheckDateTime", "FacilityCode", "ItemId", "SiteId"],
 
-                         "keyType": { "CheckDateTime": "DateTime", "FacilityCode": "Int32", "ItemId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsWorkOperationTime": {
 
-                         "key": ["CheckDatetime", "FacilityCode", "SiteId"],
 
-                         "keyType": { "CheckDatetime": "DateTime", "FacilityCode": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsWorkOrder": {
 
-                         "key": ["SiteId", "WorkRequestId"],
 
-                         "keyType": { "SiteId": "Int32", "WorkRequestId": "Int32" }
 
-                     },
 
-                     "FmsWorkOrderToFacility": {
 
-                         "key": ["FacilityCode", "SiteId", "WorkRequestId"],
 
-                         "keyType": { "FacilityCode": "Int32", "SiteId": "Int32", "WorkRequestId": "Int32" }
 
-                     },
 
-                     "FmsWorkRequest": {
 
-                         "key": ["SiteId", "WorkRequestId"],
 
-                         "keyType": { "SiteId": "Int32", "WorkRequestId": "Int32" }
 
-                     },
 
-                     "FmsWorkRequestToFacility": {
 
-                         "key": ["FacilityCode", "SiteId", "WorkRequestId"],
 
-                         "keyType": { "FacilityCode": "Int32", "SiteId": "Int32", "WorkRequestId": "Int32" }
 
-                     },
 
-                     "FmsWorkResult": {
 
-                         "key": ["SiteId", "WorkRequestId"],
 
-                         "keyType": { "SiteId": "Int32", "WorkRequestId": "Int32" }
 
-                     },
 
-                     "FmsWorkResultCheckItem": {
 
-                         "key": ["CheckItemId"],
 
-                         "keyType": { "CheckItemId": "Int32" }
 
-                     },
 
-                     "FmsWorkResultCheckItemMaterial": {
 
-                         "key": ["CheckItemMaterialId"],
 
-                         "keyType": { "CheckItemMaterialId": "Int32" }
 
-                     },
 
-                     "FmsWorkResultFile": {
 
-                         "key": ["SiteId", "WorkRequestId"],
 
-                         "keyType": { "SiteId": "Int32", "WorkRequestId": "Int32" }
 
-                     },
 
-                     "FmsWorkResultLaw": {
 
-                         "key": ["SiteId", "WorkRequestId"],
 
-                         "keyType": { "SiteId": "Int32", "WorkRequestId": "Int32" }
 
-                     },
 
-                     "FmsWorkResultToFacility": {
 
-                         "key": ["FacilityCode", "SiteId", "WorkRequestId"],
 
-                         "keyType": { "FacilityCode": "Int32", "SiteId": "Int32", "WorkRequestId": "Int32" }
 
-                     },
 
-                     "FmsWorkSchedule": {
 
-                         "key": ["SiteId", "WorkScheduleId"],
 
-                         "keyType": { "SiteId": "Int32", "WorkScheduleId": "Int32" }
 
-                     },
 
-                     "FmsWorkScheduleToFacility": {
 
-                         "key": ["FacilityCode", "SiteId", "WorkScheduleId"],
 
-                         "keyType": { "FacilityCode": "Int32", "SiteId": "Int32", "WorkScheduleId": "Int32" }
 
-                     },
 
-                     "FmsMaterial": {
 
-                         "key": ["MaterialId", "SiteId"],
 
-                         "keyType": { "MaterialId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsMaterialCarriedForward": {
 
-                         "key": ["BusinessFieldId", "ClosedDate", "MaterialId", "SiteId", "WarehouseId"],
 
-                         "keyType": { "BusinessFieldId": "Int32", "ClosedDate": "DateTime", "MaterialId": "Int32", "SiteId": "Int32", "WarehouseId": "Int32" }
 
-                     },
 
-                     "FmsMaterialCodeClass": {
 
-                         "key": ["MaterialClassId", "SiteId"],
 
-                         "keyType": { "MaterialClassId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsMaterialCodeLocation": {
 
-                         "key": ["LocationId", "SiteId"],
 
-                         "keyType": { "LocationId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsMaterialCodeProgress": {
 
-                         "key": "ProgressId",
 
-                         "keyType": "Int32"
 
-                     },
 
-                     "FmsMaterialCodePurchaseType": {
 
-                         "key": ["PurchaseTypeId"],
 
-                         "keyType": { "PurchaseTypeId": "Int32" }
 
-                     },
 
-                     "FmsMaterialCodeAdjustmentType": {
 
-                         "key": ["AdjustmentTypeId"],
 
-                         "keyType": { "AdjustmentTypeId": "Int32" }
 
-                     },
 
-                     "FmsMaterialCodeReleaseType": {
 
-                         "key": "ReleaseTypeId",
 
-                         "keyType": "Int32"
 
-                     },
 
-                     "FmsMaterialCodeType": {
 
-                         "key": ["MaterialTypeId", "SiteId"],
 
-                         "keyType": { "MaterialTypeId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsMaterialPurchaseOrder": {
 
-                         //"key": ["BusinessFieldId","PurchaseOrderId","SiteId"],
 
-                         //"keyType": {"BusinessFieldId":"Int32","PurchaseOrderId":"Int32","SiteId":"Int32"}
 
-                         "key": ["PurchaseOrderId", "SiteId"],
 
-                         "keyType": { "PurchaseOrderId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsMaterialPurchaseOrderFile": {
 
-                         "key": ["BusinessFieldId", "FileId", "PurchaseOrderId", "SiteId"],
 
-                         "keyType": { "BusinessFieldId": "Int32", "FileId": "Int32", "PurchaseOrderId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsMaterialPurchaseOrderMaterial": {
 
-                         //"key": ["BusinessFieldId","MaterialId","PurchaseOrderId","SiteId"],
 
-                         //"keyType": {"BusinessFieldId":"Int32","MaterialId":"Int32","PurchaseOrderId":"Int32","SiteId":"Int32"}
 
-                         "key": ["MaterialId", "PurchaseOrderId", "SiteId"],
 
-                         "keyType": { "MaterialId": "Int32", "PurchaseOrderId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsMaterialPurchaseRequest": {
 
-                         //"key": ["BusinessFieldId","PurchaseRequestId","SiteId"],
 
-                         //"keyType": {"BusinessFieldId":"Int32","PurchaseRequestId":"Int32","SiteId":"Int32"}
 
-                         "key": ["PurchaseRequestId", "SiteId"],
 
-                         "keyType": { "PurchaseRequestId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsMaterialPurchaseRequestMaterial": {
 
-                         //"key": ["BusinessFieldId","MaterialId","PurchaseRequestId","SiteId"],
 
-                         //"keyType": {"BusinessFieldId":"Int32","MaterialId":"Int32","PurchaseRequestId":"Int32","SiteId":"Int32"}
 
-                         "key": ["MaterialId", "PurchaseRequestId", "SiteId"],
 
-                         "keyType": { "MaterialId": "Int32", "PurchaseRequestId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsMaterialRelease": {
 
-                         //"key": ["BusinessFieldId", "MaterialReleaseId", "SiteId"],
 
-                         //"keyType": { "BusinessFieldId": "Int32", "MaterialReleaseId": "Int32", "SiteId": "Int32" }
 
-                         "key": ["MaterialReleaseId", "SiteId"],
 
-                         "keyType": { "MaterialReleaseId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsMaterialStored": {
 
-                         //"key": ["BusinessFieldId","MaterialStoredId","SiteId","StoredDate"],
 
-                         //"keyType": {"BusinessFieldId":"Int32","MaterialStoredId":"Int32","SiteId":"Int32","StoredDate":"DateTime"}
 
-                         "key": ["MaterialStoredId", "SiteId"],
 
-                         "keyType": { "MaterialStoredId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsMaterialTradeCompany": {
 
-                         "key": ["SiteId", "TradeCompanyId"],
 
-                         "keyType": { "SiteId": "Int32", "TradeCompanyId": "Int32" }
 
-                     },
 
-                     "FmsMaterialWarehouse": {
 
-                         "key": ["SiteId", "WarehouseId"],
 
-                         "keyType": { "SiteId": "Int32", "WarehouseId": "Int32" }
 
-                     },
 
-                     "FmsDailyStoredReleaseStatusView": {
 
-                         "key": ["MaterialStoredId", "BusinessFieldId", "SiteId"],
 
-                         "keyType": { "MaterialStoredId": "Int32", "BusinessFieldId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsShortStockStatusView": {
 
-                         "key": ["MaterialId", "BusinessFieldId", "SiteId"],
 
-                         "keyType": { "MaterialId": "Int32", "BusinessFieldId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsMonthlyStoredReleaseStatusView": {
 
-                         "key": ["MaterialId", "BusinessFieldId", "SiteId"],
 
-                         "keyType": { "MaterialId": "Int32", "BusinessFieldId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsConstructionCodeProgress": {
 
-                         "key": ["ProgressId"],
 
-                         "keyType": { "ProgressId": "Int32" }
 
-                     },
 
-                     "FmsConstruction": {
 
-                         "key": ["ConstructionId", "SiteId"],
 
-                         "keyType": { "ConstructionId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsConstructionEstimation": {
 
-                         "key": ["ConstructionId", "SiteId"],
 
-                         "keyType": { "ConstructionId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsConstructionCodeType": {
 
-                         "key": ["ConstructionTypeId", "SiteId"],
 
-                         "keyType": { "ConstructionTypeId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsCompanyEstimationCodeClass": {
 
-                         "key": ["CompanyEstimationClassId", "SiteId"],
 
-                         "keyType": { "CompanyEstimationClassId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "CmPartner": {
 
-                         "key": ["PartnerId", "SiteId"],
 
-                         "keyType": { "PartnerId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "CmPartnerType": {
 
-                         "key": ["PartnerTypeId"],
 
-                         "keyType": { "PartnerTypeId": "Int32" }
 
-                     },
 
-                     "FmsAccidentCodeType": {
 
-                         "key": ["AccidentTypeId", "SiteId"],
 
-                         "keyType": { "AccidentTypeId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsAccident": {
 
-                         "key": ["AccidentId", "SiteId"],
 
-                         "keyType": { "AccidentId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsEquipmentCodeType": {
 
-                         "key": ["EquipmentTypeId", "SiteId"],
 
-                         "keyType": { "EquipmentTypeId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsEquipmentCodeStateType": {
 
-                         "key": ["EquipmentStateTypeId"],
 
-                         "keyType": { "EquipmentStateTypeId": "Int32" }
 
-                     },
 
-                     "FmsEquipment": {
 
-                         "key": ["EquipmentId", "SiteId"],
 
-                         "keyType": { "EquipmentId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsEquipmentEx": {
 
-                         "key": ["EquipmentId", "SiteId"],
 
-                         "keyType": { "EquipmentId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsBudgetDetailExecutionEx": {
 
-                         "key": ["SiteId", "Year", "Month"],
 
-                         "keyType": { "SiteId": "Int32", "Year": "Int32", "Month": "Int32" }
 
-                     },
 
-                     "FmsMaterialEx": {
 
-                         "key": ["MaterialId", "SiteId"],
 
-                         "keyType": { "MaterialId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsMaterialPurchaseRequestEx": {
 
-                         "key": ["PurchaseRequestId", "SiteId"],
 
-                         "keyType": { "PurchaseRequestId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsBudgetCodeClassEx": {
 
-                         "key": ["ThirdBudgetClassId", "SiteId"],
 
-                         "keyType": { "ThirdBudgetClassId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsMaterialStockHistoryDaily": {
 
-                         "key": ["HistoryId", "SiteId"],
 
-                         "keyType": { "HistoryId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsMaterialStockHistoryMonthly": {
 
-                         "key": ["HistoryId", "SiteId"],
 
-                         "keyType": { "HistoryId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsEquipmentRentInfo": {
 
-                         "key": ["EquipmentRentId", "SiteId"],
 
-                         "keyType": { "EquipmentRentId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsEquipmentHistory": {
 
-                         "key": ["EquipmentHistoryId", "EquipmentId", "SiteId"],
 
-                         "keyType": { "EquipmentHistoryId": "Int32", "EquipmentId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsContract": {
 
-                         "key": ["ContractId", "SiteId"],
 
-                         "keyType": { "ContractId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsContractClass": {
 
-                         "key": ["ContractClassId", "SiteId"],
 
-                         "keyType": { "ContractClassId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsContractType": {
 
-                         "key": ["ContractTypeId", "SiteId"],
 
-                         "keyType": { "ContractTypeId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsContractMethod": {
 
-                         "key": ["ContractMethodId", "SiteId"],
 
-                         "keyType": { "ContractMethodId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsPaymentType": {
 
-                         "key": ["PaymentTypeId", "SiteId"],
 
-                         "keyType": { "PaymentTypeId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsManualType": {
 
-                         "key": ["ManualTypeId", "SiteId"],
 
-                         "keyType": { "ManualTypeId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsManual": {
 
-                         "key": ["ManualId", "SiteId"],
 
-                         "keyType": { "ManualId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsManualHistory": {
 
-                         "key": ["ManualId", "SiteId", 'HistoryId'],
 
-                         "keyType": { "ManualId": "Int32", "SiteId": "Int32", "HistoryId": "Int32" }
 
-                     },
 
-                     "FmsBudgetCodeClass": {
 
-                         "key": ["BudgetClassId", "SiteId"],
 
-                         "keyType": { "BudgetClassId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsBudget": {
 
-                         "key": ["Year", "SiteId"],
 
-                         "keyType": { "Year": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsBudgetDetail": {
 
-                         "key": ["Year", "BudgetClassId", "SiteId", "ParentBudgetClassId"],
 
-                         "keyType": { "Year": "Int32", "BudgetClassId": "Int32", "SiteId": "Int32", "ParentBudgetClassId": "Int32" }
 
-                     },
 
-                     "FmsBudgetDetailExecution": {
 
-                         "key": ["SiteId", "Year", "BudgetClassId", "ParentBudgetClassId", "Month"],
 
-                         "keyType": { "SiteId": "Int32", "Year": "Int32", "BudgetClassId": "Int32", "ParentBudgetClassId": "Int32", "Month": "Int32" }
 
-                     },
 
-                     "FmsBudgetDetailExecution2": {
 
-                         "key": ["SiteId", "Year", "BudgetClassId", "ParentBudgetClassId", "Month"],
 
-                         "keyType": { "SiteId": "Int32", "Year": "Int32", "BudgetClassId": "Int32", "ParentBudgetClassId": "Int32", "Month": "Int32" }
 
-                     },
 
-                     "CmAlarmAdmin": {
 
-                         "key": ["SiteId", "SiteId"],
 
-                         "keyType": { "SiteId": "Int32" }
 
-                     },
 
-                     "CmAnnouncement": {
 
-                         "key": ["AnnouncementId", "SiteId"],
 
-                         "keyType": { "AnnouncementId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsDailyReport": {
 
-                         "key": ["BusinessFieldId", "AddDate", "SiteId"],
 
-                         "keyType": { "BusinessFieldId": "Int32", "AddDate": "DateTime", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsMonthlyReport": {
 
-                         "key": ["MonthlyReportId", "SiteId"],
 
-                         "keyType": { "MonthlyReportId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsDailyCheckReport": {
 
-                         "key": ["DailyCheckReportId", "SiteId"],
 
-                         "keyType": { "DailyCheckReportId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsFacilityOperationReport": {
 
-                         "key": ["FacilityOperationReportId", "SiteId"],
 
-                         "keyType": { "FacilityOperationReportId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsFacilityTaskReport": {
 
-                         "key": ["FacilityTaskReportId", "SiteId"],
 
-                         "keyType": { "FacilityTaskReportId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsInvestmentCost": {
 
-                         "key": ["InsvestmentCostId", "SiteId"],
 
-                         "keyType": { "InsvestmentCostId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "FmsReport": {
 
-                         "key": ["RId", "SiteId"],
 
-                         "keyType": { "RId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "CmMenu": {
 
-                         "key": ["MenuId", "SiteId"],
 
-                         "keyType": { "MenuId": "String", "SiteId": "Int32" }
 
-                     },
 
-                     "BemsChartInfo": {
 
-                         "key": ["ChartId", "FacilityTypeId", "SiteId"],
 
-                         "keyType": { "ChartId": "Int32", "FacilityTypeId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "BemsControlAHUTempConfig": {
 
-                         "key": ["FacilityCode", "FacilityTypeId", "SiteId"],
 
-                         "keyType": { "FacilityCode": "Int32", "FacilityTypeId": "Int32", "SiteId": "Int32" }
 
-                     },
 
-                     "BemsFloorPlan": {
 
-                         "key": ["SiteId", "Name"],
 
-                         "keyType": { "SiteId": "Int32", "Name": "String" }
 
-                     },
 
-                     "BemsFloorStatus": {
 
-                         "key": ["SiteId", "FloorId", "FloorName", "ImageFileId", "Xvalue", "Yvalue", "PropertyId"],
 
-                         "keyType": { "SiteId": "Int32", "FloorId": "Int32", "FloorName": "String", "ImageFileId": "Int32", "Xvalue": "Int32", "Yvalue": "Int32", "PropertyId": "Int32" }
 
-                     },
 
-                     "BemsMonitoringPointForecastingHourAhead": {
 
-                         "key": ["SiteId", "FacilityCode", "PropertyId", "CreatedDateTime", "TargetDateTime"],
 
-                         "keyType": { "SiteId": "Int32", "FacilityCode": "Int32", "PropertyId": "Int32", "CreatedDateTime": "DateTime", "TargetDateTime": "DateTime"}
 
-                     },
 
-                     "BemsMonitoringPointForecastingDayAhead": {
 
-                         "key": ["SiteId", "FacilityCode", "PropertyId", "CreatedDateTime", "TargetDateTime"],
 
-                         "keyType": { "SiteId": "Int32", "FacilityCode": "Int32", "PropertyId": "Int32", "CreatedDateTime": "DateTime", "TargetDateTime": "DateTime" }
 
-                     },
 
-                     "BemsMonitoringPointWeatherForecasted": {
 
-                         "key": ["SiteId", "CreatedDateTime", "Category", "BaseDateTime", "ForecastedDateTime"],
 
-                         "keyType": { "SiteId": "Int32", "CreatedDateTime": "DateTime", "Category": "String", "BaseDateTime": "DateTime", "ForecastedDateTime": "DateTime" }
 
-                     },
 
-                     "BemsConfigData": {
 
-                         "key": ["SiteId"],
 
-                         "keyType": { "SiteId": "Int32"}
 
-                     },
 
-                     "BemsIceThermalStorageSimulation": {
 
-                         "key": ["SiteId", "FacilityCode", "PropertyId", "CreatedDateTime", "TargetDateTime", "SimulationCase"],
 
-                         "keyType": { "SiteId": "Int32", "FacilityCode": "Int32", "PropertyId": "Int32", "CreatedDateTime": "DateTime", "TargetDateTime": "DateTime", "SimulationCase": "Int32" }
 
-                     }
 
-                 }
 
-             }
 
-         }
 
-     }
 
- });
 
- window.BWA = window.BemsWebApplication;
 
 
  |