2024-10-18 18:41:02 +08:00
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using System.Xml.Linq;
|
|
|
|
|
using YunDa.ISAS.Entities.AuditCommon;
|
|
|
|
|
using YunDa.ISAS.Entities.AuditCommon.IAdudit;
|
|
|
|
|
using YunDa.ISAS.Entities.GeneralInformation;
|
|
|
|
|
|
|
|
|
|
namespace YunDa.SOMS.Entities.GeneralInformation
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 设备履历
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Table("gi_protection_device_history")]
|
|
|
|
|
public class ProtectionDeviceHistory: ISASFullAuditedEntity
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 顺序号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual int SeqNo { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 设备名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual string Name { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 保护装置Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual Guid? ProtectionDeviceInfoId { get; set; }
|
|
|
|
|
[ForeignKey(nameof(ProtectionDeviceInfoId))]
|
|
|
|
|
public virtual ProtectionDeviceInfo ProtectionDeviceInfo { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 记录时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual DateTime? RecodeDate { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 历史数据
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual string ContentJson { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 更换后数据
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual string ContentNewJson { get; set; }
|
2024-12-09 17:31:46 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否已经发送给主站
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual bool IsSend { get; set; }
|
|
|
|
|
|
2024-10-18 18:41:02 +08:00
|
|
|
|
}
|
|
|
|
|
}
|