window.Partials = $.extend(true, window.Partials, { "config": { "endpoints": { "db": { "local": "http://211.233.4.66:9086/DataService.svc/", "production": "http://211.233.4.66:9086/DataService.svc/" }, "odata": { "local": "http://211.233.4.66:9086/odata", "production": "http://211.233.4.66:9086/odata" }, "api": { "local": "http://211.233.4.66:9086/api", "production": "http://211.233.4.66:9086/api" } }, "services": { "db": { "entities": { "CmSite": { "key": "SiteId", "keyType": "Int32" }, "CmBuilding": { "key": ["SiteId", "BuildingId"], "keyType": { "SiteId": "Int32", "BuildingId": "Int32" } }, "CmUser": { "key": ["SiteId", "UserId"], "keyType": { "SiteId": "Int32", "UserId": "String" } }, "BemsWeatherHourly": { "key": ["SiteId", "CreatedDate"], "keyType": { "SiteId": "Int32", "CreatedDate": "DateTime" } }, "BemsEnergyGoalDaily": { "key": ["SiteId", "BuildingId", "CreatedDate"], "keyType": { "SiteId": "Int32", "BuildingId": "Int32", "CreatedDate": "DateTime" } }, "BemsZone": { "key": ["SiteId", "BuildingId", "ZoneId"], "keyType": { "SiteId": "Int32", "BuildingId": "Int32", "ZoneId": "Int32" } }, "BemsZoneActivate": { "key": ["SiteId", "BuildingId", "ZoneId", "ServiceTypeId"], "keyType": { "SiteId": "Int32", "BuildingId": "Int32", "ZoneId": "Int32", "ServiceTypeId": "Int32" } }, "BemsZoneActivateDaily": { "key": ["SiteId", "BuildingId", "ZoneId", "ServiceTypeId", "CreatedDate"], "keyType": { "SiteId": "Int32", "BuildingId": "Int32", "ZoneId": "Int32", "ServiceTypeId": "Int32", "CreatedDate": "DateTime" } }, "BemsDevice": { "key": ["SiteId", "BuildingId", "DeviceId"], "keyType": { "SiteId": "Int32", "BuildingId": "Int32", "DeviceId": "Int32" } }, "BemsDeviceType": { "key": ["DeviceTypeId"], "keyType": { "DeviceTypeId": "Int32" } }, "BemsDeviceRunHourly": { "key": ["SiteId", "BuildingId", "ServiceTypeId", "RunDate"], "keyType": { "SiteId": "Int32", "BuildingId": "Int32", "ServiceTypeId": "Int32", "RunDate": "DateTime" } }, "BemsNoticePrice": { "key": ["SiteId", "FuelTypeId", "ApplyDate"], "keyType": { "SiteId": "Int32", "FuelTypeId": "Int32", "ApplyDate": "DateTime" } }, "BemsNoticePriceContractType": { "key": ["FuelTypeId", "ContractType"], "keyType": { "FuelTypeId": "Int32", "ContractType": "Int32" } }, "BemsNoticePriceBase": { "key": ["SiteId", "FuelTypeId", "ApplyDate", "ContractType"], "keyType": { "SiteId": "Int32", "FuelTypeId": "Int32", "ApplyDate": "DateTime", "ContractType": "Int32" } }, "BemsNoticePriceDetail": { "key": ["SiteId", "FuelTypeId", "ApplyDate", "ContractType", "DataId" ], "keyType": { "SiteId": "Int32", "FuelTypeId": "Int32", "ApplyDate": "DateTime", "ContractType": "Int32", "DataId": "Int32" } }, "BemsDeviceRunHistory": { "key": ["SiteId", "BuildingId", "ServiceTypeId", "RunDate", "DeviceId"], "keyType": { "SiteId": "Int32", "BuildingId": "Int32", "ServiceTypeId": "Int32", "RunDate": "DateTime", "DeviceId": "Int32" } } } }, "odata": { "entities": { "ConsumeDaily": { "key": ["SiteId", "BuildingId", "Year", "Month", "Day" ], "keyType": { "SiteId": "Int32", "BuildingId": "Int32", "Year": "Int32", "Month": "Int32", "Day": "Int32" } }, "ConsumeMonthly": { "key": ["SiteId", "BuildingId", "Year", "Month" ], "keyType": { "SiteId": "Int32", "BuildingId": "Int32", "Year": "Int32", "Month": "Int32" } }, "LoadsHourly": { "key": ["SiteId", "BuildingId", "ServiceTypeId", "Year", "Month", "Hour"], "keyType": { "SiteId": "Int32", "BuildingId": "Int32", "ServiceTypeId": "Int32", "Year": "Int32", "Hour": "Int32" } }, "RunCoolerHourly": { "key": ["SiteId", "BuildingId", "Year", "Month", "Hour"], "keyType": { "SiteId": "Int32", "BuildingId": "Int32", "Year": "Int32", "Hour": "Int32" } }, "DeviceRunHistoryGroup": { "key": ["SiteId", "BuildingId", "ServiceTypeId", "Year", "Month", "Day"], "keyType": { "SiteId": "Int32", "BuildingId": "Int32", "ServiceTypeId": "Int32", "Year": "Int32", "Month":"Int32", "Day":"Int32" } } } }, "api": { "entities": { "BemsNoticePrice": { "key": ["SiteId", "FuelTypeId", "ApplyDate"], "keyType": { "SiteId": "Int32", "FuelTypeId": "int32", "ApplyDate": "DateTime" } }, "ExecuteLoadsHourly": { "key": ["SiteId", "CreatedDate"], "keyType": { "SiteId": "Int32", "CreatedDate": "DateTime" } }, "OptimalDeviceRunHourly": { "key": ["SiteId", "BuildingId", "ServiceTypeId", "RunDate"], "keyType": { "SiteId": "Int32", "BuildingId": "Int32", "ServiceTypeId": "Int32", "RunDate": "DateTime" } }, "RetrofitMonthly": { "key": ["SiteId", "BuildingId", "Year"], "keyType": { "SiteId": "Int32", "BuildingId": "Int32", "Year": "Int32" } }, "RScript": { "key": ["Name", "Args"], "keyType": { "Name": "string", "Args": "string" } } } }, } } });