12345678910111213141516171819202122232425262728293031323334 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using TEAMModelOS.SDK.Models.Cosmos;
- using static TEAMModelOS.SDK.Models.Cosmos.IotTeachingData;
- namespace TEAMModelOS.SDK.Models
- {
- public class GeoAnalysis : ProdAnalysisCalItem
- {
- public string geoId { get; set; } //形式: $"{countryId}-{provinceId}-{cityId}-{distId}" [例]"TW--30-"、"CN-41-410100-"、"MY---"
- public Geo geo { get; set; }
- }
- public class GeoAnalysisCosmos : GeoAnalysis
- {
- public GeoAnalysisCosmos()
- {
- pk = "GeoAnalysis";
- code = "GeoAnalysis";
- }
- public string pk { get; set; }
- public string code { get; set; }
- public string id { get; set; }
- public string dateUnit { get; set; } //統計日期單位 "year":年統計 "month":月統計 "day":日統計
- public string date { get; set; } //统计日期 ※依据dateUnit变化 [例]"year":2023 "month":202302 "day":20230210
- public long dateTime { get; set; } //timestamp UTC milisecond 比較時間用
- public int year { get; set; } //统计日期:年
- public int month { get; set; } //统计日期:月
- public int day { get; set; } //统计日期:日
- public long createDate { get; set; } //統計時間
- public int? ttl { get; set; } = -1;
- }
- }
|