电子药箱通讯服务端
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

ResponsePatientOperationProtocol.cs 834B

7 месяцев назад
1234567891011121314151617181920212223242526
  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 ResponsePatientOperationProtocol : EleMedKitProtocol
  9. {
  10. public ResponsePatientOperationProtocol()
  11. {
  12. this.Command = EleMedKitCommand.ResponsePatientOperation;
  13. CountFlag = 1.ToString();
  14. }
  15. public List<PatientOperationProtocol>? ListOperations { get; set; }
  16. public string ListEnd { get => EleMedKitProtocolFlags.LineSpiltor; }
  17. public override string GetContent()
  18. {
  19. return base.GetContent()
  20. + AddList<PatientOperationProtocol>(ListOperations)
  21. + AddLineContent(ListEnd)
  22. + AddLineContent(CountFlag);
  23. }
  24. }
  25. }