You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.3 KiB
C#

using SLH.SSDMS.Model.DO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SLH.SSDMS.Services
{
public interface IRfidJudge
{
/// <summary>
/// 判断当前运行方向
/// </summary>
/// <param name="rfidCode"></param>
/// <returns></returns>
Task<int> JudgeDirection(string rfidCode);
/// <summary>
/// 判断当前运行速度
/// </summary>
/// <param name="readRecord"></param>
/// <returns></returns>
Task<decimal> JudgeRunSpeed(Base_ReadRecord readRecord);
/// <summary>
/// 判断当前运行里程
/// </summary>
/// <param name="readRecord"></param>
/// <returns></returns>
Task<decimal> JudgeRunDistance(Base_ReadRecord readRecord);
/// <summary>
/// 判断当前运行时长
/// </summary>
/// <param name="readRecord"></param>
/// <returns></returns>
Task<decimal> JudgeRunTime(Base_ReadRecord readRecord);
/// <summary>
/// 判断当前胶带上机时间
/// </summary>
/// <param name="lotCode"></param>
/// <returns></returns>
Task<string> JudgeFirstTime(string lotCode);
}
}