天津投入产出系统后端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1019 B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QMAPP.FJC.Entity.Basic;
namespace QMAPP.WinForm.FileSynchronizers
{
public interface IFileSynchronizer:IDisposable
{
/// <summary>
/// 当发现新的参数记录时触发
/// </summary>
event EventHandler<InjParamEventArgs> NewRecordFound;
/// <summary>
/// 当捕获到异常时触发
/// </summary>
event EventHandler<InjParamEventArgs> ExceptionCatched;
/// <summary>
/// 注塑机
/// </summary>
MachineInfo Machine { get;}
/// <summary>
/// 开始扫描参数文件
/// </summary>
void Start();
/// <summary>
/// 开始扫描参数文件
/// </summary>
/// <param name="skiphistory">跳过历史参数</param>
void Start(bool skiphistory);
/// <summary>
/// 停止扫描
/// </summary>
void Stop();
}
}