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.
21 lines
346 B
21 lines
346 B
using EC.AutoWeightServer.Model.EventArgsEx;
|
|
using System;
|
|
|
|
namespace EC.AutoWeightServer.IfManager.Scales
|
|
{
|
|
/// <summary>
|
|
/// 秤接口
|
|
/// </summary>
|
|
public interface IScales
|
|
{
|
|
bool StartServer();
|
|
|
|
bool StopServer();
|
|
|
|
bool IsOpen();
|
|
|
|
event EventHandler<ScaleEventArgs> OnRecData;
|
|
|
|
void RecData(object sender, byte[] buf);
|
|
}
|
|
}
|