CnNetConsts.pas 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. {******************************************************************************}
  2. { CnPack For Delphi/C++Builder }
  3. { 中国人自己的开放源码第三方开发包 }
  4. { (C)Copyright 2001-2018 CnPack 开发组 }
  5. { ------------------------------------ }
  6. { }
  7. { 本开发包是开源的自由软件,您可以遵照 CnPack 的发布协议来修 }
  8. { 改和重新发布这一程序。 }
  9. { }
  10. { 发布这一开发包的目的是希望它有用,但没有任何担保。甚至没有 }
  11. { 适合特定目的而隐含的担保。更详细的情况请参阅 CnPack 发布协议。 }
  12. { }
  13. { 您应该已经和开发包一起收到一份 CnPack 发布协议的副本。如果 }
  14. { 还没有,可访问我们的网站: }
  15. { }
  16. { 网站地址:http://www.cnpack.org }
  17. { 电子邮件:master@cnpack.org }
  18. { }
  19. {******************************************************************************}
  20. unit CnNetConsts;
  21. {* |<PRE>
  22. ================================================================================
  23. * 软件名称:网络通讯组件包
  24. * 单元名称:资源字符串定义单元
  25. * 单元作者:CnPack开发组
  26. * 备 注:该单元定义了网络通讯类用到的资源字符串
  27. * 开发平台:PWin98SE + Delphi 5.0
  28. * 兼容测试:PWin9X/2000/XP + Delphi 5/6
  29. * 本 地 化:该单元中的字符串均符合本地化处理方式
  30. * 单元标识:$Id$
  31. * 修改记录:2005.12.24 V1.0
  32. * 创建单元
  33. ================================================================================
  34. |</PRE>}
  35. interface
  36. {$I CnPack.inc}
  37. resourcestring
  38. // CnRS232
  39. SInvalidXonXoffChar = 'XonChar must differs from XoffChar';
  40. SSerialPortAlreadyOpened = 'This serial port already opened';
  41. SSerialPortOpenError = 'Error opening serial port';
  42. SNotACommHandle = 'File handle is not a comm handle ';
  43. SSetupBuffFail = 'Cannot setup comm buffer';
  44. SCreateEventFail = 'Unable to create event';
  45. SCreateReadFail = 'Unable to create read thread';
  46. SCreateWriteFail = 'Unable to create write thread';
  47. SCnRS232Name = 'RS232 Cerial Port Communications Component';
  48. SCnRS232Comment = 'RS232 Serial Port Communications Component';
  49. // CnModem
  50. SCnModemName = 'Modem Communications Component';
  51. SCnModemComment = 'Modem Communications Component';
  52. // CnRS232Dialog
  53. SCnRS232DialogName = 'RS232 Serial Port Option Dialog Component';
  54. SCnRS232DialogComment = 'RS232 Serial Port Option Dialog Component';
  55. SRS232Option = 'Comm Option';
  56. SRS232TimeoutsOption = 'Timeout Settings';
  57. SBaudRateError = 'Baud Rate must be an Integer Value';
  58. SInputASCIICode = 'Please Enter an ASCII code (0..255)';
  59. SInputInteger = 'Please Enter an Integer';
  60. // CnPing
  61. SCnPingName = 'CnPing Component';
  62. SCnPingComment = 'CnPing Component';
  63. SInitFailed = 'Init Failed. Maybe Winsock Verison Error';
  64. SInvalidAddr = 'IP Address Error';
  65. SNoResponse = '[%0:S] No Response';
  66. STimeOut = 'Time Out';
  67. SICMPRunError = 'ICMP Run Error';
  68. SPingResultString = '[%0:S]: Bytes:%1:D Time: %2:Dms TTL:%3:D';
  69. // CnIP
  70. SCnIPName = 'CnIP Component';
  71. SCnIPComment = 'CnIP Component';
  72. SCnErrorAddress = 'Error IP Address';
  73. SCnErrorAddrRang = 'IP Address Range Error';
  74. implementation
  75. end.