DoubleForkSRMAnalysis.cs
835 Bytes
using HHECS.BllModel;
using HHECS.DAQHandle.Common.Enums;
using HHECS.DAQHandle.Dto;
using HHECS.DAQHandle.Models;
namespace HHECS.DAQHandle.EquipmentHandle
{
/// <summary>
/// 双叉堆垛机数据解析
/// </summary>
internal class DoubleForkSRMAnalysis : AnalysisBase
{
public DoubleForkSRMAnalysis(AnalysisParameter parameter) : base(parameter) { }
protected override BllResult<EquipmentStatus> GetEquipmentStatus(EquipmentExtend equipment, EquipmentDataRecord record)
{
try
{
var status = EquipmentStatus.Offline;
return BllResultFactory.Success(status);
}
catch (Exception ex)
{
return BllResultFactory.Error<EquipmentStatus>(ex.Message);
}
}
}
}