using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; namespace GDNXFD.Data { [DataContract] public class PredictDataModel { //风场ID [DataMember] public string StationId { get; set; } //测点名 [DataMember] public string TestingPoint { get; set; } //测点统一编码(D) [DataMember] public string UniformCode { get; set; } //点类型: DQ -- 短期 , CDQ -- 超短期 [DataMember] public string Type { get; set; } //时间 [DataMember] public DateTime FutureTime { get; set; } //预测功率 [DataMember] public double PredictPower { get; set; } //预测功率 [DataMember] public double CDQPredictPower { get; set; } //实际功率 [DataMember] public double FactPower { get; set; } //保证功率 [DataMember] public double EnsurePower { get; set; } //自算功率 [DataMember] public double FittingPower { get; set; } //预测(反推)风速 [DataMember] public double PredictWindSpeed { get; set; } //超短期预测(反推)风速 [DataMember] public double CDQPredictWindSpeed { get; set; } //实际风速 [DataMember] public double FactWindSpeed { get; set; } //预测功率拟合 [DataMember] public double PredictPowerFitting { get; set; } public override bool Equals(object obj) { if (obj == null) return false; if (this.GetType() != obj.GetType()) return false; return Equals(obj as PredictDataModel); } private bool Equals(PredictDataModel p) { return (this.TestingPoint == p.TestingPoint); } public override int GetHashCode() { if (string.IsNullOrEmpty(this.TestingPoint)) return 0; return this.TestingPoint.GetHashCode(); } } }