123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- 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" }
- }
- }
- },
- }
- }
- });
|