cbusiness.cpp 103 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142
  1. #include "cbusiness.h"
  2. //#include <QDebug>
  3. #include <QLabel>
  4. #include <QLineEdit>
  5. #include <QPushButton>
  6. #include <QWidget>
  7. #include <QWindow>
  8. void OnDevInfoChange(const int &iType, void *pStruct)
  9. {
  10. // qDebug()<<(QString *)pStruct;
  11. }
  12. CBusiness::CBusiness(QObject *parent) : QObject(parent)
  13. {
  14. engine.load(QUrl(QLatin1String("qrc:/main.qml"))); //加载main.qml文件
  15. engine.rootContext()->setContextProperty("FControl",this); //设置可以在qml中直接通过FControl属性访问当前c++对象的属性和功能
  16. m_pHttpThreadNum1 = new HttpThreadNum1;
  17. connect(m_pHttpThreadNum1,&HttpThreadNum1::sig_result,this,&CBusiness::slot_result);
  18. m_pHttpThreadNum1->init(); //初始化
  19. }
  20. //接受sig_result反馈结果,发送给sig_qml
  21. void CBusiness::slot_result(int iType, QVariant qvariant)
  22. {
  23. if (qvariant.toInt() == EHTN1TYPE_error)
  24. {
  25. qDebug() << "类型:" << iType << "EHTN1TYPE_error";
  26. emit sig_qml(0, "error");
  27. }
  28. switch (iType)
  29. {
  30. case EHTN1TYPE_LoginReturn:
  31. {
  32. S_HTN1_LoginReturn structTemp = qvariant.value<S_HTN1_LoginReturn>();
  33. emit sig_qml(0, "structTemp.role_name:\n" + structTemp.role_name + "\n" +
  34. "structTemp.code:\n" + QString::number(structTemp.code) + "\n" +
  35. "structTemp.message:\n" + structTemp.message + "\n" +
  36. "structTemp.uid:\n" + structTemp.uid + "\n");
  37. }
  38. break;
  39. case EHTN1TYPE_ReturnAllCarState:
  40. {
  41. S_HTN1_ReturnAllCarState structTemp = qvariant.value<S_HTN1_ReturnAllCarState>();
  42. for (int i = 0; i < structTemp.data.count(); i++)
  43. {
  44. /*if(structTemp.data[i].name=="1号车")
  45. {
  46. emit sig_qml_CarOneState(structTemp.data[i].state);
  47. }
  48. else if (structTemp.data[i].name == "2号车")
  49. {
  50. emit sig_qml_CarTwoState(structTemp.data[i].state);
  51. }*/
  52. if (structTemp.data[i].name == "3号车")
  53. {
  54. emit sig_qml_CarThreeState(structTemp.data[i].state);
  55. emit sig_qml_CarThreeSlagState(structTemp.data[i].vehicle_pot_state);
  56. }
  57. /*else if (structTemp.data[i].name == "4号车")
  58. {
  59. emit sig_qml_CarFourState(structTemp.data[i].state);
  60. }
  61. else if (structTemp.data[i].name == "5号车")
  62. {
  63. emit sig_qml_CarFiveState(structTemp.data[i].state);
  64. }*/
  65. }
  66. }
  67. break;
  68. case EHTN1TYPE_ReturnStartUpState:
  69. {
  70. S_HTN1_ReturnStartUpState structTemp = qvariant.value<S_HTN1_ReturnStartUpState>();
  71. emit sig_qml(0, QString::number(structTemp.code) + "\n" + structTemp.data);
  72. }
  73. break;
  74. case EHTN1TYPE_ReturnShutDownState:
  75. {
  76. S_HTN1_ReturnShutDownState structTemp = qvariant.value<S_HTN1_ReturnShutDownState>();
  77. emit sig_qml(0, QString::number(structTemp.code) + "\n" + structTemp.data);
  78. }
  79. break;
  80. case EHTN1TYPE_ReturnRemoteRequestState:
  81. {
  82. S_HTN1_ReturnRemoteRequestState structTemp = qvariant.value<S_HTN1_ReturnRemoteRequestState>();
  83. emit sig_qml(0, QString::number(structTemp.code) + "\n" + structTemp.data);
  84. }
  85. break;
  86. case EHTN1TYPE_ReturnStartWorkState:
  87. {
  88. S_HTN1_ReturnDoStartWorkState structTemp = qvariant.value<S_HTN1_ReturnDoStartWorkState>();
  89. emit sig_qml(0, QString::number(structTemp.code) + "\n" + structTemp.data);
  90. }
  91. break;
  92. case EHTN1TYPE_ReturnAddCarState:
  93. {
  94. S_HTN1_ReturnAddCarState structTemp = qvariant.value<S_HTN1_ReturnAddCarState>();
  95. emit sig_qml(0, QString::number(structTemp.code) + "\n" + structTemp.data);
  96. }
  97. break;
  98. case EHTN1TYPE_ReturnRenameCarState:
  99. {
  100. S_HTN1_ReturnReanmeCarState structTemp = qvariant.value<S_HTN1_ReturnReanmeCarState>();
  101. emit sig_qml(0, QString::number(structTemp.code) + "\n" + structTemp.data[0].uuid);
  102. }
  103. break;
  104. case EHTN1TYPE_ReturnDeleteCarState:
  105. {
  106. S_HTN1_ReturnDeleteCarState structTemp = qvariant.value<S_HTN1_ReturnDeleteCarState>();
  107. emit sig_qml(0, QString::number(structTemp.code) + "\n" + structTemp.data);
  108. }
  109. break;
  110. case EHTN1TYPE_ReturnTaskListData:
  111. {
  112. S_HTN1_ReturnTaskListData structTemp = qvariant.value<S_HTN1_ReturnTaskListData>();
  113. emit sig_qml(0, QString::number(structTemp.code) + "\n" + structTemp.data[0].uuid);
  114. }
  115. break;
  116. case EHTN1TYPE_ReturnStopTask:
  117. {
  118. S_HTN1_ReturnStopTask structTemp = qvariant.value<S_HTN1_ReturnStopTask>();
  119. emit sig_qml(0, QString::number(structTemp.code) + "\n" + structTemp.data);
  120. }
  121. break;
  122. case EHTN1TYPE_ReturnCancelTask:
  123. {
  124. S_HTN1_ReturnCancelTask structTemp = qvariant.value<S_HTN1_ReturnCancelTask>();
  125. emit sig_qml(0, QString::number(structTemp.code) + "\n" + structTemp.data);
  126. }
  127. break;
  128. case EHTN1TYPE_ReturnSlagState:
  129. {
  130. S_HTN1_ReturnSlagState structTemp = qvariant.value<S_HTN1_ReturnSlagState>();
  131. //空数据保护
  132. if (structTemp.data.isEmpty())
  133. {
  134. qDebug() << "===============" << "得到空的数据" << "=========================\n";
  135. return;
  136. }
  137. else
  138. {
  139. //调度信息区域罐状态显示信号
  140. for (int i = 0; i < structTemp.data.size(); i++)
  141. {
  142. //根据包号发包的状态
  143. switch (structTemp.data[i].pot_number)
  144. {
  145. case 1:
  146. emit sig_qml_SlagStateA1(structTemp.data[i].pot_status);
  147. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  148. break;
  149. case 2:
  150. emit sig_qml_SlagStateA2(structTemp.data[i].pot_status);
  151. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  152. break;
  153. case 3:
  154. emit sig_qml_SlagStateA3(structTemp.data[i].pot_status);
  155. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  156. break;
  157. case 4:
  158. emit sig_qml_SlagStateA4(structTemp.data[i].pot_status);
  159. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  160. break;
  161. case 5:
  162. emit sig_qml_SlagStateA5(structTemp.data[i].pot_status);
  163. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  164. break;
  165. case 6:
  166. emit sig_qml_SlagStateA6(structTemp.data[i].pot_status);
  167. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  168. break;
  169. case 7:
  170. emit sig_qml_SlagStateA7(structTemp.data[i].pot_status);
  171. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  172. break;
  173. case 8:
  174. emit sig_qml_SlagStateA8(structTemp.data[i].pot_status);
  175. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  176. break;
  177. case 9:
  178. emit sig_qml_SlagStateA9(structTemp.data[i].pot_status);
  179. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  180. break;
  181. case 10:
  182. emit sig_qml_SlagStateA10(structTemp.data[i].pot_status);
  183. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  184. break;
  185. case 11:
  186. emit sig_qml_SlagStateA11(structTemp.data[i].pot_status);
  187. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  188. break;
  189. case 12:
  190. emit sig_qml_SlagStateA12(structTemp.data[i].pot_status);
  191. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  192. break;
  193. case 13:
  194. emit sig_qml_SlagStateA13(structTemp.data[i].pot_status);
  195. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  196. break;
  197. case 14:
  198. emit sig_qml_SlagStateA14(structTemp.data[i].pot_status);
  199. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  200. break;
  201. case 15:
  202. emit sig_qml_SlagStateA15(structTemp.data[i].pot_status);
  203. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  204. break;
  205. case 16:
  206. emit sig_qml_SlagStateA16(structTemp.data[i].pot_status);
  207. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  208. break;
  209. case 17:
  210. emit sig_qml_SlagStateA17(structTemp.data[i].pot_status);
  211. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  212. break;
  213. case 18:
  214. emit sig_qml_SlagStateA18(structTemp.data[i].pot_status);
  215. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  216. break;
  217. case 19:
  218. emit sig_qml_SlagStateA19(structTemp.data[i].pot_status);
  219. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  220. break;
  221. case 20:
  222. emit sig_qml_SlagStateA20(structTemp.data[i].pot_status);
  223. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  224. break;
  225. case 21:
  226. emit sig_qml_SlagStateA21(structTemp.data[i].pot_status);
  227. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  228. break;
  229. case 22:
  230. emit sig_qml_SlagStateA22(structTemp.data[i].pot_status);
  231. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  232. break;
  233. case 23:
  234. emit sig_qml_SlagStateA23(structTemp.data[i].pot_status);
  235. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  236. break;
  237. case 24:
  238. emit sig_qml_SlagStateA24(structTemp.data[i].pot_status);
  239. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  240. break;
  241. case 25:
  242. emit sig_qml_SlagStateA25(structTemp.data[i].pot_status);
  243. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  244. break;
  245. case 26:
  246. emit sig_qml_SlagStateA26(structTemp.data[i].pot_status);
  247. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  248. break;
  249. case 27:
  250. emit sig_qml_SlagStateA27(structTemp.data[i].pot_status);
  251. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  252. break;
  253. case 28:
  254. emit sig_qml_SlagStateA28(structTemp.data[i].pot_status);
  255. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  256. break;
  257. case 29:
  258. emit sig_qml_SlagStateA29(structTemp.data[i].pot_status);
  259. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  260. break;
  261. case 30:
  262. emit sig_qml_SlagStateA30(structTemp.data[i].pot_status);
  263. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  264. break;
  265. case 31:
  266. emit sig_qml_SlagStateA31(structTemp.data[i].pot_status);
  267. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  268. break;
  269. case 32:
  270. emit sig_qml_SlagStateB1(structTemp.data[i].pot_status);
  271. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  272. break;
  273. case 33:
  274. emit sig_qml_SlagStateB2(structTemp.data[i].pot_status);
  275. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  276. break;
  277. case 34:
  278. emit sig_qml_SlagStateB3(structTemp.data[i].pot_status);
  279. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  280. break;
  281. case 35:
  282. emit sig_qml_SlagStateB4(structTemp.data[i].pot_status);
  283. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  284. break;
  285. case 36:
  286. emit sig_qml_SlagStateB5(structTemp.data[i].pot_status);
  287. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  288. break;
  289. case 37:
  290. emit sig_qml_SlagStateB6(structTemp.data[i].pot_status);
  291. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  292. break;
  293. case 38:
  294. emit sig_qml_SlagStateB7(structTemp.data[i].pot_status);
  295. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  296. break;
  297. case 39:
  298. emit sig_qml_SlagStateB8(structTemp.data[i].pot_status);
  299. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  300. break;
  301. case 40:
  302. emit sig_qml_SlagStateB9(structTemp.data[i].pot_status);
  303. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  304. break;
  305. case 41:
  306. emit sig_qml_SlagStateB10(structTemp.data[i].pot_status);
  307. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  308. break;
  309. case 42:
  310. emit sig_qml_SlagStateB11(structTemp.data[i].pot_status);
  311. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  312. break;
  313. case 43:
  314. emit sig_qml_SlagStateB12(structTemp.data[i].pot_status);
  315. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  316. break;
  317. case 44:
  318. emit sig_qml_SlagStateB13(structTemp.data[i].pot_status);
  319. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  320. break;
  321. case 45:
  322. emit sig_qml_SlagStateB14(structTemp.data[i].pot_status);
  323. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  324. break;
  325. case 46:
  326. emit sig_qml_SlagStateB15(structTemp.data[i].pot_status);
  327. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  328. break;
  329. case 47:
  330. emit sig_qml_SlagStateB16(structTemp.data[i].pot_status);
  331. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  332. break;
  333. case 48:
  334. emit sig_qml_SlagStateB17(structTemp.data[i].pot_status);
  335. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  336. break;
  337. case 49:
  338. emit sig_qml_SlagStateB18(structTemp.data[i].pot_status);
  339. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  340. break;
  341. case 50:
  342. emit sig_qml_SlagStateB19(structTemp.data[i].pot_status);
  343. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  344. break;
  345. case 51:
  346. emit sig_qml_SlagStateB20(structTemp.data[i].pot_status);
  347. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  348. break;
  349. case 52:
  350. emit sig_qml_SlagStateB21(structTemp.data[i].pot_status);
  351. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  352. break;
  353. case 53:
  354. emit sig_qml_SlagStateB22(structTemp.data[i].pot_status);
  355. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  356. break;
  357. case 54:
  358. emit sig_qml_SlagStateB23(structTemp.data[i].pot_status);
  359. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  360. break;
  361. case 55:
  362. emit sig_qml_SlagStateB24(structTemp.data[i].pot_status);
  363. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  364. break;
  365. case 56:
  366. emit sig_qml_SlagStateB25(structTemp.data[i].pot_status);
  367. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  368. break;
  369. case 57:
  370. emit sig_qml_SlagStateB26(structTemp.data[i].pot_status);
  371. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  372. break;
  373. case 58:
  374. emit sig_qml_SlagStateB27(structTemp.data[i].pot_status);
  375. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  376. break;
  377. case 59:
  378. emit sig_qml_SlagStateB28(structTemp.data[i].pot_status);
  379. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  380. break;
  381. case 60:
  382. emit sig_qml_SlagStateB29(structTemp.data[i].pot_status);
  383. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  384. break;
  385. case 61:
  386. emit sig_qml_SlagStateB30(structTemp.data[i].pot_status);
  387. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  388. break;
  389. case 62:
  390. emit sig_qml_SlagStateB31(structTemp.data[i].pot_status);
  391. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  392. break;
  393. case 63:
  394. emit sig_qml_SlagStateC1(structTemp.data[i].pot_status);
  395. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  396. break;
  397. case 64:
  398. emit sig_qml_SlagStateC2(structTemp.data[i].pot_status);
  399. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  400. break;
  401. case 65:
  402. emit sig_qml_SlagStateC3(structTemp.data[i].pot_status);
  403. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  404. break;
  405. case 66:
  406. emit sig_qml_SlagStateC4(structTemp.data[i].pot_status);
  407. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  408. break;
  409. case 67:
  410. emit sig_qml_SlagStateC5(structTemp.data[i].pot_status);
  411. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  412. break;
  413. case 68:
  414. emit sig_qml_SlagStateC6(structTemp.data[i].pot_status);
  415. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  416. break;
  417. case 69:
  418. emit sig_qml_SlagStateC7(structTemp.data[i].pot_status);
  419. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  420. break;
  421. case 70:
  422. emit sig_qml_SlagStateC8(structTemp.data[i].pot_status);
  423. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  424. break;
  425. case 71:
  426. emit sig_qml_SlagStateC9(structTemp.data[i].pot_status);
  427. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  428. break;
  429. case 72:
  430. emit sig_qml_SlagStateC10(structTemp.data[i].pot_status);
  431. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  432. break;
  433. case 73:
  434. emit sig_qml_SlagStateC11(structTemp.data[i].pot_status);
  435. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  436. break;
  437. case 74:
  438. emit sig_qml_SlagStateC12(structTemp.data[i].pot_status);
  439. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  440. break;
  441. case 75:
  442. emit sig_qml_SlagStateC13(structTemp.data[i].pot_status);
  443. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  444. break;
  445. case 76:
  446. emit sig_qml_SlagStateC14(structTemp.data[i].pot_status);
  447. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  448. break;
  449. case 77:
  450. emit sig_qml_SlagStateC15(structTemp.data[i].pot_status);
  451. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  452. break;
  453. case 78:
  454. emit sig_qml_SlagStateC16(structTemp.data[i].pot_status);
  455. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  456. break;
  457. case 79:
  458. emit sig_qml_SlagStateC17(structTemp.data[i].pot_status);
  459. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  460. break;
  461. case 80:
  462. emit sig_qml_SlagStateC18(structTemp.data[i].pot_status);
  463. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  464. break;
  465. case 81:
  466. emit sig_qml_SlagStateC19(structTemp.data[i].pot_status);
  467. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  468. break;
  469. case 82:
  470. emit sig_qml_SlagStateC20(structTemp.data[i].pot_status);
  471. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  472. break;
  473. case 83:
  474. emit sig_qml_SlagStateC21(structTemp.data[i].pot_status);
  475. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  476. break;
  477. case 84:
  478. emit sig_qml_SlagStateC22(structTemp.data[i].pot_status);
  479. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  480. break;
  481. case 85:
  482. emit sig_qml_SlagStateC23(structTemp.data[i].pot_status);
  483. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  484. break;
  485. case 86:
  486. emit sig_qml_SlagStateC24(structTemp.data[i].pot_status);
  487. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  488. break;
  489. case 87:
  490. emit sig_qml_SlagStateC25(structTemp.data[i].pot_status);
  491. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  492. break;
  493. case 88:
  494. emit sig_qml_SlagStateC26(structTemp.data[i].pot_status);
  495. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  496. break;
  497. case 89:
  498. emit sig_qml_SlagStateC27(structTemp.data[i].pot_status);
  499. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  500. break;
  501. case 90:
  502. emit sig_qml_SlagStateC28(structTemp.data[i].pot_status);
  503. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  504. break;
  505. case 91:
  506. emit sig_qml_SlagStateC29(structTemp.data[i].pot_status);
  507. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  508. break;
  509. case 92:
  510. emit sig_qml_SlagStateC30(structTemp.data[i].pot_status);
  511. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  512. break;
  513. case 93:
  514. emit sig_qml_SlagStateC31(structTemp.data[i].pot_status);
  515. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  516. break;
  517. case 94:
  518. emit sig_qml_SlagStateD1(structTemp.data[i].pot_status);
  519. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  520. break;
  521. case 95:
  522. emit sig_qml_SlagStateD2(structTemp.data[i].pot_status);
  523. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  524. break;
  525. case 96:
  526. emit sig_qml_SlagStateD3(structTemp.data[i].pot_status);
  527. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  528. break;
  529. case 97:
  530. emit sig_qml_SlagStateD4(structTemp.data[i].pot_status);
  531. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  532. break;
  533. case 98:
  534. emit sig_qml_SlagStateD5(structTemp.data[i].pot_status);
  535. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  536. break;
  537. case 99:
  538. emit sig_qml_SlagStateD6(structTemp.data[i].pot_status);
  539. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  540. break;
  541. case 100:
  542. emit sig_qml_SlagStateD7(structTemp.data[i].pot_status);
  543. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  544. break;
  545. case 101:
  546. emit sig_qml_SlagStateD8(structTemp.data[i].pot_status);
  547. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  548. break;
  549. case 102:
  550. emit sig_qml_SlagStateD9(structTemp.data[i].pot_status);
  551. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  552. break;
  553. case 103:
  554. emit sig_qml_SlagStateD10(structTemp.data[i].pot_status);
  555. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  556. break;
  557. case 104:
  558. emit sig_qml_SlagStateD11(structTemp.data[i].pot_status);
  559. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  560. break;
  561. case 105:
  562. emit sig_qml_SlagStateD12(structTemp.data[i].pot_status);
  563. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  564. break;
  565. case 106:
  566. emit sig_qml_SlagStateD13(structTemp.data[i].pot_status);
  567. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  568. break;
  569. case 107:
  570. emit sig_qml_SlagStateD14(structTemp.data[i].pot_status);
  571. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  572. break;
  573. case 108:
  574. emit sig_qml_SlagStateD15(structTemp.data[i].pot_status);
  575. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  576. break;
  577. case 109:
  578. emit sig_qml_SlagStateD16(structTemp.data[i].pot_status);
  579. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  580. break;
  581. case 110:
  582. emit sig_qml_SlagStateD17(structTemp.data[i].pot_status);
  583. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  584. break;
  585. case 111:
  586. emit sig_qml_SlagStateD18(structTemp.data[i].pot_status);
  587. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  588. break;
  589. case 112:
  590. emit sig_qml_SlagStateD19(structTemp.data[i].pot_status);
  591. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  592. break;
  593. case 113:
  594. emit sig_qml_SlagStateD20(structTemp.data[i].pot_status);
  595. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  596. break;
  597. case 114:
  598. emit sig_qml_SlagStateD21(structTemp.data[i].pot_status);
  599. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  600. break;
  601. case 115:
  602. emit sig_qml_SlagStateD22(structTemp.data[i].pot_status);
  603. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  604. break;
  605. case 116:
  606. emit sig_qml_SlagStateD23(structTemp.data[i].pot_status);
  607. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  608. break;
  609. case 117:
  610. emit sig_qml_SlagStateD24(structTemp.data[i].pot_status);
  611. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  612. break;
  613. case 118:
  614. emit sig_qml_SlagStateD25(structTemp.data[i].pot_status);
  615. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  616. break;
  617. case 119:
  618. emit sig_qml_SlagStateD26(structTemp.data[i].pot_status);
  619. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  620. break;
  621. case 120:
  622. emit sig_qml_SlagStateD27(structTemp.data[i].pot_status);
  623. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  624. break;
  625. case 121:
  626. emit sig_qml_SlagStateD28(structTemp.data[i].pot_status);
  627. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  628. break;
  629. case 122:
  630. emit sig_qml_SlagStateD29(structTemp.data[i].pot_status);
  631. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  632. break;
  633. case 123:
  634. emit sig_qml_SlagStateD30(structTemp.data[i].pot_status);
  635. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  636. break;
  637. case 124:
  638. emit sig_qml_SlagStateD31(structTemp.data[i].pot_status);
  639. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  640. break;
  641. case 125:
  642. emit sig_qml_SlagStateE1(structTemp.data[i].pot_status);
  643. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  644. break;
  645. case 126:
  646. emit sig_qml_SlagStateE2(structTemp.data[i].pot_status);
  647. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  648. break;
  649. case 127:
  650. emit sig_qml_SlagStateE3(structTemp.data[i].pot_status);
  651. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  652. break;
  653. case 128:
  654. emit sig_qml_SlagStateE4(structTemp.data[i].pot_status);
  655. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  656. break;
  657. case 129:
  658. emit sig_qml_SlagStateE5(structTemp.data[i].pot_status);
  659. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  660. break;
  661. case 130:
  662. emit sig_qml_SlagStateE6(structTemp.data[i].pot_status);
  663. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  664. break;
  665. case 131:
  666. emit sig_qml_SlagStateE7(structTemp.data[i].pot_status);
  667. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  668. break;
  669. case 132:
  670. emit sig_qml_SlagStateE8(structTemp.data[i].pot_status);
  671. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  672. break;
  673. case 133:
  674. emit sig_qml_SlagStateE9(structTemp.data[i].pot_status);
  675. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  676. break;
  677. case 134:
  678. emit sig_qml_SlagStateE10(structTemp.data[i].pot_status);
  679. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  680. break;
  681. case 135:
  682. emit sig_qml_SlagStateE11(structTemp.data[i].pot_status);
  683. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  684. break;
  685. case 136:
  686. emit sig_qml_SlagStateE12(structTemp.data[i].pot_status);
  687. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  688. break;
  689. case 137:
  690. emit sig_qml_SlagStateE13(structTemp.data[i].pot_status);
  691. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  692. break;
  693. case 138:
  694. emit sig_qml_SlagStateE14(structTemp.data[i].pot_status);
  695. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  696. break;
  697. case 139:
  698. emit sig_qml_SlagStateE15(structTemp.data[i].pot_status);
  699. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  700. break;
  701. case 140:
  702. emit sig_qml_SlagStateE16(structTemp.data[i].pot_status);
  703. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  704. break;
  705. case 141:
  706. emit sig_qml_SlagStateE17(structTemp.data[i].pot_status);
  707. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  708. break;
  709. case 142:
  710. emit sig_qml_SlagStateE18(structTemp.data[i].pot_status);
  711. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  712. break;
  713. case 143:
  714. emit sig_qml_SlagStateE19(structTemp.data[i].pot_status);
  715. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  716. break;
  717. case 144:
  718. emit sig_qml_SlagStateE20(structTemp.data[i].pot_status);
  719. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  720. break;
  721. case 145:
  722. emit sig_qml_SlagStateE21(structTemp.data[i].pot_status);
  723. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  724. break;
  725. case 146:
  726. emit sig_qml_SlagStateE22(structTemp.data[i].pot_status);
  727. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  728. break;
  729. case 147:
  730. emit sig_qml_SlagStateE23(structTemp.data[i].pot_status);
  731. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  732. break;
  733. case 148:
  734. emit sig_qml_SlagStateE24(structTemp.data[i].pot_status);
  735. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  736. break;
  737. case 149:
  738. emit sig_qml_SlagStateE25(structTemp.data[i].pot_status);
  739. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  740. break;
  741. case 150:
  742. emit sig_qml_SlagStateE26(structTemp.data[i].pot_status);
  743. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  744. break;
  745. case 151:
  746. emit sig_qml_SlagStateE27(structTemp.data[i].pot_status);
  747. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  748. break;
  749. case 152:
  750. emit sig_qml_SlagStateE28(structTemp.data[i].pot_status);
  751. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  752. break;
  753. case 153:
  754. emit sig_qml_SlagStateE29(structTemp.data[i].pot_status);
  755. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  756. break;
  757. case 154:
  758. emit sig_qml_SlagStateE30(structTemp.data[i].pot_status);
  759. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  760. break;
  761. case 155:
  762. emit sig_qml_SlagStateE31(structTemp.data[i].pot_status);
  763. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  764. break;
  765. case 156:
  766. emit sig_qml_SlagStateF1(structTemp.data[i].pot_status);
  767. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  768. break;
  769. case 157:
  770. emit sig_qml_SlagStateF2(structTemp.data[i].pot_status);
  771. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  772. break;
  773. case 158:
  774. emit sig_qml_SlagStateF3(structTemp.data[i].pot_status);
  775. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  776. break;
  777. case 159:
  778. emit sig_qml_SlagStateF4(structTemp.data[i].pot_status);
  779. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  780. break;
  781. case 160:
  782. emit sig_qml_SlagStateF5(structTemp.data[i].pot_status);
  783. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  784. break;
  785. case 161:
  786. emit sig_qml_SlagStateF6(structTemp.data[i].pot_status);
  787. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  788. break;
  789. case 162:
  790. emit sig_qml_SlagStateF7(structTemp.data[i].pot_status);
  791. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  792. break;
  793. case 163:
  794. emit sig_qml_SlagStateF8(structTemp.data[i].pot_status);
  795. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  796. break;
  797. case 164:
  798. emit sig_qml_SlagStateF9(structTemp.data[i].pot_status);
  799. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  800. break;
  801. case 165:
  802. emit sig_qml_SlagStateF10(structTemp.data[i].pot_status);
  803. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  804. break;
  805. case 166:
  806. emit sig_qml_SlagStateF11(structTemp.data[i].pot_status);
  807. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  808. break;
  809. case 167:
  810. emit sig_qml_SlagStateF12(structTemp.data[i].pot_status);
  811. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  812. break;
  813. case 168:
  814. emit sig_qml_SlagStateF13(structTemp.data[i].pot_status);
  815. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  816. break;
  817. case 169:
  818. emit sig_qml_SlagStateF14(structTemp.data[i].pot_status);
  819. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  820. break;
  821. case 170:
  822. emit sig_qml_SlagStateF15(structTemp.data[i].pot_status);
  823. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  824. break;
  825. case 171:
  826. emit sig_qml_SlagStateF16(structTemp.data[i].pot_status);
  827. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  828. break;
  829. case 172:
  830. emit sig_qml_SlagStateF17(structTemp.data[i].pot_status);
  831. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  832. break;
  833. case 173:
  834. emit sig_qml_SlagStateF18(structTemp.data[i].pot_status);
  835. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  836. break;
  837. case 174:
  838. emit sig_qml_SlagStateF19(structTemp.data[i].pot_status);
  839. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  840. break;
  841. case 175:
  842. emit sig_qml_SlagStateF20(structTemp.data[i].pot_status);
  843. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  844. break;
  845. case 176:
  846. emit sig_qml_SlagStateF21(structTemp.data[i].pot_status);
  847. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  848. break;
  849. case 177:
  850. emit sig_qml_SlagStateF22(structTemp.data[i].pot_status);
  851. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  852. break;
  853. case 178:
  854. emit sig_qml_SlagStateF23(structTemp.data[i].pot_status);
  855. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  856. break;
  857. case 179:
  858. emit sig_qml_SlagStateF24(structTemp.data[i].pot_status);
  859. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  860. break;
  861. case 180:
  862. emit sig_qml_SlagStateF25(structTemp.data[i].pot_status);
  863. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  864. break;
  865. case 181:
  866. emit sig_qml_SlagStateF26(structTemp.data[i].pot_status);
  867. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  868. break;
  869. case 182:
  870. emit sig_qml_SlagStateF27(structTemp.data[i].pot_status);
  871. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  872. break;
  873. case 183:
  874. emit sig_qml_SlagStateF28(structTemp.data[i].pot_status);
  875. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  876. break;
  877. case 184:
  878. emit sig_qml_SlagStateF29(structTemp.data[i].pot_status);
  879. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  880. break;
  881. case 185:
  882. emit sig_qml_SlagStateF30(structTemp.data[i].pot_status);
  883. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  884. break;
  885. case 186:
  886. emit sig_qml_SlagStateF31(structTemp.data[i].pot_status);
  887. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  888. break;
  889. case 187:
  890. emit sig_qml_SlagStateG1(structTemp.data[i].pot_status);
  891. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  892. break;
  893. case 188:
  894. emit sig_qml_SlagStateG2(structTemp.data[i].pot_status);
  895. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  896. break;
  897. case 189:
  898. emit sig_qml_SlagStateG3(structTemp.data[i].pot_status);
  899. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  900. break;
  901. case 190:
  902. emit sig_qml_SlagStateG4(structTemp.data[i].pot_status);
  903. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  904. break;
  905. case 191:
  906. emit sig_qml_SlagStateG5(structTemp.data[i].pot_status);
  907. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  908. break;
  909. case 192:
  910. emit sig_qml_SlagStateG6(structTemp.data[i].pot_status);
  911. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  912. break;
  913. case 193:
  914. emit sig_qml_SlagStateG7(structTemp.data[i].pot_status);
  915. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  916. break;
  917. case 194:
  918. emit sig_qml_SlagStateG8(structTemp.data[i].pot_status);
  919. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  920. break;
  921. case 195:
  922. emit sig_qml_SlagStateG9(structTemp.data[i].pot_status);
  923. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  924. break;
  925. case 196:
  926. emit sig_qml_SlagStateG10(structTemp.data[i].pot_status);
  927. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  928. break;
  929. case 197:
  930. emit sig_qml_SlagStateG11(structTemp.data[i].pot_status);
  931. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  932. break;
  933. case 198:
  934. emit sig_qml_SlagStateG12(structTemp.data[i].pot_status);
  935. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  936. break;
  937. case 199:
  938. emit sig_qml_SlagStateG13(structTemp.data[i].pot_status);
  939. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  940. break;
  941. case 200:
  942. emit sig_qml_SlagStateG14(structTemp.data[i].pot_status);
  943. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  944. break;
  945. case 201:
  946. emit sig_qml_SlagStateG15(structTemp.data[i].pot_status);
  947. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  948. break;
  949. case 202:
  950. emit sig_qml_SlagStateG16(structTemp.data[i].pot_status);
  951. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  952. break;
  953. case 203:
  954. emit sig_qml_SlagStateG17(structTemp.data[i].pot_status);
  955. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  956. break;
  957. case 204:
  958. emit sig_qml_SlagStateG18(structTemp.data[i].pot_status);
  959. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  960. break;
  961. case 205:
  962. emit sig_qml_SlagStateG19(structTemp.data[i].pot_status);
  963. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  964. break;
  965. case 206:
  966. emit sig_qml_SlagStateG20(structTemp.data[i].pot_status);
  967. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  968. break;
  969. case 207:
  970. emit sig_qml_SlagStateG21(structTemp.data[i].pot_status);
  971. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  972. break;
  973. case 208:
  974. emit sig_qml_SlagStateG22(structTemp.data[i].pot_status);
  975. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  976. break;
  977. case 209:
  978. emit sig_qml_SlagStateG23(structTemp.data[i].pot_status);
  979. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  980. break;
  981. case 210:
  982. emit sig_qml_SlagStateG24(structTemp.data[i].pot_status);
  983. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  984. break;
  985. case 211:
  986. emit sig_qml_SlagStateG25(structTemp.data[i].pot_status);
  987. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  988. break;
  989. case 212:
  990. emit sig_qml_SlagStateG26(structTemp.data[i].pot_status);
  991. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  992. break;
  993. case 213:
  994. emit sig_qml_SlagStateG27(structTemp.data[i].pot_status);
  995. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  996. break;
  997. case 214:
  998. emit sig_qml_SlagStateG28(structTemp.data[i].pot_status);
  999. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1000. break;
  1001. case 215:
  1002. emit sig_qml_SlagStateG29(structTemp.data[i].pot_status);
  1003. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1004. break;
  1005. case 216:
  1006. emit sig_qml_SlagStateG30(structTemp.data[i].pot_status);
  1007. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1008. break;
  1009. case 217:
  1010. emit sig_qml_SlagStateG31(structTemp.data[i].pot_status);
  1011. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1012. break;
  1013. case 218:
  1014. emit sig_qml_SlagStateH1(structTemp.data[i].pot_status);
  1015. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1016. break;
  1017. case 219:
  1018. emit sig_qml_SlagStateH2(structTemp.data[i].pot_status);
  1019. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1020. break;
  1021. case 220:
  1022. emit sig_qml_SlagStateH3(structTemp.data[i].pot_status);
  1023. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1024. break;
  1025. case 221:
  1026. emit sig_qml_SlagStateH4(structTemp.data[i].pot_status);
  1027. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1028. break;
  1029. case 222:
  1030. emit sig_qml_SlagStateH5(structTemp.data[i].pot_status);
  1031. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1032. break;
  1033. case 223:
  1034. emit sig_qml_SlagStateH6(structTemp.data[i].pot_status);
  1035. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1036. break;
  1037. case 224:
  1038. emit sig_qml_SlagStateH7(structTemp.data[i].pot_status);
  1039. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1040. break;
  1041. case 225:
  1042. emit sig_qml_SlagStateH8(structTemp.data[i].pot_status);
  1043. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1044. break;
  1045. case 226:
  1046. emit sig_qml_SlagStateH9(structTemp.data[i].pot_status);
  1047. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1048. break;
  1049. case 227:
  1050. emit sig_qml_SlagStateH10(structTemp.data[i].pot_status);
  1051. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1052. break;
  1053. case 228:
  1054. emit sig_qml_SlagStateH11(structTemp.data[i].pot_status);
  1055. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1056. break;
  1057. case 229:
  1058. emit sig_qml_SlagStateH12(structTemp.data[i].pot_status);
  1059. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1060. break;
  1061. case 230:
  1062. emit sig_qml_SlagStateH13(structTemp.data[i].pot_status);
  1063. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1064. break;
  1065. case 231:
  1066. emit sig_qml_SlagStateH14(structTemp.data[i].pot_status);
  1067. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1068. break;
  1069. case 232:
  1070. emit sig_qml_SlagStateH15(structTemp.data[i].pot_status);
  1071. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1072. break;
  1073. case 233:
  1074. emit sig_qml_SlagStateH16(structTemp.data[i].pot_status);
  1075. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1076. break;
  1077. case 234:
  1078. emit sig_qml_SlagStateH17(structTemp.data[i].pot_status);
  1079. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1080. break;
  1081. case 235:
  1082. emit sig_qml_SlagStateH18(structTemp.data[i].pot_status);
  1083. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1084. break;
  1085. case 236:
  1086. emit sig_qml_SlagStateH19(structTemp.data[i].pot_status);
  1087. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1088. break;
  1089. case 237:
  1090. emit sig_qml_SlagStateH20(structTemp.data[i].pot_status);
  1091. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1092. break;
  1093. case 238:
  1094. emit sig_qml_SlagStateH21(structTemp.data[i].pot_status);
  1095. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1096. break;
  1097. case 239:
  1098. emit sig_qml_SlagStateH22(structTemp.data[i].pot_status);
  1099. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1100. break;
  1101. case 240:
  1102. emit sig_qml_SlagStateH23(structTemp.data[i].pot_status);
  1103. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1104. break;
  1105. case 241:
  1106. emit sig_qml_SlagStateH24(structTemp.data[i].pot_status);
  1107. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1108. break;
  1109. case 242:
  1110. emit sig_qml_SlagStateH25(structTemp.data[i].pot_status);
  1111. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1112. break;
  1113. case 243:
  1114. emit sig_qml_SlagStateH26(structTemp.data[i].pot_status);
  1115. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1116. break;
  1117. case 244:
  1118. emit sig_qml_SlagStateH27(structTemp.data[i].pot_status);
  1119. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1120. break;
  1121. case 245:
  1122. emit sig_qml_SlagStateH28(structTemp.data[i].pot_status);
  1123. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1124. break;
  1125. case 246:
  1126. emit sig_qml_SlagStateH29(structTemp.data[i].pot_status);
  1127. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1128. break;
  1129. case 247:
  1130. emit sig_qml_SlagStateH30(structTemp.data[i].pot_status);
  1131. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1132. break;
  1133. case 248:
  1134. emit sig_qml_SlagStateH31(structTemp.data[i].pot_status);
  1135. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1136. break;
  1137. case 249:
  1138. emit sig_qml_SlagStateI1(structTemp.data[i].pot_status);
  1139. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1140. break;
  1141. case 250:
  1142. emit sig_qml_SlagStateI2(structTemp.data[i].pot_status);
  1143. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1144. break;
  1145. case 251:
  1146. emit sig_qml_SlagStateI3(structTemp.data[i].pot_status);
  1147. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1148. break;
  1149. case 252:
  1150. emit sig_qml_SlagStateI4(structTemp.data[i].pot_status);
  1151. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1152. break;
  1153. case 253:
  1154. emit sig_qml_SlagStateI5(structTemp.data[i].pot_status);
  1155. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1156. break;
  1157. case 254:
  1158. emit sig_qml_SlagStateI6(structTemp.data[i].pot_status);
  1159. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1160. break;
  1161. case 255:
  1162. emit sig_qml_SlagStateI7(structTemp.data[i].pot_status);
  1163. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1164. break;
  1165. case 256:
  1166. emit sig_qml_SlagStateI8(structTemp.data[i].pot_status);
  1167. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1168. break;
  1169. case 257:
  1170. emit sig_qml_SlagStateI9(structTemp.data[i].pot_status);
  1171. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1172. break;
  1173. case 258:
  1174. emit sig_qml_SlagStateI10(structTemp.data[i].pot_status);
  1175. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1176. break;
  1177. case 259:
  1178. emit sig_qml_SlagStateI11(structTemp.data[i].pot_status);
  1179. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1180. break;
  1181. case 260:
  1182. emit sig_qml_SlagStateI12(structTemp.data[i].pot_status);
  1183. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1184. break;
  1185. case 261:
  1186. emit sig_qml_SlagStateI13(structTemp.data[i].pot_status);
  1187. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1188. break;
  1189. case 262:
  1190. emit sig_qml_SlagStateI14(structTemp.data[i].pot_status);
  1191. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1192. break;
  1193. case 263:
  1194. emit sig_qml_SlagStateI15(structTemp.data[i].pot_status);
  1195. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1196. break;
  1197. case 264:
  1198. emit sig_qml_SlagStateI16(structTemp.data[i].pot_status);
  1199. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1200. break;
  1201. case 265:
  1202. emit sig_qml_SlagStateI17(structTemp.data[i].pot_status);
  1203. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1204. break;
  1205. case 266:
  1206. emit sig_qml_SlagStateI18(structTemp.data[i].pot_status);
  1207. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1208. break;
  1209. case 267:
  1210. emit sig_qml_SlagStateI19(structTemp.data[i].pot_status);
  1211. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1212. break;
  1213. case 268:
  1214. emit sig_qml_SlagStateI20(structTemp.data[i].pot_status);
  1215. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1216. break;
  1217. case 269:
  1218. emit sig_qml_SlagStateI21(structTemp.data[i].pot_status);
  1219. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1220. break;
  1221. case 270:
  1222. emit sig_qml_SlagStateI22(structTemp.data[i].pot_status);
  1223. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1224. break;
  1225. case 271:
  1226. emit sig_qml_SlagStateI23(structTemp.data[i].pot_status);
  1227. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1228. break;
  1229. case 272:
  1230. emit sig_qml_SlagStateI24(structTemp.data[i].pot_status);
  1231. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1232. break;
  1233. case 273:
  1234. emit sig_qml_SlagStateI25(structTemp.data[i].pot_status);
  1235. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1236. break;
  1237. case 274:
  1238. emit sig_qml_SlagStateI26(structTemp.data[i].pot_status);
  1239. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1240. break;
  1241. case 275:
  1242. emit sig_qml_SlagStateI27(structTemp.data[i].pot_status);
  1243. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1244. break;
  1245. case 276:
  1246. emit sig_qml_SlagStateI28(structTemp.data[i].pot_status);
  1247. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1248. break;
  1249. case 277:
  1250. emit sig_qml_SlagStateI29(structTemp.data[i].pot_status);
  1251. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1252. break;
  1253. case 278:
  1254. emit sig_qml_SlagStateI30(structTemp.data[i].pot_status);
  1255. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1256. break;
  1257. case 279:
  1258. emit sig_qml_SlagStateI31(structTemp.data[i].pot_status);
  1259. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1260. break;
  1261. case 280:
  1262. emit sig_qml_SlagStateJ1(structTemp.data[i].pot_status);
  1263. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1264. break;
  1265. case 281:
  1266. emit sig_qml_SlagStateJ2(structTemp.data[i].pot_status);
  1267. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1268. break;
  1269. case 282:
  1270. emit sig_qml_SlagStateJ3(structTemp.data[i].pot_status);
  1271. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1272. break;
  1273. case 283:
  1274. emit sig_qml_SlagStateJ4(structTemp.data[i].pot_status);
  1275. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1276. break;
  1277. case 284:
  1278. emit sig_qml_SlagStateJ5(structTemp.data[i].pot_status);
  1279. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1280. break;
  1281. case 285:
  1282. emit sig_qml_SlagStateJ6(structTemp.data[i].pot_status);
  1283. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1284. break;
  1285. case 286:
  1286. emit sig_qml_SlagStateJ7(structTemp.data[i].pot_status);
  1287. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1288. break;
  1289. case 287:
  1290. emit sig_qml_SlagStateJ8(structTemp.data[i].pot_status);
  1291. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1292. break;
  1293. case 288:
  1294. emit sig_qml_SlagStateJ9(structTemp.data[i].pot_status);
  1295. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1296. break;
  1297. case 289:
  1298. emit sig_qml_SlagStateJ10(structTemp.data[i].pot_status);
  1299. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1300. break;
  1301. case 290:
  1302. emit sig_qml_SlagStateJ11(structTemp.data[i].pot_status);
  1303. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1304. break;
  1305. case 291:
  1306. emit sig_qml_SlagStateJ12(structTemp.data[i].pot_status);
  1307. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1308. break;
  1309. case 292:
  1310. emit sig_qml_SlagStateJ13(structTemp.data[i].pot_status);
  1311. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1312. break;
  1313. case 293:
  1314. emit sig_qml_SlagStateJ14(structTemp.data[i].pot_status);
  1315. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1316. break;
  1317. case 294:
  1318. emit sig_qml_SlagStateJ15(structTemp.data[i].pot_status);
  1319. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1320. break;
  1321. case 295:
  1322. emit sig_qml_SlagStateJ16(structTemp.data[i].pot_status);
  1323. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1324. break;
  1325. case 296:
  1326. emit sig_qml_SlagStateJ17(structTemp.data[i].pot_status);
  1327. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1328. break;
  1329. case 297:
  1330. emit sig_qml_SlagStateJ18(structTemp.data[i].pot_status);
  1331. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1332. break;
  1333. case 298:
  1334. emit sig_qml_SlagStateJ19(structTemp.data[i].pot_status);
  1335. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1336. break;
  1337. case 299:
  1338. emit sig_qml_SlagStateJ20(structTemp.data[i].pot_status);
  1339. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1340. break;
  1341. case 300:
  1342. emit sig_qml_SlagStateJ21(structTemp.data[i].pot_status);
  1343. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1344. break;
  1345. case 301:
  1346. emit sig_qml_SlagStateJ22(structTemp.data[i].pot_status);
  1347. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1348. break;
  1349. case 302:
  1350. emit sig_qml_SlagStateJ23(structTemp.data[i].pot_status);
  1351. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1352. break;
  1353. case 303:
  1354. emit sig_qml_SlagStateJ24(structTemp.data[i].pot_status);
  1355. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1356. break;
  1357. case 304:
  1358. emit sig_qml_SlagStateJ25(structTemp.data[i].pot_status);
  1359. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1360. break;
  1361. case 305:
  1362. emit sig_qml_SlagStateJ26(structTemp.data[i].pot_status);
  1363. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1364. break;
  1365. case 306:
  1366. emit sig_qml_SlagStateJ27(structTemp.data[i].pot_status);
  1367. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1368. break;
  1369. case 307:
  1370. emit sig_qml_SlagStateJ28(structTemp.data[i].pot_status);
  1371. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1372. break;
  1373. case 308:
  1374. emit sig_qml_SlagStateJ29(structTemp.data[i].pot_status);
  1375. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1376. break;
  1377. case 309:
  1378. emit sig_qml_SlagStateJ30(structTemp.data[i].pot_status);
  1379. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1380. break;
  1381. case 310:
  1382. emit sig_qml_SlagStateJ31(structTemp.data[i].pot_status);
  1383. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1384. break;
  1385. case 311:
  1386. emit sig_qml_SlagStateK1(structTemp.data[i].pot_status);
  1387. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1388. break;
  1389. case 312:
  1390. emit sig_qml_SlagStateK2(structTemp.data[i].pot_status);
  1391. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1392. break;
  1393. case 313:
  1394. emit sig_qml_SlagStateK3(structTemp.data[i].pot_status);
  1395. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1396. break;
  1397. case 314:
  1398. emit sig_qml_SlagStateK4(structTemp.data[i].pot_status);
  1399. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1400. break;
  1401. case 315:
  1402. emit sig_qml_SlagStateK5(structTemp.data[i].pot_status);
  1403. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1404. break;
  1405. case 316:
  1406. emit sig_qml_SlagStateK6(structTemp.data[i].pot_status);
  1407. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1408. break;
  1409. case 317:
  1410. emit sig_qml_SlagStateK7(structTemp.data[i].pot_status);
  1411. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1412. break;
  1413. case 318:
  1414. emit sig_qml_SlagStateK8(structTemp.data[i].pot_status);
  1415. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1416. break;
  1417. case 319:
  1418. emit sig_qml_SlagStateK9(structTemp.data[i].pot_status);
  1419. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1420. break;
  1421. case 320:
  1422. emit sig_qml_SlagStateK10(structTemp.data[i].pot_status);
  1423. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1424. break;
  1425. case 321:
  1426. emit sig_qml_SlagStateK11(structTemp.data[i].pot_status);
  1427. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1428. break;
  1429. case 322:
  1430. emit sig_qml_SlagStateK12(structTemp.data[i].pot_status);
  1431. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1432. break;
  1433. case 323:
  1434. emit sig_qml_SlagStateK13(structTemp.data[i].pot_status);
  1435. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1436. break;
  1437. case 324:
  1438. emit sig_qml_SlagStateK14(structTemp.data[i].pot_status);
  1439. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1440. break;
  1441. case 325:
  1442. emit sig_qml_SlagStateK15(structTemp.data[i].pot_status);
  1443. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1444. break;
  1445. case 326:
  1446. emit sig_qml_SlagStateK16(structTemp.data[i].pot_status);
  1447. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1448. break;
  1449. case 327:
  1450. emit sig_qml_SlagStateK17(structTemp.data[i].pot_status);
  1451. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1452. break;
  1453. case 328:
  1454. emit sig_qml_SlagStateK18(structTemp.data[i].pot_status);
  1455. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1456. break;
  1457. case 329:
  1458. emit sig_qml_SlagStateK19(structTemp.data[i].pot_status);
  1459. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1460. break;
  1461. case 330:
  1462. emit sig_qml_SlagStateK20(structTemp.data[i].pot_status);
  1463. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1464. break;
  1465. case 331:
  1466. emit sig_qml_SlagStateK21(structTemp.data[i].pot_status);
  1467. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1468. break;
  1469. case 332:
  1470. emit sig_qml_SlagStateK22(structTemp.data[i].pot_status);
  1471. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1472. break;
  1473. case 333:
  1474. emit sig_qml_SlagStateK23(structTemp.data[i].pot_status);
  1475. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1476. break;
  1477. case 334:
  1478. emit sig_qml_SlagStateK24(structTemp.data[i].pot_status);
  1479. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1480. break;
  1481. case 335:
  1482. emit sig_qml_SlagStateK25(structTemp.data[i].pot_status);
  1483. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1484. break;
  1485. case 336:
  1486. emit sig_qml_SlagStateK26(structTemp.data[i].pot_status);
  1487. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1488. break;
  1489. case 337:
  1490. emit sig_qml_SlagStateK27(structTemp.data[i].pot_status);
  1491. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1492. break;
  1493. case 338:
  1494. emit sig_qml_SlagStateK28(structTemp.data[i].pot_status);
  1495. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1496. break;
  1497. case 339:
  1498. emit sig_qml_SlagStateK29(structTemp.data[i].pot_status);
  1499. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1500. break;
  1501. case 340:
  1502. emit sig_qml_SlagStateK30(structTemp.data[i].pot_status);
  1503. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1504. break;
  1505. case 341:
  1506. emit sig_qml_SlagStateK31(structTemp.data[i].pot_status);
  1507. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1508. break;
  1509. case 342:
  1510. emit sig_qml_SlagStateL1(structTemp.data[i].pot_status);
  1511. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1512. break;
  1513. case 343:
  1514. emit sig_qml_SlagStateL2(structTemp.data[i].pot_status);
  1515. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1516. break;
  1517. case 344:
  1518. emit sig_qml_SlagStateL3(structTemp.data[i].pot_status);
  1519. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1520. break;
  1521. case 345:
  1522. emit sig_qml_SlagStateL4(structTemp.data[i].pot_status);
  1523. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1524. break;
  1525. case 346:
  1526. emit sig_qml_SlagStateL5(structTemp.data[i].pot_status);
  1527. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1528. break;
  1529. case 347:
  1530. emit sig_qml_SlagStateL6(structTemp.data[i].pot_status);
  1531. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1532. break;
  1533. case 348:
  1534. emit sig_qml_SlagStateL7(structTemp.data[i].pot_status);
  1535. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1536. break;
  1537. case 349:
  1538. emit sig_qml_SlagStateL8(structTemp.data[i].pot_status);
  1539. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1540. break;
  1541. case 350:
  1542. emit sig_qml_SlagStateL9(structTemp.data[i].pot_status);
  1543. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1544. break;
  1545. case 351:
  1546. emit sig_qml_SlagStateL10(structTemp.data[i].pot_status);
  1547. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1548. break;
  1549. case 352:
  1550. emit sig_qml_SlagStateL11(structTemp.data[i].pot_status);
  1551. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1552. break;
  1553. case 353:
  1554. emit sig_qml_SlagStateL12(structTemp.data[i].pot_status);
  1555. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1556. break;
  1557. case 354:
  1558. emit sig_qml_SlagStateL13(structTemp.data[i].pot_status);
  1559. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1560. break;
  1561. case 355:
  1562. emit sig_qml_SlagStateL14(structTemp.data[i].pot_status);
  1563. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1564. break;
  1565. case 356:
  1566. emit sig_qml_SlagStateL15(structTemp.data[i].pot_status);
  1567. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1568. break;
  1569. case 357:
  1570. emit sig_qml_SlagStateL16(structTemp.data[i].pot_status);
  1571. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1572. break;
  1573. case 358:
  1574. emit sig_qml_SlagStateL17(structTemp.data[i].pot_status);
  1575. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1576. break;
  1577. case 359:
  1578. emit sig_qml_SlagStateL18(structTemp.data[i].pot_status);
  1579. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1580. break;
  1581. case 360:
  1582. emit sig_qml_SlagStateL19(structTemp.data[i].pot_status);
  1583. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1584. break;
  1585. case 361:
  1586. emit sig_qml_SlagStateL20(structTemp.data[i].pot_status);
  1587. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1588. break;
  1589. case 362:
  1590. emit sig_qml_SlagStateL21(structTemp.data[i].pot_status);
  1591. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1592. break;
  1593. case 363:
  1594. emit sig_qml_SlagStateL22(structTemp.data[i].pot_status);
  1595. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1596. break;
  1597. case 364:
  1598. emit sig_qml_SlagStateL23(structTemp.data[i].pot_status);
  1599. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1600. break;
  1601. case 365:
  1602. emit sig_qml_SlagStateL24(structTemp.data[i].pot_status);
  1603. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1604. break;
  1605. case 366:
  1606. emit sig_qml_SlagStateL25(structTemp.data[i].pot_status);
  1607. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1608. break;
  1609. case 367:
  1610. emit sig_qml_SlagStateL26(structTemp.data[i].pot_status);
  1611. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1612. break;
  1613. case 368:
  1614. emit sig_qml_SlagStateL27(structTemp.data[i].pot_status);
  1615. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1616. break;
  1617. case 369:
  1618. emit sig_qml_SlagStateL28(structTemp.data[i].pot_status);
  1619. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1620. break;
  1621. case 370:
  1622. emit sig_qml_SlagStateL29(structTemp.data[i].pot_status);
  1623. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1624. break;
  1625. case 371:
  1626. emit sig_qml_SlagStateL30(structTemp.data[i].pot_status);
  1627. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1628. break;
  1629. case 372:
  1630. emit sig_qml_SlagStateL31(structTemp.data[i].pot_status);
  1631. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1632. break;
  1633. case 373:
  1634. emit sig_qml_SlagStateM1(structTemp.data[i].pot_status);
  1635. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1636. break;
  1637. case 374:
  1638. emit sig_qml_SlagStateM2(structTemp.data[i].pot_status);
  1639. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1640. break;
  1641. case 375:
  1642. emit sig_qml_SlagStateM3(structTemp.data[i].pot_status);
  1643. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1644. break;
  1645. case 376:
  1646. emit sig_qml_SlagStateM4(structTemp.data[i].pot_status);
  1647. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1648. break;
  1649. case 377:
  1650. emit sig_qml_SlagStateM5(structTemp.data[i].pot_status);
  1651. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1652. break;
  1653. case 378:
  1654. emit sig_qml_SlagStateM6(structTemp.data[i].pot_status);
  1655. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1656. break;
  1657. case 379:
  1658. emit sig_qml_SlagStateM7(structTemp.data[i].pot_status);
  1659. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1660. break;
  1661. case 380:
  1662. emit sig_qml_SlagStateM8(structTemp.data[i].pot_status);
  1663. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1664. break;
  1665. case 381:
  1666. emit sig_qml_SlagStateM9(structTemp.data[i].pot_status);
  1667. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1668. break;
  1669. case 382:
  1670. emit sig_qml_SlagStateM10(structTemp.data[i].pot_status);
  1671. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1672. break;
  1673. case 383:
  1674. emit sig_qml_SlagStateM11(structTemp.data[i].pot_status);
  1675. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1676. break;
  1677. case 384:
  1678. emit sig_qml_SlagStateM12(structTemp.data[i].pot_status);
  1679. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1680. break;
  1681. case 385:
  1682. emit sig_qml_SlagStateM13(structTemp.data[i].pot_status);
  1683. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1684. break;
  1685. case 386:
  1686. emit sig_qml_SlagStateM14(structTemp.data[i].pot_status);
  1687. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1688. break;
  1689. case 387:
  1690. emit sig_qml_SlagStateM15(structTemp.data[i].pot_status);
  1691. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1692. break;
  1693. case 388:
  1694. emit sig_qml_SlagStateM16(structTemp.data[i].pot_status);
  1695. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1696. break;
  1697. case 389:
  1698. emit sig_qml_SlagStateM17(structTemp.data[i].pot_status);
  1699. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1700. break;
  1701. case 390:
  1702. emit sig_qml_SlagStateM18(structTemp.data[i].pot_status);
  1703. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1704. break;
  1705. case 391:
  1706. emit sig_qml_SlagStateM19(structTemp.data[i].pot_status);
  1707. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1708. break;
  1709. case 392:
  1710. emit sig_qml_SlagStateM20(structTemp.data[i].pot_status);
  1711. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1712. break;
  1713. case 393:
  1714. emit sig_qml_SlagStateM21(structTemp.data[i].pot_status);
  1715. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1716. break;
  1717. case 394:
  1718. emit sig_qml_SlagStateM22(structTemp.data[i].pot_status);
  1719. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1720. break;
  1721. case 395:
  1722. emit sig_qml_SlagStateM23(structTemp.data[i].pot_status);
  1723. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1724. break;
  1725. case 396:
  1726. emit sig_qml_SlagStateM24(structTemp.data[i].pot_status);
  1727. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1728. break;
  1729. case 397:
  1730. emit sig_qml_SlagStateM25(structTemp.data[i].pot_status);
  1731. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1732. break;
  1733. case 398:
  1734. emit sig_qml_SlagStateM26(structTemp.data[i].pot_status);
  1735. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1736. break;
  1737. case 399:
  1738. emit sig_qml_SlagStateM27(structTemp.data[i].pot_status);
  1739. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1740. break;
  1741. case 400:
  1742. emit sig_qml_SlagStateM28(structTemp.data[i].pot_status);
  1743. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1744. break;
  1745. case 401:
  1746. emit sig_qml_SlagStateM29(structTemp.data[i].pot_status);
  1747. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1748. break;
  1749. case 402:
  1750. emit sig_qml_SlagStateM30(structTemp.data[i].pot_status);
  1751. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1752. break;
  1753. case 403:
  1754. emit sig_qml_SlagStateM31(structTemp.data[i].pot_status);
  1755. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1756. break;
  1757. case 404:
  1758. emit sig_qml_SlagStateN1(structTemp.data[i].pot_status);
  1759. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1760. break;
  1761. case 405:
  1762. emit sig_qml_SlagStateN2(structTemp.data[i].pot_status);
  1763. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1764. break;
  1765. case 406:
  1766. emit sig_qml_SlagStateN3(structTemp.data[i].pot_status);
  1767. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1768. break;
  1769. case 407:
  1770. emit sig_qml_SlagStateN4(structTemp.data[i].pot_status);
  1771. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1772. break;
  1773. case 408:
  1774. emit sig_qml_SlagStateN5(structTemp.data[i].pot_status);
  1775. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1776. break;
  1777. case 409:
  1778. emit sig_qml_SlagStateN6(structTemp.data[i].pot_status);
  1779. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1780. break;
  1781. case 410:
  1782. emit sig_qml_SlagStateN7(structTemp.data[i].pot_status);
  1783. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1784. break;
  1785. case 411:
  1786. emit sig_qml_SlagStateN8(structTemp.data[i].pot_status);
  1787. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1788. break;
  1789. case 412:
  1790. emit sig_qml_SlagStateN9(structTemp.data[i].pot_status);
  1791. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1792. break;
  1793. case 413:
  1794. emit sig_qml_SlagStateN10(structTemp.data[i].pot_status);
  1795. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1796. break;
  1797. case 414:
  1798. emit sig_qml_SlagStateN11(structTemp.data[i].pot_status);
  1799. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1800. break;
  1801. case 415:
  1802. emit sig_qml_SlagStateN12(structTemp.data[i].pot_status);
  1803. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1804. break;
  1805. case 416:
  1806. emit sig_qml_SlagStateN13(structTemp.data[i].pot_status);
  1807. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1808. break;
  1809. case 417:
  1810. emit sig_qml_SlagStateN14(structTemp.data[i].pot_status);
  1811. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1812. break;
  1813. case 418:
  1814. emit sig_qml_SlagStateN15(structTemp.data[i].pot_status);
  1815. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1816. break;
  1817. case 419:
  1818. emit sig_qml_SlagStateN16(structTemp.data[i].pot_status);
  1819. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1820. break;
  1821. case 420:
  1822. emit sig_qml_SlagStateN17(structTemp.data[i].pot_status);
  1823. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1824. break;
  1825. case 421:
  1826. emit sig_qml_SlagStateN18(structTemp.data[i].pot_status);
  1827. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1828. break;
  1829. case 422:
  1830. emit sig_qml_SlagStateN19(structTemp.data[i].pot_status);
  1831. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1832. break;
  1833. case 423:
  1834. emit sig_qml_SlagStateN20(structTemp.data[i].pot_status);
  1835. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1836. break;
  1837. case 424:
  1838. emit sig_qml_SlagStateN21(structTemp.data[i].pot_status);
  1839. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1840. break;
  1841. case 425:
  1842. emit sig_qml_SlagStateN22(structTemp.data[i].pot_status);
  1843. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1844. break;
  1845. case 426:
  1846. emit sig_qml_SlagStateN23(structTemp.data[i].pot_status);
  1847. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1848. break;
  1849. case 427:
  1850. emit sig_qml_SlagStateN24(structTemp.data[i].pot_status);
  1851. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1852. break;
  1853. case 428:
  1854. emit sig_qml_SlagStateN25(structTemp.data[i].pot_status);
  1855. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1856. break;
  1857. case 429:
  1858. emit sig_qml_SlagStateN26(structTemp.data[i].pot_status);
  1859. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1860. break;
  1861. case 430:
  1862. emit sig_qml_SlagStateN27(structTemp.data[i].pot_status);
  1863. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1864. break;
  1865. case 431:
  1866. emit sig_qml_SlagStateN28(structTemp.data[i].pot_status);
  1867. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1868. break;
  1869. case 432:
  1870. emit sig_qml_SlagStateN29(structTemp.data[i].pot_status);
  1871. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1872. break;
  1873. case 433:
  1874. emit sig_qml_SlagStateN30(structTemp.data[i].pot_status);
  1875. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1876. break;
  1877. case 434:
  1878. emit sig_qml_SlagStateN31(structTemp.data[i].pot_status);
  1879. qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
  1880. break;
  1881. }
  1882. }
  1883. //将S_HTN1_ReturnWarningState转换为QVariantMap类型,可以在qml中识别
  1884. QVariantMap map;
  1885. map["code"] = structTemp.code;
  1886. // 处理嵌套结构体数据
  1887. QVariantList dataList;
  1888. for (int i = 0; i < structTemp.data.size(); i++)
  1889. {
  1890. QVariantMap nestedMap;
  1891. nestedMap["pot_name"] = structTemp.data[i].pot_name;
  1892. nestedMap["pot_status"] = structTemp.data[i].pot_status;
  1893. nestedMap["pot_number"] = structTemp.data[i].pot_number;
  1894. dataList.append(nestedMap);
  1895. }
  1896. map["data"] = dataList;
  1897. emit sig_qml_SlagState(map["data"]);
  1898. }
  1899. }
  1900. break;
  1901. case EHTN1TYPE_ReturnWarningState:
  1902. {
  1903. S_HTN1_ReturnWarningState structTemp = qvariant.value<S_HTN1_ReturnWarningState>();
  1904. //将S_HTN1_ReturnWarningState转换为QVariantMap类型,可以在qml中识别
  1905. QVariantMap map;
  1906. map["code"] = structTemp.code;
  1907. // 处理嵌套结构体数据
  1908. QVariantList dataList;
  1909. for (int i=0;i<structTemp.data.size();i++)
  1910. {
  1911. QVariantMap nestedMap;
  1912. nestedMap["message"] = structTemp.data[i].message;
  1913. nestedMap["create_at"] = structTemp.data[i].create_at;
  1914. dataList.append(nestedMap);
  1915. }
  1916. map["data"] = dataList;
  1917. emit sig_qml_WarningState(map);
  1918. }
  1919. break;
  1920. }
  1921. }
  1922. //发送指令,调用postData接口
  1923. void CBusiness::slot_qml(int par0, QString par1)
  1924. {
  1925. switch (par0)
  1926. {
  1927. case EHTN1TYPE_LoginInfo:
  1928. {
  1929. QStringList temp = par1.split(",");
  1930. if (temp.count() == 2)
  1931. {
  1932. S_HTN1_LoginInfo postLogin;
  1933. postLogin.username = temp[0];
  1934. postLogin.password = temp[1];
  1935. m_pHttpThreadNum1->postData(EHTN1TYPE_LoginInfo, &postLogin);
  1936. }
  1937. }
  1938. break;
  1939. case EHTN1TYPE_GetAllCarState:
  1940. {
  1941. S_HTN1_GetAllCarState postGetAllCarState;
  1942. postGetAllCarState.code = par1.toInt();
  1943. m_pHttpThreadNum1->postData(EHTN1TYPE_GetAllCarState, &postGetAllCarState);
  1944. }
  1945. break;
  1946. case EHTN1TYPE_DoStartUpCar:
  1947. {
  1948. QStringList temp = par1.split(",");
  1949. if (temp.count() == 2)
  1950. {
  1951. S_HTN1_DoStartUpCar postDoStartUpCar;
  1952. postDoStartUpCar.code = temp[0].toInt();
  1953. postDoStartUpCar.uuid = temp[1];
  1954. m_pHttpThreadNum1->postData(EHTN1TYPE_DoStartUpCar, &postDoStartUpCar);
  1955. }
  1956. }
  1957. break;
  1958. case EHTN1TYPE_ShutDownCar:
  1959. {
  1960. QStringList temp = par1.split(",");
  1961. if (temp.count() == 2)
  1962. {
  1963. S_HTN1_ShutDownCar postShutDownCar;
  1964. postShutDownCar.code = temp[0].toInt();
  1965. postShutDownCar.uuid = temp[1];
  1966. m_pHttpThreadNum1->postData(EHTN1TYPE_ShutDownCar, &postShutDownCar);
  1967. }
  1968. }
  1969. break;
  1970. case EHTN1TYPE_RemoteRequest:
  1971. {
  1972. QStringList temp = par1.split(",");
  1973. if (temp.count() == 2)
  1974. {
  1975. S_HTN1_RemoteRequest postRemoteRequest;
  1976. postRemoteRequest.code = temp[0].toInt();
  1977. postRemoteRequest.uuid = temp[1];
  1978. m_pHttpThreadNum1->postData(EHTN1TYPE_RemoteRequest, &postRemoteRequest);
  1979. }
  1980. }
  1981. break;
  1982. case EHTN1TYPE_DoStartWorkCar:
  1983. {
  1984. QStringList temp = par1.split(",");
  1985. if (temp.count() == 4)
  1986. {
  1987. S_HTN1_DoStartWorkCar postDoStartWorkCar;
  1988. postDoStartWorkCar.code = temp[0].toInt();
  1989. postDoStartWorkCar.uuid = temp[1];
  1990. postDoStartWorkCar.task_type = temp[2].toInt();
  1991. postDoStartWorkCar.target_point_name= temp[3];
  1992. m_pHttpThreadNum1->postData(EHTN1TYPE_DoStartWorkCar, &postDoStartWorkCar);
  1993. qDebug() << "发指令" << postDoStartWorkCar.code << postDoStartWorkCar.task_type<< EHTN1TYPE_DoStartWorkCar<<"\n";
  1994. }
  1995. }
  1996. break;
  1997. case EHTN1TYPE_AddCar:
  1998. {
  1999. QStringList temp = par1.split(",");
  2000. if (temp.count() == 2)
  2001. {
  2002. S_HTN1_AddCar postAddCar;
  2003. postAddCar.code = temp[0].toInt();
  2004. postAddCar.name = temp[1];
  2005. m_pHttpThreadNum1->postData(EHTN1TYPE_AddCar, &postAddCar);
  2006. }
  2007. }
  2008. break;
  2009. case EHTN1TYPE_RenameCar:
  2010. {
  2011. QStringList temp = par1.split(",");
  2012. if (temp.count() == 3)
  2013. {
  2014. S_HTN1_RenameCar postRenameCar;
  2015. postRenameCar.code = temp[0].toInt();
  2016. postRenameCar.uuid = temp[1];
  2017. postRenameCar.name = temp[2];
  2018. m_pHttpThreadNum1->postData(EHTN1TYPE_RenameCar, &postRenameCar);
  2019. }
  2020. }
  2021. break;
  2022. case EHTN1TYPE_DeleteCar:
  2023. {
  2024. QStringList temp = par1.split(",");
  2025. if (temp.count() == 2)
  2026. {
  2027. S_HTN1_DeleteCar postDeleteCar;
  2028. postDeleteCar.code = temp[0].toInt();
  2029. postDeleteCar.uuid = temp[1];
  2030. m_pHttpThreadNum1->postData(EHTN1TYPE_DeleteCar, &postDeleteCar);
  2031. }
  2032. }
  2033. break;
  2034. case EHTN1TYPE_TaskList:
  2035. {
  2036. QStringList temp = par1.split(",");
  2037. if (temp.count() == 3)
  2038. {
  2039. S_HTN1_TaskList postTaskList;
  2040. postTaskList.code = temp[0].toInt();
  2041. postTaskList.page = temp[1].toInt();
  2042. postTaskList.size = temp[2].toInt();
  2043. m_pHttpThreadNum1->postData(EHTN1TYPE_TaskList, &postTaskList);
  2044. }
  2045. }
  2046. break;
  2047. case EHTN1TYPE_StopTask:
  2048. {
  2049. QStringList temp = par1.split(",");
  2050. if (temp.count() == 2)
  2051. {
  2052. S_HTN1_StopTask postStopTask;
  2053. postStopTask.code = temp[0].toInt();
  2054. postStopTask.uuid = temp[1];
  2055. m_pHttpThreadNum1->postData(EHTN1TYPE_StopTask, &postStopTask);
  2056. }
  2057. }
  2058. break;
  2059. case EHTN1TYPE_CancelTask:
  2060. {
  2061. QStringList temp = par1.split(",");
  2062. if (temp.count() == 2)
  2063. {
  2064. S_HTN1_CancelTask postCancelTask;
  2065. postCancelTask.code = temp[0].toInt();
  2066. postCancelTask.uuid = temp[1];
  2067. m_pHttpThreadNum1->postData(EHTN1TYPE_CancelTask, &postCancelTask);
  2068. }
  2069. }
  2070. break;
  2071. case EHTN1TYPE_GetSlagState:
  2072. {
  2073. QStringList temp = par1.split(",");
  2074. if (temp.count() == 1)
  2075. {
  2076. S_HTN1_GetSlagState postGetSlagState;
  2077. postGetSlagState.code = temp[0].toInt();
  2078. m_pHttpThreadNum1->postData(EHTN1TYPE_GetSlagState, &postGetSlagState);
  2079. }
  2080. }
  2081. break;
  2082. case EHTN1TYPE_GetWarningState:
  2083. {
  2084. QStringList temp = par1.split(",");
  2085. if (temp.count() == 1)
  2086. {
  2087. S_HTN1_GetWarningState postGetWarningState;
  2088. postGetWarningState.code = temp[0].toInt();
  2089. m_pHttpThreadNum1->postData(EHTN1TYPE_GetWarningState, &postGetWarningState);
  2090. }
  2091. }
  2092. break;
  2093. }
  2094. }