ISmartDevice.cs 630 B

12345678910111213141516171819202122
  1. 
  2. using System.ServiceModel;
  3. namespace Dongke.IBOSS.PRD.WCF.Contracts
  4. {
  5. /// <summary>
  6. /// 智能设备对接服务
  7. /// </summary>
  8. [ServiceContract(ConfigurationName = "SmartDeviceService.ISmartDevice",
  9. Name = "ISmartDevice",
  10. Namespace = "Dongke.IBOSS.PRD.WCF.Contracts")]
  11. public interface ISmartDevice
  12. {
  13. /// <summary>
  14. /// 自动扫描计件
  15. /// </summary>
  16. /// <returns></returns>
  17. [OperationContract(IsOneWay = true)]
  18. void AddWorkPiece(string accountCode, string userCode, string userPassword,
  19. int procedureID, string barcode);
  20. }
  21. }