SocketObject.cs 685 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Net.Sockets;
  5. using System.Text;
  6. namespace UAS_PLCDataReader.Entity
  7. {
  8. class SocketObject
  9. {
  10. private Socket socket;
  11. private string receiveCoding;
  12. public Socket Socket
  13. {
  14. get
  15. {
  16. return socket;
  17. }
  18. set
  19. {
  20. socket = value;
  21. }
  22. }
  23. public string ReceiveCoding
  24. {
  25. get
  26. {
  27. return receiveCoding;
  28. }
  29. set
  30. {
  31. receiveCoding = value;
  32. }
  33. }
  34. }
  35. }