PortControlImp.cs 485 B

1234567891011121314151617181920
  1. using SHJX.Service.Model.Control;
  2. namespace SHJX.Service.ServerClient.Interface
  3. {
  4. public interface PortControlImp
  5. {
  6. /// <summary>
  7. /// 写入数据
  8. /// </summary>
  9. /// <param name="args"></param>
  10. /// <returns></returns>
  11. bool Write(PortArgs args);
  12. /// <summary>
  13. /// 读取
  14. /// </summary>
  15. /// <param name="args"></param>
  16. /// <returns></returns>
  17. object Read(PortArgs args);
  18. }
  19. }