Generator.BasicMoulds.hpp 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678
  1. #pragma once
  2. #include <string>
  3. #include <algorithm>
  4. using namespace std;
  5. #include "DIOS.Dev.MouldDefine.hpp"
  6. #pragma warning (disable:4244) // warning C4244: “初始化”: 从“double”转换到“float”,可能丢失数据
  7. namespace DIOS::Dev::Detail
  8. {
  9. namespace Generator
  10. {
  11. static const char* GeneratorDriverType = "{18FDF176-DECE-445F-A52C-A14BDD3AC2C1}";
  12. static const char* GeneratorUnitType = "{123492D6-A546-4ACF-8EF1-2CCAA9EA974E}";
  13. namespace AttrKey
  14. {
  15. static const char* KV = "KV";
  16. static const char* MA = "MA";
  17. static const char* MS = "MS";
  18. static const char* MAS = "MAS";
  19. static const char* FOCUS = "FOCUS";
  20. static const char* WORKSTATION = "WORKSTATION";
  21. static const char* TECHMODE = "TECHMODE";
  22. static const char* AECDENSITY = "AECDENSITY";
  23. static const char* AECFIELD = "AECFIELD";
  24. static const char* AECFILM = "AECFILM";
  25. static const char* TUBEHEAT = "TUBEHEAT";
  26. static const char* POSTKV = "POSTKV";
  27. static const char* POSTMA = "POSTMA";
  28. static const char* POSTMS = "POSTMS";
  29. static const char* POSTMAS = "POSTMAS";
  30. static const char* GENSYNSTATE = "GENERATORSYNCSTATE";
  31. static const char* GENSTATE = "GENERATORSTATUS";
  32. static const char* TOTALEXPSURENUMBER = "TotalExposureNumber";
  33. static const char* TOTALACQTIMES = "TotalAcqTimes";
  34. static const char* TUBECOOLWAITTIME = "TubeCoolWaitTime";
  35. static const char* TUBEOVERLOADNUMBER = "TubeOverLoadNumber";
  36. static const char* CURRENTEXPOSUREBNUMBER = "CurrentExposureNumber";
  37. static const char* EXPMODE = "EXPMODE";
  38. static const char* MODALITY = "Modality";
  39. static const char* FRAMERATE = "FrameRate";
  40. static const char* BATTERYCHARGESTATE = "BatteryChargeState";
  41. static const char* REFERENCEAIRKERMA = "ReferenceAirKerma";
  42. static const char* KVLIST = "KVList";
  43. static const char* MASLIST = "MASList";
  44. typedef enum _Dios_Generator_Sync
  45. {
  46. GENERATOR_SYNC_ERR = -1,
  47. GENERATOR_RAD_OFF,
  48. GENERATOR_RAD_PREPARE,
  49. GENERATOR_RAD_READY,
  50. GENERATOR_RAD_XRAYON,
  51. GENERATOR_RAD_XRAYOFF,
  52. GENERATOR_FLU_OFF,
  53. GENERATOR_FLU_READY,
  54. GENERATOR_FLU_XRAYON,
  55. GENERATOR_FLU_XRAYOFF,
  56. GENERATOR_SYNC_MAX
  57. }GENERATOR_SYNC;
  58. typedef enum _Dios_Generator_Status
  59. {
  60. GENERATOR_STATUS_SHUTDOWN,
  61. GENERATOR_STATUS_INIT,
  62. GENERATOR_STATUS_SLEEP,
  63. GENERATOR_STATUS_CHARGING,//充电
  64. GENERATOR_STATUS_STANDBY,
  65. GENERATOR_STATUS_EXP,
  66. GENERATOR_STATUS_ERROR,
  67. GENERATOR_STATUS_NOWORK,
  68. GENERATOR_STATUS_MAX
  69. }GENERATOR_STATUS;
  70. }
  71. namespace ActionKey
  72. {
  73. static const char* IncParam_KV = "IncParam_KV";
  74. static const char* DecParam_KV = "DecParam_KV";
  75. static const char* SetValue_KV = "SetValue_KV";
  76. static const char* IncParam_MA = "IncParam_MA";
  77. static const char* DecParam_MA = "DecParam_MA";
  78. static const char* SetValue_MA = "SetValue_MA";
  79. static const char* IncParam_MS = "IncParam_MS";
  80. static const char* DecParam_MS = "DecParam_MS";
  81. static const char* SetValue_MS = "SetValue_MS";
  82. static const char* IncParam_MAS = "IncParam_MAS";
  83. static const char* DecParam_MAS = "DecParam_MAS";
  84. static const char* SetValue_MAS = "SetValue_MAS";
  85. static const char* SetValue_TECHMODE = "SetValue_TECHMODE";
  86. static const char* SetValue_FOCUS = "SetValue_FOCUS";
  87. static const char* SetValue_AECDENSITY = "SetValue_AECDENSITY";
  88. static const char* SetValue_AECFIELD = "SetValue_AECFIELD";
  89. static const char* SetValue_AECFILM = "SetValue_AECFILM";
  90. static const char* SetValue_WORKSTATION = "SetValue_WORKSTATION";
  91. static const char* Query_HE = "Query_HE";
  92. static const char* GetValue_POSTKV = "GetValue_POSTKV";
  93. static const char* GetValue_POSTMA = "GetValue_POSTMA";
  94. static const char* GetValue_POSTMS = "GetValue_POSTMS";
  95. static const char* GetValue_POSTMAS = "GetValue_POSTMAS";
  96. static const char* SetAPR = "SetAPR";
  97. static const char* SetGeneratortoSyncStatus = "SetGeneratortoSyncStatus";
  98. static const char* SetExpEnable = "SetExpEnable";
  99. static const char* SetExpDisable = "SetExpDisable";
  100. static const char* Reset = "RESET";
  101. static const char* SetExpMode = "SetExpMode";
  102. static const char* SetFrameRate = "SetFrameRate";
  103. static const char* SetModality = "SetModality";
  104. }
  105. namespace GENPARAM
  106. {
  107. static const int ET_TIME = 0;
  108. static const int ET_MAS = 1;
  109. static const int ET_AEC = 2;
  110. static const int FOCUS_BIG = 1;
  111. static const int FOCUS_SMALL = 0;
  112. static const int FOCUS_AUTO = 2;
  113. }
  114. //-----------------------------------------------------------------------------
  115. // KV
  116. //-----------------------------------------------------------------------------
  117. class KVMould : public FloatMould
  118. {
  119. using super = FloatMould;
  120. public:
  121. KVMould(float initialvalue, float min, float max, float accuracy)
  122. :super(AttrKey::KV, initialvalue, min, max, accuracy) {}
  123. ~KVMould() {}
  124. static constexpr const char * Unit { "kV" };
  125. std::string GetDescription()
  126. {
  127. ResDataObject temp, result;
  128. temp.add(ValKey::UPPERLIMIT, m_LimitMax);
  129. temp.add(ValKey::LOWERLIMIT, m_LimitMin);
  130. temp.add(ValKey::ACCURACY, m_Accuracy);
  131. temp.add(ValKey::UNIT, Unit);
  132. result.add(Key.c_str(), temp);
  133. return result.encode();
  134. }
  135. };
  136. //-----------------------------------------------------------------------------
  137. // MA
  138. //-----------------------------------------------------------------------------
  139. class MAMould :public FloatMould
  140. {
  141. using super = FloatMould;
  142. public:
  143. MAMould(float initialvalue, float min, float max, float accuracy)
  144. :super(AttrKey::MA, initialvalue, min, max, accuracy) {}
  145. ~MAMould() {}
  146. static constexpr const char * Unit { "mA" };
  147. std::string GetDescription()
  148. {
  149. ResDataObject temp, result;
  150. temp.add(ValKey::UPPERLIMIT, m_LimitMax);
  151. temp.add(ValKey::LOWERLIMIT, m_LimitMin);
  152. temp.add(ValKey::ACCURACY, m_Accuracy);
  153. temp.add(ValKey::UNIT, Unit);
  154. result.add(Key.c_str(), temp);
  155. return result.encode();
  156. }
  157. };
  158. //-----------------------------------------------------------------------------
  159. // MS
  160. //-----------------------------------------------------------------------------
  161. class MSMould :public FloatMould
  162. {
  163. using super = FloatMould;
  164. public:
  165. MSMould(float initialvalue, float min, float max, float accuracy)
  166. :super(AttrKey::MS, initialvalue, min, max, accuracy) {}
  167. ~MSMould() {}
  168. static constexpr const char* Unit { "ms" };
  169. std::string GetDescription()
  170. {
  171. ResDataObject temp, result;
  172. temp.add(ValKey::UPPERLIMIT, m_LimitMax);
  173. temp.add(ValKey::LOWERLIMIT, m_LimitMin);
  174. temp.add(ValKey::ACCURACY, m_Accuracy);
  175. temp.add(ValKey::UNIT, Unit);
  176. result.add(Key.c_str(), temp);
  177. return result.encode();
  178. }
  179. };
  180. //-----------------------------------------------------------------------------
  181. // MAS
  182. //-----------------------------------------------------------------------------
  183. class MASMould :public FloatMould
  184. {
  185. using super = FloatMould;
  186. public:
  187. MASMould(float initialvalue, float min, float max, float accuracy)
  188. :super(AttrKey::MAS, initialvalue, min, max, accuracy) {}
  189. ~MASMould() {}
  190. static constexpr const char* Unit { "mAs" };
  191. std::string strUnit = Unit;
  192. //std::string GetDescription();
  193. };
  194. //-----------------------------------------------------------------------------
  195. // FOCUS
  196. //-----------------------------------------------------------------------------
  197. class FOCUSMould :public IntMould
  198. {
  199. using super = IntMould;
  200. public:
  201. FOCUSMould(int initialvalue, int min, int max, int accuracy)
  202. :super(AttrKey::FOCUS, initialvalue, min, max, accuracy) {}
  203. ~FOCUSMould() {}
  204. };
  205. //-----------------------------------------------------------------------------
  206. // WORKSTATION
  207. //-----------------------------------------------------------------------------
  208. class WORKSTATIONMould :public IntMould
  209. {
  210. using super = IntMould;
  211. public:
  212. WORKSTATIONMould(int initialvalue, int min, int max, int accuracy)
  213. :super(AttrKey::WORKSTATION, initialvalue, min, max, accuracy) {}
  214. ~WORKSTATIONMould() {}
  215. };
  216. //-----------------------------------------------------------------------------
  217. // TECHMODE
  218. //-----------------------------------------------------------------------------
  219. class TECHMODEMould :public IntMould
  220. {
  221. using super = IntMould;
  222. public:
  223. TECHMODEMould(int initialvalue, int min, int max, int accuracy)
  224. :super(AttrKey::TECHMODE, initialvalue, min, max, accuracy) {}
  225. ~TECHMODEMould() {}
  226. };
  227. //-----------------------------------------------------------------------------
  228. // AECField
  229. //-----------------------------------------------------------------------------
  230. class AECFIELDMould :public IntMould
  231. {
  232. using super = IntMould;
  233. public:
  234. AECFIELDMould(int initialvalue, int min, int max, int accuracy)
  235. :super(AttrKey::AECFIELD, initialvalue, min, max, accuracy) {}
  236. ~AECFIELDMould() {}
  237. };
  238. //-----------------------------------------------------------------------------
  239. // AECFilm
  240. //-----------------------------------------------------------------------------
  241. class AECFILMMould :public IntMould
  242. {
  243. using super = IntMould;
  244. public:
  245. AECFILMMould(int initialvalue, int min, int max, int accuracy)
  246. :super(AttrKey::AECFILM, initialvalue, min, max, accuracy) {}
  247. ~AECFILMMould() {}
  248. };
  249. //-----------------------------------------------------------------------------
  250. // AECDensity
  251. //-----------------------------------------------------------------------------
  252. class AECDENSITYMould :public IntMould
  253. {
  254. using super = IntMould;
  255. public:
  256. AECDENSITYMould(int initialvalue, int min, int max, int accuracy)
  257. :super(AttrKey::AECDENSITY, initialvalue, min, max, accuracy) {}
  258. ~AECDENSITYMould() {}
  259. };
  260. //-----------------------------------------------------------------------------
  261. // TUBEHEATMould
  262. //-----------------------------------------------------------------------------
  263. class TUBEHEATMould :public IntMould
  264. {
  265. using super = IntMould;
  266. public:
  267. TUBEHEATMould(int initialvalue, int min, int max, int accuracy)
  268. :super(AttrKey::TUBEHEAT, initialvalue, min, max, accuracy) {}
  269. ~TUBEHEATMould() {}
  270. };
  271. //-----------------------------------------------------------------------------
  272. // POSTKVMould
  273. //-----------------------------------------------------------------------------
  274. class POSTKVMould :public FloatMould
  275. {
  276. using super = FloatMould;
  277. public:
  278. POSTKVMould(float initialvalue, float min, float max, float accuracy)
  279. :super(AttrKey::POSTKV, initialvalue, min, max, accuracy) {}
  280. ~POSTKVMould() {}
  281. static constexpr const char* Unit{ "kV" };
  282. std::string strUnit = Unit;
  283. //std::string GetDescription();
  284. };
  285. //-----------------------------------------------------------------------------
  286. // POSTMAMould
  287. //-----------------------------------------------------------------------------
  288. class POSTMAMould :public FloatMould
  289. {
  290. using super = FloatMould;
  291. public:
  292. POSTMAMould(float initialvalue, float min, float max, float accuracy)
  293. :super(AttrKey::POSTMA, initialvalue, min, max, accuracy) {}
  294. ~POSTMAMould() {}
  295. static constexpr const char* Unit{ "mA" };
  296. std::string GetDescription()
  297. {
  298. ResDataObject temp, result;
  299. temp.add(ValKey::UPPERLIMIT, m_LimitMax);
  300. temp.add(ValKey::LOWERLIMIT, m_LimitMin);
  301. temp.add(ValKey::ACCURACY, m_Accuracy);
  302. temp.add(ValKey::UNIT, Unit);
  303. result.add(Key.c_str(), temp);
  304. return result.encode();
  305. }
  306. };
  307. //-----------------------------------------------------------------------------
  308. // POSTMSMould
  309. //-----------------------------------------------------------------------------
  310. class POSTMSMould :public FloatMould
  311. {
  312. using super = FloatMould;
  313. public:
  314. POSTMSMould(float initialvalue, float min, float max, float accuracy)
  315. :super(AttrKey::POSTMS, initialvalue, min, max, accuracy) {}
  316. ~POSTMSMould() {}
  317. static constexpr const char* Unit { "ms" };
  318. std::string GetDescription()
  319. {
  320. ResDataObject temp, result;
  321. temp.add(ValKey::UPPERLIMIT, m_LimitMax);
  322. temp.add(ValKey::LOWERLIMIT, m_LimitMin);
  323. temp.add(ValKey::ACCURACY, m_Accuracy);
  324. temp.add(ValKey::UNIT, Unit);
  325. result.add(Key.c_str(), temp);
  326. return result.encode();
  327. }
  328. };
  329. //-----------------------------------------------------------------------------
  330. // POSTMASMould
  331. //-----------------------------------------------------------------------------
  332. class POSTMASMould :public FloatMould
  333. {
  334. using super = FloatMould;
  335. public:
  336. POSTMASMould(float initialvalue, float min, float max, float accuracy)
  337. :super(AttrKey::POSTMAS, initialvalue, min, max, accuracy) {}
  338. ~POSTMASMould() {}
  339. static constexpr const char* Unit { "mAs" };
  340. std::string GetDescription()
  341. {
  342. ResDataObject temp, result;
  343. temp.add(ValKey::UPPERLIMIT, m_LimitMax);
  344. temp.add(ValKey::LOWERLIMIT, m_LimitMin);
  345. temp.add(ValKey::ACCURACY, m_Accuracy);
  346. temp.add(ValKey::UNIT, Unit);
  347. result.add(Key.c_str(), temp);
  348. return result.encode();
  349. }
  350. };
  351. //-----------------------------------------------------------------------------
  352. // GENSYNSTATEMould
  353. //-----------------------------------------------------------------------------
  354. class GENSYNSTATEMould :public IntMould
  355. {
  356. using super = IntMould;
  357. public:
  358. GENSYNSTATEMould(int initialvalue, int min, int max, int accuracy)
  359. :super(AttrKey::GENSYNSTATE, initialvalue, min, max, accuracy) {}
  360. ~GENSYNSTATEMould() {}
  361. };
  362. //-----------------------------------------------------------------------------
  363. // GENSTATE
  364. //-----------------------------------------------------------------------------
  365. class GENSTATEMould :public IntMould
  366. {
  367. using super = IntMould;
  368. public:
  369. GENSTATEMould(int initialvalue, int min, int max, int accuracy)
  370. :super(AttrKey::GENSTATE, initialvalue, min, max, accuracy) {}
  371. ~GENSTATEMould() {}
  372. };
  373. //-----------------------------------------------------------------------------
  374. // TotalExposureNumberMould
  375. //-----------------------------------------------------------------------------
  376. class TOTALEXPNUMMould :public IntMould
  377. {
  378. using super = IntMould;
  379. public:
  380. TOTALEXPNUMMould(int initialvalue, int min, int max, int accuracy)
  381. :super(AttrKey::TOTALEXPSURENUMBER, initialvalue, min, max, accuracy)
  382. {
  383. }
  384. ~TOTALEXPNUMMould()
  385. {
  386. }
  387. };
  388. //-----------------------------------------------------------------------------
  389. // TotalAcqTimesMould
  390. //-----------------------------------------------------------------------------
  391. class TOTALACQTIMESMould :public IntMould
  392. {
  393. using super = IntMould;
  394. public:
  395. TOTALACQTIMESMould(int initialvalue, int min, int max, int accuracy)
  396. :super(AttrKey::TOTALACQTIMES,initialvalue, min, max, accuracy)
  397. {
  398. }
  399. ~TOTALACQTIMESMould()
  400. {
  401. }
  402. };
  403. //-----------------------------------------------------------------------------
  404. // TubeCoolWaitTimeMould
  405. //-----------------------------------------------------------------------------
  406. class TUBECOOLTIMEMould :public IntMould
  407. {
  408. using super = IntMould;
  409. public:
  410. TUBECOOLTIMEMould(int initialvalue, int min, int max, int accuracy)
  411. :super(AttrKey::TUBECOOLWAITTIME,initialvalue, min, max, accuracy)
  412. {
  413. }
  414. ~TUBECOOLTIMEMould()
  415. {
  416. }
  417. };
  418. //-----------------------------------------------------------------------------
  419. // TubeOverLoadNumber
  420. //-----------------------------------------------------------------------------
  421. class TUBEOVERLOADNUMMould :public IntMould
  422. {
  423. using super = IntMould;
  424. public:
  425. TUBEOVERLOADNUMMould(int initialvalue, int min, int max, int accuracy)
  426. :super(AttrKey::TUBEOVERLOADNUMBER,initialvalue, min, max, accuracy)
  427. {
  428. }
  429. ~TUBEOVERLOADNUMMould()
  430. {
  431. }
  432. };
  433. //-----------------------------------------------------------------------------
  434. // CurrentExposureNumber
  435. //-----------------------------------------------------------------------------
  436. class CUREXPNUMMould :public IntMould
  437. {
  438. using super = IntMould;
  439. public:
  440. CUREXPNUMMould(int initialvalue, int min, int max, int accuracy)
  441. :super(AttrKey::CURRENTEXPOSUREBNUMBER,initialvalue, min, max, accuracy)
  442. {
  443. }
  444. ~CUREXPNUMMould()
  445. {
  446. }
  447. };
  448. //-----------------------------------------------------------------------------
  449. // _tAPRArgs
  450. //-----------------------------------------------------------------------------
  451. struct _tAPRArgs
  452. {
  453. int nFocus;
  454. int nTechmode;
  455. float fKV;
  456. float fMA;
  457. float fMS;
  458. float fMAS;
  459. int nAECDensity;
  460. int nAECFilm;
  461. int nAECField;
  462. };
  463. //-----------------------------------------------------------------------------
  464. // EXPMODEMould
  465. //-----------------------------------------------------------------------------
  466. class EXPMODEMould :public StringMould
  467. {
  468. using super = StringMould;
  469. public:
  470. EXPMODEMould(std::string initialvalue)
  471. :super(AttrKey::EXPMODE, initialvalue)
  472. {
  473. }
  474. ~EXPMODEMould()
  475. {
  476. }
  477. };
  478. //-----------------------------------------------------------------------------
  479. // MODALITYMould
  480. //-----------------------------------------------------------------------------
  481. class MODALITYMould :public StringMould
  482. {
  483. using super = StringMould;
  484. public:
  485. MODALITYMould(std::string initialvalue)
  486. :super(AttrKey::MODALITY, initialvalue)
  487. {
  488. }
  489. ~MODALITYMould()
  490. {
  491. }
  492. };
  493. //-----------------------------------------------------------------------------
  494. // FRAMERATEMould
  495. //-----------------------------------------------------------------------------
  496. class FRAMERATEMould :public FloatMould
  497. {
  498. using super = FloatMould;
  499. public:
  500. FRAMERATEMould(float initialvalue, float min, float max, float accuracy)
  501. :super(AttrKey::FRAMERATE, initialvalue, min, max, accuracy)
  502. {
  503. }
  504. ~FRAMERATEMould()
  505. {
  506. }
  507. };
  508. //-----------------------------------------------------------------------------
  509. // CurrentExposureNumber
  510. //-----------------------------------------------------------------------------
  511. class BATTERYCHARGSTATEMould :public IntMould
  512. {
  513. using super = IntMould;
  514. public:
  515. BATTERYCHARGSTATEMould(int initialvalue, int min, int max, int accuracy)
  516. :super(AttrKey::BATTERYCHARGESTATE, initialvalue, min, max, accuracy)
  517. {
  518. }
  519. ~BATTERYCHARGSTATEMould()
  520. {
  521. }
  522. };
  523. //-----------------------------------------------------------------------------
  524. // REFERENCEAIRKERMAMould
  525. //-----------------------------------------------------------------------------
  526. class REFERENCEAIRKERMAMould :public FloatMould
  527. {
  528. using super = FloatMould;
  529. public:
  530. REFERENCEAIRKERMAMould(float initialvalue, float min, float max, float accuracy)
  531. :super(AttrKey::REFERENCEAIRKERMA, initialvalue, min, max, accuracy)
  532. {
  533. }
  534. ~REFERENCEAIRKERMAMould()
  535. {
  536. }
  537. };
  538. //-----------------------------------------------------------------------------
  539. // KVLISTMould
  540. //-----------------------------------------------------------------------------
  541. class KVLISTMould :public StringMould
  542. {
  543. using super = StringMould;
  544. public:
  545. KVLISTMould(std::string initialvalue)
  546. :super(AttrKey::KVLIST, initialvalue)
  547. {
  548. }
  549. ~KVLISTMould()
  550. {
  551. }
  552. };
  553. //-----------------------------------------------------------------------------
  554. // MASLISTMould
  555. //-----------------------------------------------------------------------------
  556. class MASLISTMould :public StringMould
  557. {
  558. using super = StringMould;
  559. public:
  560. MASLISTMould(std::string initialvalue)
  561. :super(AttrKey::MASLIST, initialvalue)
  562. {
  563. }
  564. ~MASLISTMould()
  565. {
  566. }
  567. };
  568. //-----------------------------------------------------------------------------
  569. // ConfigInfo
  570. //-----------------------------------------------------------------------------
  571. namespace ConfKey
  572. {
  573. static const char* DiosGeneratorType = "GeneratorVender";
  574. static const char* DiosGeneratorModel = "GeneratorModel";
  575. static const char* DiosGeneratorConfig = "DeviceConfig";
  576. static const char* DiosGeneratorAttribute = "Attribute";
  577. static const char* DiosGeneratorDescription = "Description";
  578. static const char* DiosSyncType = "SyncType";
  579. static const char* DiosSCFType = "SCFType";
  580. static const char* DiosSCFTCPIP = "TCPIP";
  581. static const char* DiosSCFCOM = "COM";
  582. static const char* DiosSCFIP = "ip";
  583. static const char* DiosSCFPort = "port";
  584. static const char* DiosSCFBaudrate = "baudrate";
  585. static const char* DiosSCFBytesize = "bytesize";
  586. static const char* DiosSCFParity = "parity";
  587. static const char* DiosSCFStopbits = "stopbits";
  588. static const char* DiosWSTable = "WSTable";
  589. static const char* DiosWSWall = "WSWall";
  590. static const char* DiosWSFree = "WSFree";
  591. static const char* DiosWSTomo = "WSTomo";
  592. static const char* DiosWSConventional = "WSConventional";
  593. static const char* DiosSynTable = "SYNTable";
  594. static const char* DiosSynWall = "SYNWall";
  595. static const char* DiosSynFree = "SYNFree";
  596. static const char* DiosSynTomo = "SYNTomo";
  597. static const char* DiosSynConventional = "SYNConventional";
  598. static const char* DiosConsoleRole = "ConsoleRole";
  599. static const char* DiosIsConnect = "IsConnect";
  600. }
  601. }
  602. }