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.
32 lines
851 B
C#
32 lines
851 B
C#
using Mesnac.Compressor.Entity;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace Mesnac.Compressor.Station
|
|
{
|
|
public interface IStation
|
|
{
|
|
/// <summary>
|
|
/// 判断当前工位是否应该工作
|
|
/// </summary>
|
|
/// <param name="station"></param>
|
|
/// <returns></returns>
|
|
bool PrepareWork(StationInfo station);
|
|
/// <summary>
|
|
/// 保存数据
|
|
/// </summary>
|
|
/// <param name="station"></param>
|
|
/// <returns></returns>
|
|
bool HandleData(StationInfo station);
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
/// <param name="station"></param>
|
|
/// <param name="barcode"></param>
|
|
/// <returns></returns>
|
|
bool CheckNewData(StationInfo station, string barcode);
|
|
}
|
|
}
|