12345678910111213141516171819202122232425262728293031323334 |
- using System;
- using System.Collections.Generic;
- using System.Collections.Specialized;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
-
- namespace Rdh.SocketServer.Client.Models
- {
- public class ResponseSupplyDrugProtocol : EleMedKitProtocol
- {
- public ResponseSupplyDrugProtocol()
- {
- this.Command = EleMedKitCommand.ResponseSupplyList;
- CountFlag = 1.ToString();
- }
- public UserInfoProtocol? UserInfo { get; set; }
- public String? MedKitTypeCode
- {
- get;
- set;
- }
- public List<DrugLotProtocol>? ListSupplyResult { get; set; }
- public string LineEnd { get => EleMedKitProtocolFlags.LineSpiltor; }
- public override string GetContent()
- {
- return base.GetContent()
- + AddLineContent(MedKitTypeCode)
- + AddList<DrugLotProtocol>(ListSupplyResult)
- + AddLineContent(LineEnd)
- + AddLineContent(CountFlag);
- }
- }
- }
|