using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BPASmartClient.Peripheral
{
///
/// 外设接口
///
public interface IPeripheral
{
///
/// 设备ID
///
int DeviceId { get; set; }
///
/// 获取指定状态值
///
/// 状态名称
/// 状态值
object? GetStatus(string statusName);
///
/// 初始化
///
void Init();
///
/// 驱动开启
///
void Start();
///
/// 驱动停止
///
void Stop();
}
}