电子药箱通讯服务端
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

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. }