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.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
using Mesnac.Compressor.Data ;
using Mesnac.Compressor.Entity ;
using System ;
using System.Collections.Generic ;
using System.Data ;
using System.Linq ;
using System.Text ;
namespace Mesnac.Compressor.Station
{
public class LineEnd : Common , IStation
{
public bool HandleData ( StationInfo station )
{
try
{
if ( ! CheckNewData ( station , "" ) )
{
ICSharpCode . Core . LoggingService . Debug ( "工位:" + station . StationCode + "的RFID: " + station . Data . RFIDNo + "数据已上传。条码号:" + station . Data . ProductBarcode + " 任务号:" + station . Data . MaskID . ToString ( ) ) ;
return false ;
}
//保存数据
base . SaveStationData ( station ) ;
UnbandTray ( station ) ;
}
catch ( Exception e )
{
ICSharpCode . Core . LoggingService . Info ( e . ToString ( ) ) ;
return false ;
}
return true ;
}
}
}