From 005755edcdc332315ba077598d4746ac195b069e Mon Sep 17 00:00:00 2001 From: QuakeGod <QuakeGod@sina.com> Date: 星期一, 14 十月 2024 11:45:56 +0800 Subject: [PATCH] increase KPLC KBus from 2 client to 16 clients --- ComLib/Inc/KMachine.h | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ComLib/Inc/KMachine.h b/ComLib/Inc/KMachine.h index 4ced75d..d1f709d 100644 --- a/ComLib/Inc/KMachine.h +++ b/ComLib/Inc/KMachine.h @@ -528,18 +528,26 @@ uchar nMaxStations; uchar nCurStations; uchar nHealth; - void * pPortConfig; short PortConfigType; short PortConfigSize; - void * pPortRunStatus; short PortRunStatType; short PortRunStatSize; + void * pInstance; //閫氫俊缁撴瀯瀹炰綋 + void * pPortConfig; + void * pPortRunStatus; CommFuncDef ReqCommFunc; //閫氫俊璇锋眰鍑芥暟鎸囬拡 // func2 CommReq; }stPortDef,* pstPortDef; + +typedef struct tagPortPtDef +{ + void * pt; + +}stPortPtDef,* pstPortPtDef; + typedef struct tagInterComm { int nId; -- Gitblit v1.9.1