From 7a2ff321965f1f24f3047fedd44a83f451f1f793 Mon Sep 17 00:00:00 2001 From: QuakeGod <QuakeGod@sina.com> Date: 星期三, 01 二月 2023 10:58:10 +0800 Subject: [PATCH] radio add new device type --- Inc/KMachine.h | 22 ++++++++++++++++++---- 1 files changed, 18 insertions(+), 4 deletions(-) diff --git a/Inc/KMachine.h b/Inc/KMachine.h index 125fef1..e135092 100644 --- a/Inc/KMachine.h +++ b/Inc/KMachine.h @@ -57,10 +57,18 @@ typedef struct tagInfoBlock { - USHORT nDeviceType; - USHORT ProgVer; - USHORT KLinkVer; - USHORT nCapacity; +// USHORT nBlockLenth; + USHORT nDeviceTypeVer; //device type x.y +// UCHAR nDevierVer; + USHORT ProgVer; //prog version x.y + USHORT KLinkVer; //x.y + USHORT KBusVer; //x.y +// USHORT KNetVer; //x.y +// USHORT KWLVer; //x.y + + UCHAR nCapacity1; // ? K + UCHAR nCapacity2; // ? k + UCHAR nDInput; UCHAR nDOutput; UCHAR nAInput; @@ -69,6 +77,12 @@ UCHAR nHOutput; UCHAR nExt1; UCHAR nExt2; + UCHAR nLogSize; + UCHAR nPorts; + UCHAR nManSize; + UCHAR nAbility; + UCHAR nSwitchBits; + }stKMInfoBlock; -- Gitblit v1.9.1