From 829fe6c6bc33d53fda9c31fd45a37e1df87befff Mon Sep 17 00:00:00 2001
From: mrDarker <mr.darker@163.com>
Date: 星期五, 30 一月 2026 11:16:24 +0800
Subject: [PATCH] Merge branch 'clh' into liuyang

---
 SourceCode/Bond/Servo/Configuration.h |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/SourceCode/Bond/Servo/Configuration.h b/SourceCode/Bond/Servo/Configuration.h
index 0bf2628..9c6aaf7 100644
--- a/SourceCode/Bond/Servo/Configuration.h
+++ b/SourceCode/Bond/Servo/Configuration.h
@@ -34,6 +34,13 @@
 	int getPortCassetteSnSeed(int port);
 	void setPortCassetteSnSeed(int port, int seed);
 
+	// Production shift settings
+	// Reads shift start times from ini.
+	// - [Production] DayShiftStart=HH:MM (default 08:00)
+	// - [Production] NightShiftStart=HH:MM (default DayShiftStart+12h)
+	// Returns TRUE if both values are valid (or derived); otherwise FALSE and falls back to defaults.
+	BOOL getProductionShiftStartMinutes(int& dayStartMinutes, int& nightStartMinutes);
+
 public:
 	void setP2RemoteEqReconnectInterval(int second);
 	int getP2RemoteEqReconnectInterval();

--
Gitblit v1.9.3