using System;
using System.Collections.Generic;
namespace NPP.SmartSchedue.Api.Contracts.Services.Integration.Output
{
///
/// 设备基础信息
/// 用于调度模块获取设备的基本信息,不依赖EAM模块的完整设备实体
///
public class EquipmentBasicInfo
{
///
/// 设备ID
///
public long Id { get; set; }
///
/// 设备编码
///
public string EquipmentCode { get; set; } = string.Empty;
///
/// 设备名称
///
public string EquipmentName { get; set; } = string.Empty;
///
/// 设备类型
///
public string EquipmentType { get; set; } = string.Empty;
///
/// 设备状态
/// 正常、维护中、故障、校验中等
///
public string Status { get; set; } = string.Empty;
///
/// 设备位置
///
public string Location { get; set; } = string.Empty;
///
/// 适用工序ID列表
/// 用于判断设备是否适用于特定工序
///
public List ApplicableProcessIds { get; set; } = new List();
///
/// 设备容量
/// 表示设备每小时可处理的工作量
///
public decimal Capacity { get; set; }
///
/// 是否可用
/// 综合考虑设备状态、维护计划、校验计划等因素
///
public bool IsAvailable { get; set; }
///
/// 下次维护时间
/// 用于预测设备的可用时间窗口
///
public DateTime? NextMaintenanceDate { get; set; }
///
/// 下次校验时间
/// 用于预测设备的可用时间窗口
///
public DateTime? NextCalibrationDate { get; set; }
}
}