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

ResponseSupplyDrugProtocol.cs 1.0KB

7 maanden geleden
12345678910111213141516171819202122232425262728293031323334
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Collections.Specialized;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace Rdh.SocketServer.Client.Models
  8. {
  9. public class ResponseSupplyDrugProtocol : EleMedKitProtocol
  10. {
  11. public ResponseSupplyDrugProtocol()
  12. {
  13. this.Command = EleMedKitCommand.ResponseSupplyList;
  14. CountFlag = 1.ToString();
  15. }
  16. public UserInfoProtocol? UserInfo { get; set; }
  17. public String? MedKitTypeCode
  18. {
  19. get;
  20. set;
  21. }
  22. public List<DrugLotProtocol>? ListSupplyResult { get; set; }
  23. public string LineEnd { get => EleMedKitProtocolFlags.LineSpiltor; }
  24. public override string GetContent()
  25. {
  26. return base.GetContent()
  27. + AddLineContent(MedKitTypeCode)
  28. + AddList<DrugLotProtocol>(ListSupplyResult)
  29. + AddLineContent(LineEnd)
  30. + AddLineContent(CountFlag);
  31. }
  32. }
  33. }