From 63969c774a845b2cfe34c4ecd8c9336b04e88935 Mon Sep 17 00:00:00 2001 From: xzb <223@qq.com> Date: Tue, 26 Sep 2023 15:36:09 +0800 Subject: [PATCH] =?UTF-8?q?=E9=81=93=E5=B2=94=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- system/dubug_system.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/system/dubug_system.go b/system/dubug_system.go index 631ac99..5f0c6c2 100644 --- a/system/dubug_system.go +++ b/system/dubug_system.go @@ -18,9 +18,12 @@ func (debug *DebugSystem) Update(w ecs.World) { zdj9Query.Each(w, func(entry *ecs.Entry) { swId := EntityIdentityComponent.Get(entry).Id swState := Switch2jZdj9StateComponent.Get(entry) + j1 := PercentageDeviceState1Component.Get(entry) + j2 := PercentageDeviceState2Component.Get(entry) //log.Println(fmt.Sprintf("==>>2JZDJ9=%s QDJ=%t j1-2DQJ=%t j2-2DQJ=%t", swId, swState.J1_QDJ, swState.J1_2DQJ, swState.J2_2DQJ)) //log.Println(fmt.Sprintf("==>>2JZDJ9=%s j1-1DQJ=%t j2-1DQJ=%t", swId, swState.J1_1DQJ, swState.J2_1DQJ)) - log.Println(fmt.Sprintf("==>>2JZDJ9=%s YCJ=%t DCJ=%t FCJ=%t j1-2DQJ=%t j2-2DQJ=%t ZDBJ=%t ZFBJ=%t", swId, swState.YCJ, swState.DCJ, swState.FCJ, swState.J1_2DQJ, swState.J2_2DQJ, swState.ZDBJ, swState.ZFBJ)) + log.Println(fmt.Sprintf("==>>2JZDJ9=%s YCJ=%t DCJ=%t FCJ=%t j1-2DQJ=%t j2-2DQJ=%t ZDBJ=%t ZFBJ=%t j1=%d j2=%d", + swId, swState.YCJ, swState.DCJ, swState.FCJ, swState.J1_2DQJ, swState.J2_2DQJ, swState.ZDBJ, swState.ZFBJ, j1.P, j2.P)) }) }