123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142 |
- #include "cbusiness.h"
- //#include <QDebug>
- #include <QLabel>
- #include <QLineEdit>
- #include <QPushButton>
- #include <QWidget>
- #include <QWindow>
- void OnDevInfoChange(const int &iType, void *pStruct)
- {
- // qDebug()<<(QString *)pStruct;
- }
- CBusiness::CBusiness(QObject *parent) : QObject(parent)
- {
- engine.load(QUrl(QLatin1String("qrc:/main.qml"))); //加载main.qml文件
-
- engine.rootContext()->setContextProperty("FControl",this); //设置可以在qml中直接通过FControl属性访问当前c++对象的属性和功能
-
- m_pHttpThreadNum1 = new HttpThreadNum1;
-
- connect(m_pHttpThreadNum1,&HttpThreadNum1::sig_result,this,&CBusiness::slot_result);
- m_pHttpThreadNum1->init(); //初始化
- }
- //接受sig_result反馈结果,发送给sig_qml
- void CBusiness::slot_result(int iType, QVariant qvariant)
- {
- if (qvariant.toInt() == EHTN1TYPE_error)
- {
- qDebug() << "类型:" << iType << "EHTN1TYPE_error";
- emit sig_qml(0, "error");
- }
- switch (iType)
- {
- case EHTN1TYPE_LoginReturn:
- {
- S_HTN1_LoginReturn structTemp = qvariant.value<S_HTN1_LoginReturn>();
- emit sig_qml(0, "structTemp.role_name:\n" + structTemp.role_name + "\n" +
- "structTemp.code:\n" + QString::number(structTemp.code) + "\n" +
- "structTemp.message:\n" + structTemp.message + "\n" +
- "structTemp.uid:\n" + structTemp.uid + "\n");
- }
- break;
- case EHTN1TYPE_ReturnAllCarState:
- {
- S_HTN1_ReturnAllCarState structTemp = qvariant.value<S_HTN1_ReturnAllCarState>();
- for (int i = 0; i < structTemp.data.count(); i++)
- {
- /*if(structTemp.data[i].name=="1号车")
- {
- emit sig_qml_CarOneState(structTemp.data[i].state);
- }
- else if (structTemp.data[i].name == "2号车")
- {
- emit sig_qml_CarTwoState(structTemp.data[i].state);
- }*/
- if (structTemp.data[i].name == "3号车")
- {
- emit sig_qml_CarThreeState(structTemp.data[i].state);
- emit sig_qml_CarThreeSlagState(structTemp.data[i].vehicle_pot_state);
- }
- /*else if (structTemp.data[i].name == "4号车")
- {
- emit sig_qml_CarFourState(structTemp.data[i].state);
- }
- else if (structTemp.data[i].name == "5号车")
- {
- emit sig_qml_CarFiveState(structTemp.data[i].state);
- }*/
- }
- }
- break;
- case EHTN1TYPE_ReturnStartUpState:
- {
- S_HTN1_ReturnStartUpState structTemp = qvariant.value<S_HTN1_ReturnStartUpState>();
- emit sig_qml(0, QString::number(structTemp.code) + "\n" + structTemp.data);
- }
- break;
- case EHTN1TYPE_ReturnShutDownState:
- {
- S_HTN1_ReturnShutDownState structTemp = qvariant.value<S_HTN1_ReturnShutDownState>();
- emit sig_qml(0, QString::number(structTemp.code) + "\n" + structTemp.data);
- }
- break;
- case EHTN1TYPE_ReturnRemoteRequestState:
- {
- S_HTN1_ReturnRemoteRequestState structTemp = qvariant.value<S_HTN1_ReturnRemoteRequestState>();
- emit sig_qml(0, QString::number(structTemp.code) + "\n" + structTemp.data);
- }
- break;
- case EHTN1TYPE_ReturnStartWorkState:
- {
- S_HTN1_ReturnDoStartWorkState structTemp = qvariant.value<S_HTN1_ReturnDoStartWorkState>();
- emit sig_qml(0, QString::number(structTemp.code) + "\n" + structTemp.data);
- }
- break;
- case EHTN1TYPE_ReturnAddCarState:
- {
- S_HTN1_ReturnAddCarState structTemp = qvariant.value<S_HTN1_ReturnAddCarState>();
- emit sig_qml(0, QString::number(structTemp.code) + "\n" + structTemp.data);
- }
- break;
- case EHTN1TYPE_ReturnRenameCarState:
- {
- S_HTN1_ReturnReanmeCarState structTemp = qvariant.value<S_HTN1_ReturnReanmeCarState>();
- emit sig_qml(0, QString::number(structTemp.code) + "\n" + structTemp.data[0].uuid);
- }
- break;
- case EHTN1TYPE_ReturnDeleteCarState:
- {
- S_HTN1_ReturnDeleteCarState structTemp = qvariant.value<S_HTN1_ReturnDeleteCarState>();
- emit sig_qml(0, QString::number(structTemp.code) + "\n" + structTemp.data);
- }
- break;
- case EHTN1TYPE_ReturnTaskListData:
- {
- S_HTN1_ReturnTaskListData structTemp = qvariant.value<S_HTN1_ReturnTaskListData>();
- emit sig_qml(0, QString::number(structTemp.code) + "\n" + structTemp.data[0].uuid);
- }
- break;
- case EHTN1TYPE_ReturnStopTask:
- {
- S_HTN1_ReturnStopTask structTemp = qvariant.value<S_HTN1_ReturnStopTask>();
- emit sig_qml(0, QString::number(structTemp.code) + "\n" + structTemp.data);
- }
- break;
- case EHTN1TYPE_ReturnCancelTask:
- {
- S_HTN1_ReturnCancelTask structTemp = qvariant.value<S_HTN1_ReturnCancelTask>();
- emit sig_qml(0, QString::number(structTemp.code) + "\n" + structTemp.data);
- }
- break;
- case EHTN1TYPE_ReturnSlagState:
- {
- S_HTN1_ReturnSlagState structTemp = qvariant.value<S_HTN1_ReturnSlagState>();
- //空数据保护
- if (structTemp.data.isEmpty())
- {
- qDebug() << "===============" << "得到空的数据" << "=========================\n";
- return;
- }
- else
- {
- //调度信息区域罐状态显示信号
- for (int i = 0; i < structTemp.data.size(); i++)
- {
- //根据包号发包的状态
- switch (structTemp.data[i].pot_number)
- {
- case 1:
- emit sig_qml_SlagStateA1(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 2:
- emit sig_qml_SlagStateA2(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 3:
- emit sig_qml_SlagStateA3(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 4:
- emit sig_qml_SlagStateA4(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 5:
- emit sig_qml_SlagStateA5(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 6:
- emit sig_qml_SlagStateA6(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 7:
- emit sig_qml_SlagStateA7(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 8:
- emit sig_qml_SlagStateA8(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 9:
- emit sig_qml_SlagStateA9(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 10:
- emit sig_qml_SlagStateA10(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 11:
- emit sig_qml_SlagStateA11(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 12:
- emit sig_qml_SlagStateA12(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 13:
- emit sig_qml_SlagStateA13(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 14:
- emit sig_qml_SlagStateA14(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 15:
- emit sig_qml_SlagStateA15(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 16:
- emit sig_qml_SlagStateA16(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 17:
- emit sig_qml_SlagStateA17(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 18:
- emit sig_qml_SlagStateA18(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 19:
- emit sig_qml_SlagStateA19(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 20:
- emit sig_qml_SlagStateA20(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 21:
- emit sig_qml_SlagStateA21(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 22:
- emit sig_qml_SlagStateA22(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 23:
- emit sig_qml_SlagStateA23(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 24:
- emit sig_qml_SlagStateA24(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 25:
- emit sig_qml_SlagStateA25(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 26:
- emit sig_qml_SlagStateA26(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 27:
- emit sig_qml_SlagStateA27(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 28:
- emit sig_qml_SlagStateA28(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 29:
- emit sig_qml_SlagStateA29(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 30:
- emit sig_qml_SlagStateA30(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 31:
- emit sig_qml_SlagStateA31(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 32:
- emit sig_qml_SlagStateB1(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 33:
- emit sig_qml_SlagStateB2(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 34:
- emit sig_qml_SlagStateB3(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 35:
- emit sig_qml_SlagStateB4(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 36:
- emit sig_qml_SlagStateB5(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 37:
- emit sig_qml_SlagStateB6(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 38:
- emit sig_qml_SlagStateB7(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 39:
- emit sig_qml_SlagStateB8(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 40:
- emit sig_qml_SlagStateB9(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 41:
- emit sig_qml_SlagStateB10(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 42:
- emit sig_qml_SlagStateB11(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 43:
- emit sig_qml_SlagStateB12(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 44:
- emit sig_qml_SlagStateB13(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 45:
- emit sig_qml_SlagStateB14(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 46:
- emit sig_qml_SlagStateB15(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 47:
- emit sig_qml_SlagStateB16(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 48:
- emit sig_qml_SlagStateB17(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 49:
- emit sig_qml_SlagStateB18(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 50:
- emit sig_qml_SlagStateB19(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 51:
- emit sig_qml_SlagStateB20(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 52:
- emit sig_qml_SlagStateB21(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 53:
- emit sig_qml_SlagStateB22(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 54:
- emit sig_qml_SlagStateB23(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 55:
- emit sig_qml_SlagStateB24(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 56:
- emit sig_qml_SlagStateB25(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 57:
- emit sig_qml_SlagStateB26(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 58:
- emit sig_qml_SlagStateB27(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 59:
- emit sig_qml_SlagStateB28(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 60:
- emit sig_qml_SlagStateB29(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 61:
- emit sig_qml_SlagStateB30(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 62:
- emit sig_qml_SlagStateB31(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 63:
- emit sig_qml_SlagStateC1(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 64:
- emit sig_qml_SlagStateC2(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 65:
- emit sig_qml_SlagStateC3(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 66:
- emit sig_qml_SlagStateC4(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 67:
- emit sig_qml_SlagStateC5(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 68:
- emit sig_qml_SlagStateC6(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 69:
- emit sig_qml_SlagStateC7(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 70:
- emit sig_qml_SlagStateC8(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 71:
- emit sig_qml_SlagStateC9(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 72:
- emit sig_qml_SlagStateC10(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 73:
- emit sig_qml_SlagStateC11(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 74:
- emit sig_qml_SlagStateC12(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 75:
- emit sig_qml_SlagStateC13(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 76:
- emit sig_qml_SlagStateC14(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 77:
- emit sig_qml_SlagStateC15(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 78:
- emit sig_qml_SlagStateC16(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 79:
- emit sig_qml_SlagStateC17(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 80:
- emit sig_qml_SlagStateC18(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 81:
- emit sig_qml_SlagStateC19(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 82:
- emit sig_qml_SlagStateC20(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 83:
- emit sig_qml_SlagStateC21(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 84:
- emit sig_qml_SlagStateC22(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 85:
- emit sig_qml_SlagStateC23(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 86:
- emit sig_qml_SlagStateC24(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 87:
- emit sig_qml_SlagStateC25(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 88:
- emit sig_qml_SlagStateC26(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 89:
- emit sig_qml_SlagStateC27(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 90:
- emit sig_qml_SlagStateC28(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 91:
- emit sig_qml_SlagStateC29(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 92:
- emit sig_qml_SlagStateC30(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 93:
- emit sig_qml_SlagStateC31(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 94:
- emit sig_qml_SlagStateD1(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 95:
- emit sig_qml_SlagStateD2(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 96:
- emit sig_qml_SlagStateD3(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 97:
- emit sig_qml_SlagStateD4(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 98:
- emit sig_qml_SlagStateD5(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 99:
- emit sig_qml_SlagStateD6(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 100:
- emit sig_qml_SlagStateD7(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 101:
- emit sig_qml_SlagStateD8(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 102:
- emit sig_qml_SlagStateD9(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 103:
- emit sig_qml_SlagStateD10(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 104:
- emit sig_qml_SlagStateD11(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 105:
- emit sig_qml_SlagStateD12(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 106:
- emit sig_qml_SlagStateD13(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 107:
- emit sig_qml_SlagStateD14(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 108:
- emit sig_qml_SlagStateD15(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 109:
- emit sig_qml_SlagStateD16(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 110:
- emit sig_qml_SlagStateD17(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 111:
- emit sig_qml_SlagStateD18(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 112:
- emit sig_qml_SlagStateD19(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 113:
- emit sig_qml_SlagStateD20(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 114:
- emit sig_qml_SlagStateD21(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 115:
- emit sig_qml_SlagStateD22(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 116:
- emit sig_qml_SlagStateD23(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 117:
- emit sig_qml_SlagStateD24(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 118:
- emit sig_qml_SlagStateD25(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 119:
- emit sig_qml_SlagStateD26(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 120:
- emit sig_qml_SlagStateD27(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 121:
- emit sig_qml_SlagStateD28(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 122:
- emit sig_qml_SlagStateD29(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 123:
- emit sig_qml_SlagStateD30(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 124:
- emit sig_qml_SlagStateD31(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 125:
- emit sig_qml_SlagStateE1(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 126:
- emit sig_qml_SlagStateE2(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 127:
- emit sig_qml_SlagStateE3(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 128:
- emit sig_qml_SlagStateE4(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 129:
- emit sig_qml_SlagStateE5(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 130:
- emit sig_qml_SlagStateE6(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 131:
- emit sig_qml_SlagStateE7(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 132:
- emit sig_qml_SlagStateE8(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 133:
- emit sig_qml_SlagStateE9(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 134:
- emit sig_qml_SlagStateE10(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 135:
- emit sig_qml_SlagStateE11(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 136:
- emit sig_qml_SlagStateE12(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 137:
- emit sig_qml_SlagStateE13(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 138:
- emit sig_qml_SlagStateE14(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 139:
- emit sig_qml_SlagStateE15(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 140:
- emit sig_qml_SlagStateE16(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 141:
- emit sig_qml_SlagStateE17(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 142:
- emit sig_qml_SlagStateE18(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 143:
- emit sig_qml_SlagStateE19(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 144:
- emit sig_qml_SlagStateE20(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 145:
- emit sig_qml_SlagStateE21(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 146:
- emit sig_qml_SlagStateE22(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 147:
- emit sig_qml_SlagStateE23(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 148:
- emit sig_qml_SlagStateE24(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 149:
- emit sig_qml_SlagStateE25(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 150:
- emit sig_qml_SlagStateE26(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 151:
- emit sig_qml_SlagStateE27(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 152:
- emit sig_qml_SlagStateE28(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 153:
- emit sig_qml_SlagStateE29(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 154:
- emit sig_qml_SlagStateE30(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 155:
- emit sig_qml_SlagStateE31(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 156:
- emit sig_qml_SlagStateF1(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 157:
- emit sig_qml_SlagStateF2(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 158:
- emit sig_qml_SlagStateF3(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 159:
- emit sig_qml_SlagStateF4(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 160:
- emit sig_qml_SlagStateF5(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 161:
- emit sig_qml_SlagStateF6(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 162:
- emit sig_qml_SlagStateF7(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 163:
- emit sig_qml_SlagStateF8(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 164:
- emit sig_qml_SlagStateF9(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 165:
- emit sig_qml_SlagStateF10(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 166:
- emit sig_qml_SlagStateF11(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 167:
- emit sig_qml_SlagStateF12(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 168:
- emit sig_qml_SlagStateF13(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 169:
- emit sig_qml_SlagStateF14(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 170:
- emit sig_qml_SlagStateF15(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 171:
- emit sig_qml_SlagStateF16(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 172:
- emit sig_qml_SlagStateF17(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 173:
- emit sig_qml_SlagStateF18(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 174:
- emit sig_qml_SlagStateF19(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 175:
- emit sig_qml_SlagStateF20(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 176:
- emit sig_qml_SlagStateF21(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 177:
- emit sig_qml_SlagStateF22(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 178:
- emit sig_qml_SlagStateF23(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 179:
- emit sig_qml_SlagStateF24(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 180:
- emit sig_qml_SlagStateF25(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 181:
- emit sig_qml_SlagStateF26(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 182:
- emit sig_qml_SlagStateF27(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 183:
- emit sig_qml_SlagStateF28(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 184:
- emit sig_qml_SlagStateF29(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 185:
- emit sig_qml_SlagStateF30(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 186:
- emit sig_qml_SlagStateF31(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 187:
- emit sig_qml_SlagStateG1(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 188:
- emit sig_qml_SlagStateG2(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 189:
- emit sig_qml_SlagStateG3(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 190:
- emit sig_qml_SlagStateG4(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 191:
- emit sig_qml_SlagStateG5(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 192:
- emit sig_qml_SlagStateG6(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 193:
- emit sig_qml_SlagStateG7(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 194:
- emit sig_qml_SlagStateG8(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 195:
- emit sig_qml_SlagStateG9(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 196:
- emit sig_qml_SlagStateG10(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 197:
- emit sig_qml_SlagStateG11(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 198:
- emit sig_qml_SlagStateG12(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 199:
- emit sig_qml_SlagStateG13(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 200:
- emit sig_qml_SlagStateG14(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 201:
- emit sig_qml_SlagStateG15(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 202:
- emit sig_qml_SlagStateG16(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 203:
- emit sig_qml_SlagStateG17(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 204:
- emit sig_qml_SlagStateG18(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 205:
- emit sig_qml_SlagStateG19(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 206:
- emit sig_qml_SlagStateG20(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 207:
- emit sig_qml_SlagStateG21(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 208:
- emit sig_qml_SlagStateG22(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 209:
- emit sig_qml_SlagStateG23(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 210:
- emit sig_qml_SlagStateG24(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 211:
- emit sig_qml_SlagStateG25(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 212:
- emit sig_qml_SlagStateG26(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 213:
- emit sig_qml_SlagStateG27(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 214:
- emit sig_qml_SlagStateG28(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 215:
- emit sig_qml_SlagStateG29(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 216:
- emit sig_qml_SlagStateG30(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 217:
- emit sig_qml_SlagStateG31(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 218:
- emit sig_qml_SlagStateH1(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 219:
- emit sig_qml_SlagStateH2(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 220:
- emit sig_qml_SlagStateH3(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 221:
- emit sig_qml_SlagStateH4(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 222:
- emit sig_qml_SlagStateH5(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 223:
- emit sig_qml_SlagStateH6(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 224:
- emit sig_qml_SlagStateH7(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 225:
- emit sig_qml_SlagStateH8(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 226:
- emit sig_qml_SlagStateH9(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 227:
- emit sig_qml_SlagStateH10(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 228:
- emit sig_qml_SlagStateH11(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 229:
- emit sig_qml_SlagStateH12(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 230:
- emit sig_qml_SlagStateH13(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 231:
- emit sig_qml_SlagStateH14(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 232:
- emit sig_qml_SlagStateH15(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 233:
- emit sig_qml_SlagStateH16(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 234:
- emit sig_qml_SlagStateH17(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 235:
- emit sig_qml_SlagStateH18(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 236:
- emit sig_qml_SlagStateH19(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 237:
- emit sig_qml_SlagStateH20(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 238:
- emit sig_qml_SlagStateH21(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 239:
- emit sig_qml_SlagStateH22(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 240:
- emit sig_qml_SlagStateH23(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 241:
- emit sig_qml_SlagStateH24(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 242:
- emit sig_qml_SlagStateH25(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 243:
- emit sig_qml_SlagStateH26(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 244:
- emit sig_qml_SlagStateH27(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 245:
- emit sig_qml_SlagStateH28(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 246:
- emit sig_qml_SlagStateH29(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 247:
- emit sig_qml_SlagStateH30(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 248:
- emit sig_qml_SlagStateH31(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 249:
- emit sig_qml_SlagStateI1(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 250:
- emit sig_qml_SlagStateI2(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 251:
- emit sig_qml_SlagStateI3(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 252:
- emit sig_qml_SlagStateI4(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 253:
- emit sig_qml_SlagStateI5(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 254:
- emit sig_qml_SlagStateI6(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 255:
- emit sig_qml_SlagStateI7(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 256:
- emit sig_qml_SlagStateI8(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 257:
- emit sig_qml_SlagStateI9(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 258:
- emit sig_qml_SlagStateI10(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 259:
- emit sig_qml_SlagStateI11(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 260:
- emit sig_qml_SlagStateI12(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 261:
- emit sig_qml_SlagStateI13(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 262:
- emit sig_qml_SlagStateI14(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 263:
- emit sig_qml_SlagStateI15(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 264:
- emit sig_qml_SlagStateI16(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 265:
- emit sig_qml_SlagStateI17(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 266:
- emit sig_qml_SlagStateI18(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 267:
- emit sig_qml_SlagStateI19(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 268:
- emit sig_qml_SlagStateI20(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 269:
- emit sig_qml_SlagStateI21(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 270:
- emit sig_qml_SlagStateI22(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 271:
- emit sig_qml_SlagStateI23(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 272:
- emit sig_qml_SlagStateI24(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 273:
- emit sig_qml_SlagStateI25(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 274:
- emit sig_qml_SlagStateI26(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 275:
- emit sig_qml_SlagStateI27(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 276:
- emit sig_qml_SlagStateI28(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 277:
- emit sig_qml_SlagStateI29(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 278:
- emit sig_qml_SlagStateI30(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 279:
- emit sig_qml_SlagStateI31(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 280:
- emit sig_qml_SlagStateJ1(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 281:
- emit sig_qml_SlagStateJ2(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 282:
- emit sig_qml_SlagStateJ3(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 283:
- emit sig_qml_SlagStateJ4(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 284:
- emit sig_qml_SlagStateJ5(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 285:
- emit sig_qml_SlagStateJ6(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 286:
- emit sig_qml_SlagStateJ7(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 287:
- emit sig_qml_SlagStateJ8(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 288:
- emit sig_qml_SlagStateJ9(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 289:
- emit sig_qml_SlagStateJ10(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 290:
- emit sig_qml_SlagStateJ11(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 291:
- emit sig_qml_SlagStateJ12(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 292:
- emit sig_qml_SlagStateJ13(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 293:
- emit sig_qml_SlagStateJ14(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 294:
- emit sig_qml_SlagStateJ15(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 295:
- emit sig_qml_SlagStateJ16(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 296:
- emit sig_qml_SlagStateJ17(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 297:
- emit sig_qml_SlagStateJ18(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 298:
- emit sig_qml_SlagStateJ19(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 299:
- emit sig_qml_SlagStateJ20(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 300:
- emit sig_qml_SlagStateJ21(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 301:
- emit sig_qml_SlagStateJ22(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 302:
- emit sig_qml_SlagStateJ23(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 303:
- emit sig_qml_SlagStateJ24(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 304:
- emit sig_qml_SlagStateJ25(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 305:
- emit sig_qml_SlagStateJ26(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 306:
- emit sig_qml_SlagStateJ27(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 307:
- emit sig_qml_SlagStateJ28(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 308:
- emit sig_qml_SlagStateJ29(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 309:
- emit sig_qml_SlagStateJ30(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 310:
- emit sig_qml_SlagStateJ31(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 311:
- emit sig_qml_SlagStateK1(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 312:
- emit sig_qml_SlagStateK2(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 313:
- emit sig_qml_SlagStateK3(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 314:
- emit sig_qml_SlagStateK4(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 315:
- emit sig_qml_SlagStateK5(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 316:
- emit sig_qml_SlagStateK6(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 317:
- emit sig_qml_SlagStateK7(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 318:
- emit sig_qml_SlagStateK8(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 319:
- emit sig_qml_SlagStateK9(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 320:
- emit sig_qml_SlagStateK10(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 321:
- emit sig_qml_SlagStateK11(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 322:
- emit sig_qml_SlagStateK12(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 323:
- emit sig_qml_SlagStateK13(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 324:
- emit sig_qml_SlagStateK14(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 325:
- emit sig_qml_SlagStateK15(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 326:
- emit sig_qml_SlagStateK16(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 327:
- emit sig_qml_SlagStateK17(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 328:
- emit sig_qml_SlagStateK18(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 329:
- emit sig_qml_SlagStateK19(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 330:
- emit sig_qml_SlagStateK20(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 331:
- emit sig_qml_SlagStateK21(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 332:
- emit sig_qml_SlagStateK22(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 333:
- emit sig_qml_SlagStateK23(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 334:
- emit sig_qml_SlagStateK24(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 335:
- emit sig_qml_SlagStateK25(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 336:
- emit sig_qml_SlagStateK26(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 337:
- emit sig_qml_SlagStateK27(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 338:
- emit sig_qml_SlagStateK28(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 339:
- emit sig_qml_SlagStateK29(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 340:
- emit sig_qml_SlagStateK30(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 341:
- emit sig_qml_SlagStateK31(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 342:
- emit sig_qml_SlagStateL1(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 343:
- emit sig_qml_SlagStateL2(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 344:
- emit sig_qml_SlagStateL3(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 345:
- emit sig_qml_SlagStateL4(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 346:
- emit sig_qml_SlagStateL5(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 347:
- emit sig_qml_SlagStateL6(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 348:
- emit sig_qml_SlagStateL7(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 349:
- emit sig_qml_SlagStateL8(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 350:
- emit sig_qml_SlagStateL9(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 351:
- emit sig_qml_SlagStateL10(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 352:
- emit sig_qml_SlagStateL11(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 353:
- emit sig_qml_SlagStateL12(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 354:
- emit sig_qml_SlagStateL13(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 355:
- emit sig_qml_SlagStateL14(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 356:
- emit sig_qml_SlagStateL15(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 357:
- emit sig_qml_SlagStateL16(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 358:
- emit sig_qml_SlagStateL17(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 359:
- emit sig_qml_SlagStateL18(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 360:
- emit sig_qml_SlagStateL19(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 361:
- emit sig_qml_SlagStateL20(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 362:
- emit sig_qml_SlagStateL21(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 363:
- emit sig_qml_SlagStateL22(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 364:
- emit sig_qml_SlagStateL23(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 365:
- emit sig_qml_SlagStateL24(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 366:
- emit sig_qml_SlagStateL25(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 367:
- emit sig_qml_SlagStateL26(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 368:
- emit sig_qml_SlagStateL27(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 369:
- emit sig_qml_SlagStateL28(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 370:
- emit sig_qml_SlagStateL29(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 371:
- emit sig_qml_SlagStateL30(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 372:
- emit sig_qml_SlagStateL31(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 373:
- emit sig_qml_SlagStateM1(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 374:
- emit sig_qml_SlagStateM2(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 375:
- emit sig_qml_SlagStateM3(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 376:
- emit sig_qml_SlagStateM4(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 377:
- emit sig_qml_SlagStateM5(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 378:
- emit sig_qml_SlagStateM6(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 379:
- emit sig_qml_SlagStateM7(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 380:
- emit sig_qml_SlagStateM8(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 381:
- emit sig_qml_SlagStateM9(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 382:
- emit sig_qml_SlagStateM10(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 383:
- emit sig_qml_SlagStateM11(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 384:
- emit sig_qml_SlagStateM12(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 385:
- emit sig_qml_SlagStateM13(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 386:
- emit sig_qml_SlagStateM14(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 387:
- emit sig_qml_SlagStateM15(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 388:
- emit sig_qml_SlagStateM16(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 389:
- emit sig_qml_SlagStateM17(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 390:
- emit sig_qml_SlagStateM18(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 391:
- emit sig_qml_SlagStateM19(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 392:
- emit sig_qml_SlagStateM20(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 393:
- emit sig_qml_SlagStateM21(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 394:
- emit sig_qml_SlagStateM22(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 395:
- emit sig_qml_SlagStateM23(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 396:
- emit sig_qml_SlagStateM24(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 397:
- emit sig_qml_SlagStateM25(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 398:
- emit sig_qml_SlagStateM26(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 399:
- emit sig_qml_SlagStateM27(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 400:
- emit sig_qml_SlagStateM28(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 401:
- emit sig_qml_SlagStateM29(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 402:
- emit sig_qml_SlagStateM30(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 403:
- emit sig_qml_SlagStateM31(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 404:
- emit sig_qml_SlagStateN1(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 405:
- emit sig_qml_SlagStateN2(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 406:
- emit sig_qml_SlagStateN3(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 407:
- emit sig_qml_SlagStateN4(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 408:
- emit sig_qml_SlagStateN5(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 409:
- emit sig_qml_SlagStateN6(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 410:
- emit sig_qml_SlagStateN7(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 411:
- emit sig_qml_SlagStateN8(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 412:
- emit sig_qml_SlagStateN9(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 413:
- emit sig_qml_SlagStateN10(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 414:
- emit sig_qml_SlagStateN11(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 415:
- emit sig_qml_SlagStateN12(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 416:
- emit sig_qml_SlagStateN13(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 417:
- emit sig_qml_SlagStateN14(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 418:
- emit sig_qml_SlagStateN15(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 419:
- emit sig_qml_SlagStateN16(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 420:
- emit sig_qml_SlagStateN17(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 421:
- emit sig_qml_SlagStateN18(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 422:
- emit sig_qml_SlagStateN19(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 423:
- emit sig_qml_SlagStateN20(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 424:
- emit sig_qml_SlagStateN21(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 425:
- emit sig_qml_SlagStateN22(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 426:
- emit sig_qml_SlagStateN23(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 427:
- emit sig_qml_SlagStateN24(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 428:
- emit sig_qml_SlagStateN25(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 429:
- emit sig_qml_SlagStateN26(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 430:
- emit sig_qml_SlagStateN27(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 431:
- emit sig_qml_SlagStateN28(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 432:
- emit sig_qml_SlagStateN29(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 433:
- emit sig_qml_SlagStateN30(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- case 434:
- emit sig_qml_SlagStateN31(structTemp.data[i].pot_status);
- qDebug() << "打印包号" << structTemp.data[i].pot_number << "打印状态" << structTemp.data[i].pot_status << "\n";
- break;
- }
- }
- //将S_HTN1_ReturnWarningState转换为QVariantMap类型,可以在qml中识别
- QVariantMap map;
- map["code"] = structTemp.code;
- // 处理嵌套结构体数据
- QVariantList dataList;
- for (int i = 0; i < structTemp.data.size(); i++)
- {
- QVariantMap nestedMap;
- nestedMap["pot_name"] = structTemp.data[i].pot_name;
- nestedMap["pot_status"] = structTemp.data[i].pot_status;
- nestedMap["pot_number"] = structTemp.data[i].pot_number;
- dataList.append(nestedMap);
- }
- map["data"] = dataList;
- emit sig_qml_SlagState(map["data"]);
- }
- }
- break;
- case EHTN1TYPE_ReturnWarningState:
- {
- S_HTN1_ReturnWarningState structTemp = qvariant.value<S_HTN1_ReturnWarningState>();
-
- //将S_HTN1_ReturnWarningState转换为QVariantMap类型,可以在qml中识别
- QVariantMap map;
- map["code"] = structTemp.code;
- // 处理嵌套结构体数据
- QVariantList dataList;
- for (int i=0;i<structTemp.data.size();i++)
- {
- QVariantMap nestedMap;
- nestedMap["message"] = structTemp.data[i].message;
- nestedMap["create_at"] = structTemp.data[i].create_at;
- dataList.append(nestedMap);
- }
- map["data"] = dataList;
-
- emit sig_qml_WarningState(map);
- }
- break;
- }
- }
- //发送指令,调用postData接口
- void CBusiness::slot_qml(int par0, QString par1)
- {
- switch (par0)
- {
- case EHTN1TYPE_LoginInfo:
- {
- QStringList temp = par1.split(",");
- if (temp.count() == 2)
- {
-
- S_HTN1_LoginInfo postLogin;
- postLogin.username = temp[0];
- postLogin.password = temp[1];
-
- m_pHttpThreadNum1->postData(EHTN1TYPE_LoginInfo, &postLogin);
- }
- }
- break;
- case EHTN1TYPE_GetAllCarState:
- {
-
- S_HTN1_GetAllCarState postGetAllCarState;
- postGetAllCarState.code = par1.toInt();
- m_pHttpThreadNum1->postData(EHTN1TYPE_GetAllCarState, &postGetAllCarState);
- }
- break;
- case EHTN1TYPE_DoStartUpCar:
- {
- QStringList temp = par1.split(",");
- if (temp.count() == 2)
- {
-
- S_HTN1_DoStartUpCar postDoStartUpCar;
- postDoStartUpCar.code = temp[0].toInt();
- postDoStartUpCar.uuid = temp[1];
- m_pHttpThreadNum1->postData(EHTN1TYPE_DoStartUpCar, &postDoStartUpCar);
- }
- }
- break;
- case EHTN1TYPE_ShutDownCar:
- {
- QStringList temp = par1.split(",");
- if (temp.count() == 2)
- {
- S_HTN1_ShutDownCar postShutDownCar;
- postShutDownCar.code = temp[0].toInt();
- postShutDownCar.uuid = temp[1];
- m_pHttpThreadNum1->postData(EHTN1TYPE_ShutDownCar, &postShutDownCar);
- }
- }
- break;
- case EHTN1TYPE_RemoteRequest:
- {
- QStringList temp = par1.split(",");
- if (temp.count() == 2)
- {
- S_HTN1_RemoteRequest postRemoteRequest;
- postRemoteRequest.code = temp[0].toInt();
- postRemoteRequest.uuid = temp[1];
- m_pHttpThreadNum1->postData(EHTN1TYPE_RemoteRequest, &postRemoteRequest);
- }
- }
- break;
- case EHTN1TYPE_DoStartWorkCar:
- {
- QStringList temp = par1.split(",");
- if (temp.count() == 4)
- {
- S_HTN1_DoStartWorkCar postDoStartWorkCar;
- postDoStartWorkCar.code = temp[0].toInt();
- postDoStartWorkCar.uuid = temp[1];
- postDoStartWorkCar.task_type = temp[2].toInt();
- postDoStartWorkCar.target_point_name= temp[3];
- m_pHttpThreadNum1->postData(EHTN1TYPE_DoStartWorkCar, &postDoStartWorkCar);
- qDebug() << "发指令" << postDoStartWorkCar.code << postDoStartWorkCar.task_type<< EHTN1TYPE_DoStartWorkCar<<"\n";
- }
- }
- break;
- case EHTN1TYPE_AddCar:
- {
- QStringList temp = par1.split(",");
- if (temp.count() == 2)
- {
- S_HTN1_AddCar postAddCar;
- postAddCar.code = temp[0].toInt();
- postAddCar.name = temp[1];
- m_pHttpThreadNum1->postData(EHTN1TYPE_AddCar, &postAddCar);
- }
- }
- break;
- case EHTN1TYPE_RenameCar:
- {
- QStringList temp = par1.split(",");
- if (temp.count() == 3)
- {
- S_HTN1_RenameCar postRenameCar;
- postRenameCar.code = temp[0].toInt();
- postRenameCar.uuid = temp[1];
- postRenameCar.name = temp[2];
- m_pHttpThreadNum1->postData(EHTN1TYPE_RenameCar, &postRenameCar);
- }
- }
- break;
- case EHTN1TYPE_DeleteCar:
- {
- QStringList temp = par1.split(",");
- if (temp.count() == 2)
- {
- S_HTN1_DeleteCar postDeleteCar;
- postDeleteCar.code = temp[0].toInt();
- postDeleteCar.uuid = temp[1];
- m_pHttpThreadNum1->postData(EHTN1TYPE_DeleteCar, &postDeleteCar);
- }
- }
- break;
- case EHTN1TYPE_TaskList:
- {
- QStringList temp = par1.split(",");
- if (temp.count() == 3)
- {
- S_HTN1_TaskList postTaskList;
- postTaskList.code = temp[0].toInt();
- postTaskList.page = temp[1].toInt();
- postTaskList.size = temp[2].toInt();
- m_pHttpThreadNum1->postData(EHTN1TYPE_TaskList, &postTaskList);
- }
- }
- break;
- case EHTN1TYPE_StopTask:
- {
- QStringList temp = par1.split(",");
- if (temp.count() == 2)
- {
- S_HTN1_StopTask postStopTask;
- postStopTask.code = temp[0].toInt();
- postStopTask.uuid = temp[1];
- m_pHttpThreadNum1->postData(EHTN1TYPE_StopTask, &postStopTask);
- }
- }
- break;
- case EHTN1TYPE_CancelTask:
- {
- QStringList temp = par1.split(",");
- if (temp.count() == 2)
- {
- S_HTN1_CancelTask postCancelTask;
- postCancelTask.code = temp[0].toInt();
- postCancelTask.uuid = temp[1];
- m_pHttpThreadNum1->postData(EHTN1TYPE_CancelTask, &postCancelTask);
- }
- }
- break;
- case EHTN1TYPE_GetSlagState:
- {
- QStringList temp = par1.split(",");
- if (temp.count() == 1)
- {
- S_HTN1_GetSlagState postGetSlagState;
- postGetSlagState.code = temp[0].toInt();
- m_pHttpThreadNum1->postData(EHTN1TYPE_GetSlagState, &postGetSlagState);
- }
- }
- break;
- case EHTN1TYPE_GetWarningState:
- {
- QStringList temp = par1.split(",");
- if (temp.count() == 1)
- {
- S_HTN1_GetWarningState postGetWarningState;
- postGetWarningState.code = temp[0].toInt();
- m_pHttpThreadNum1->postData(EHTN1TYPE_GetWarningState, &postGetWarningState);
- }
- }
- break;
- }
- }
|