2026年6月22日 :大量更新
This commit is contained in:
@@ -44,11 +44,6 @@ BarcodeEditor::BarcodeEditor(QWidget *parent) :
|
||||
ui(new Ui::BarcodeEditor)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
if (m_sysPara == nullptr) {
|
||||
m_sysPara = SysPara::ins();
|
||||
}
|
||||
|
||||
applyStyleSheet();
|
||||
|
||||
m_dateFormatEditor = new DateFormatEditor();
|
||||
@@ -264,7 +259,7 @@ void BarcodeEditor::applyCounterConfigToSysPara()
|
||||
m_sysPara->para.cnt1RepeateValue = cnt.counter1.repeatValue;
|
||||
m_sysPara->para.cnt1StepValue = cnt.counter1.stepValue;
|
||||
m_sysPara->para.cnt1CurrValue = cnt.counter1.currValue;
|
||||
m_sysPara->status.cnt1CurrentValueInitDoneFlag = !cnt.counter1.editCurrValue;
|
||||
m_sysPara->status.cnt1CurrentValueInitDoneFlag = cnt.counter1.editCurrValue;
|
||||
|
||||
if(cnt.counter1.eleEyeIncEn)
|
||||
m_sysPara->para.eleEyeClearCntInSynMode = (m_sysPara->para.eleEyeClearCntInSynMode | 0x10); // CNT1 +1
|
||||
@@ -278,7 +273,7 @@ void BarcodeEditor::applyCounterConfigToSysPara()
|
||||
m_sysPara->para.cnt2RepeateValue = cnt.counter2.repeatValue;
|
||||
m_sysPara->para.cnt2StepValue = cnt.counter2.stepValue;
|
||||
m_sysPara->para.cnt2CurrValue = cnt.counter2.currValue;
|
||||
m_sysPara->status.cnt2CurrentValueInitDoneFlag = !cnt.counter2.editCurrValue;
|
||||
m_sysPara->status.cnt2CurrentValueInitDoneFlag = cnt.counter2.editCurrValue;
|
||||
|
||||
if(cnt.counter2.eleEyeIncEn)
|
||||
m_sysPara->para.eleEyeClearCntInSynMode = (m_sysPara->para.eleEyeClearCntInSynMode | 0x20); // CNT2 +1
|
||||
|
||||
Reference in New Issue
Block a user