电子药箱通讯服务端
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.

DrugLotProtocol.cs 643B

1234567891011121314151617181920212223
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace Rdh.SocketServer.Client.Models
  7. {
  8. public class DrugLotProtocol : ModelProtocol
  9. {
  10. public string? Barcode { get; set; }
  11. public string? DrugKey { get; set; }
  12. public string? DrugLotCode { get; set; }
  13. public string? SupplyState { get; set; }
  14. public override string GetContent()
  15. {
  16. return Barcode
  17. + AddBlockContent(DrugKey)
  18. + AddBlockContent(DrugLotCode)
  19. + AddBlockContent(SupplyState);
  20. }
  21. }
  22. }