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.

21 lines
601 B

1 month ago
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using ShenTun.IcCard.Common;
  7. namespace ShenTun.IcCard
  8. {
  9. public class IcCardMethods
  10. {
  11. private readonly IcCardClient _iccardClient = new IcCardClient();
  12. public async Task<object> GetIcReadCard(dynamic request)
  13. {
  14. RequestIcCardInterface req = new RequestIcCardInterface()
  15. {
  16. IcCardInterface = request.asIcCardInterface
  17. };
  18. return await _iccardClient.getReadCardAsync(req);
  19. }
  20. }
  21. }