IDevice.cs 550 字节
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DeviceLibrary
{
    public interface IDevice
    {
        void Process();
        MsgService Msg { get; set; }
        string GroupName { get; }
        DeviceStateE DeviceState { get; set; }
        void Start();
        void Stop();
        void TrayRelease();
        bool IsFree();
        bool FrontCheck(int curaddr);
    }

    public enum DeviceStateE
    {
        Stop,
        HomeReset,
        Run
    }
}