From 334b16b4abb4cbe3d1d4e4f211efd6f4468ae09f Mon Sep 17 00:00:00 2001 From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com> Date: 星期五, 19 九月 2025 15:12:52 +0800 Subject: [PATCH] 1.ControlJob和ProcessJob的中断操作,强制结批增加字符串描述原因,方便生产跟踪。 --- SourceCode/Bond/Servo/CPageGlassList.h | 20 ++++++++++++++++---- 1 files changed, 16 insertions(+), 4 deletions(-) diff --git a/SourceCode/Bond/Servo/CPageGlassList.h b/SourceCode/Bond/Servo/CPageGlassList.h index 7d702c7..1094c50 100644 --- a/SourceCode/Bond/Servo/CPageGlassList.h +++ b/SourceCode/Bond/Servo/CPageGlassList.h @@ -1,5 +1,5 @@ 锘�#pragma once -#include "ListCtrlEx.h" +#include "CExpandableListCtrl.h" #include "GlassLogDb.h" @@ -33,10 +33,14 @@ // 鎺т欢 CDateTimeCtrl m_dateTimeStart; CDateTimeCtrl m_dateTimeEnd; - CListCtrlEx m_listCtrl; + CExpandableListCtrl m_listCtrl; private: - void InitRxWindow(); + int m_nColCount = 0; + bool m_rebuilding = false; + +private: + void InitRxWindows(); void Resize(); void InitStatusCombo(); void InitTimeRangeCombo(); @@ -44,7 +48,13 @@ void LoadData(); void UpdatePageData(); void UpdatePageControls(); - + void InsertWipRow(SERVO::CGlass* pGlass); + static bool GlassMatchesFilters(const SERVO::CGlass& g, + const GlassLogDb::Filters& f, + bool useEndTime = false); + void UpdateWipData(); + bool eraseGlassInVector(SERVO::CGlass* pGlass, std::vector<SERVO::CGlass*>& glasses); + void UpdateWipRow(unsigned int index, SERVO::CGlass* pGlass); // 瀵硅瘽妗嗘暟鎹� #ifdef AFX_DESIGN_TIME @@ -64,5 +74,7 @@ afx_msg void OnBnClickedButtonExport(); afx_msg void OnBnClickedButtonPrevPage(); afx_msg void OnBnClickedButtonNextPage(); + afx_msg void OnShowFullText(NMHDR* pNMHDR, LRESULT* pResult); + virtual BOOL PreTranslateMessage(MSG* pMsg); DECLARE_MESSAGE_MAP() }; -- Gitblit v1.9.3