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 ResponseLendDrugProtocol : EleMedKitProtocol
{
public ResponseLendDrugProtocol()
{
this.Command = EleMedKitCommand.ResponseDrugLend;
CountFlag = 1.ToString();
}
public List? ListLendResult { get; set; }
public string LineEnd { get => EleMedKitProtocolFlags.LineSpiltor; }
public override string GetContent()
{
return base.GetContent()
+ AddList(ListLendResult)
+ AddLineContent(LineEnd)
+ AddLineContent(CountFlag);
}
}
}