//============================================================================// // ProjectName : AeroSDK // FileName : AerosdkStruct.h // Outline : Structure definnition for user interface functions // Copyright (C) 2011 KONICA MINOLTA, INC. All rights reserved. //============================================================================// #pragma once //============================================================================// // Log setting information. // The structure for a user program to set log conditions to AeroSDK. // It is used in AeroSDK open function (AerosdkOpen). // // intLogLevel : Log output mode // AEROSDK_LOG_NONE : No log output // AEROSDK_LOG_NORMAL: Log output at normal level // AEROSDK_LOG_DETAIL: Log output at detailed level // AEROSDK_LOG_DEBUG : Log output at debug level // charSdkLog : Full path to the AeroSDK log file // When a character string is NULL, there is no log output. // charKmfLog : Full path to the AeroSDK Panel control system log file // When a character string is NULL, there is no log output. //============================================================================// typedef struct { int intLogLevel; char strSdkLog[512]; char strKmfLog[512]; } StAerosdkLogInfo; //============================================================================// // Panel setting information. // The structure for a user program to receive Panel setting information. // It is used in Panel setting information acquisition function (AerosdkGetPanelSettingInfo). // // strPanelId : Panel ID // intPanelSize : Panel size type // AEROSDK_PANEL_SIZE_8X10 : 8~10 // AEROSDK_PANEL_SIZE_10X12 : 10~12 // AEROSDK_PANEL_SIZE_11X14 : 11~14 // AEROSDK_PANEL_SIZE_14X14 : 14~14 // AEROSDK_PANEL_SIZE_14X17 : 14~17 // AEROSDK_PANEL_SIZE_17X17 : 17~17 // AEROSDK_PANEL_SIZE_18X24S: 18~24S // AEROSDK_PANEL_SIZE_24X30S: 24~30S // intScintilatorType : Scintillator type // AEROSDK_SCINTILATOR_CSI1: CSI1FHQ type // AEROSDK_SCINTILATOR_CSI2: CSI2FS type // AEROSDK_SCINTILATOR_GOS : GOS // ucharIpAddressLan : Wired LAN IP address // ushortSendPortLan : Wired LAN IP send port number // ushortRecievePortLan : Wired LAN IP recieve port number // ucharIpAddressWLan : Wireless LAN IP address // ushortSendPortWLan : Wireless LAN IP send port number // ushortRecievePortWLan : Wireless LAN IP recieve port number // ucharSubnetMask : Subnet mask // ucharDefaultGateWay : Default gateway IP address // ucharCcLan : IP address of the destination to notify of Auto tracking information // ushortCcPort : Port number of the destination to notify of Auto Tracking information. // ulongCertify : Wireless LAN authentication method // ucharSsid : Wireless LAN SSID // ucharPassPhrase : Wireless LAN passphrase //============================================================================// typedef struct { char strPanelId[68]; int intPanelSize; int intScintilatorType; unsigned char ucharIpAddressLan[4]; unsigned short ushortSendPortLan; unsigned short ushortReceivePortLan; unsigned char ucharIpAddressWLan[4]; unsigned short ushortSendPortWLan; unsigned short ushortReceivePortWLan; unsigned char ucharSubnetMask[4]; unsigned char ucharDefaultGateWay[4]; unsigned char ucharCcLan[4]; unsigned short ushortCcPort; unsigned long ulongCertify; unsigned char ucharSsid[36]; unsigned char ucharPassPhrase[64]; } StAerosdkPanelSettingInfo; //============================================================================// // Panel version information. // The structure for a user program to receive Panel version information. // It is used in Panel version information acquisition function (AerosdkGetPanelVersionInfo). // // ucharDllVersion : Panel firmware DLL version information // ucharAllVersion : Generic version information of the following versions // ucharFwComnBootVersion : Communication control boot version information // ucharFwComnVersion : Communication control firmware version information // ucharFwPowerBootVersion : Power control boot version information // ucharFwPowerVersion : Power control firmware version information // ucharFpgaVersion : FPGA version information //============================================================================// typedef struct { unsigned char ucharDllVersion[4]; unsigned char ucharAllVersion[4]; unsigned char ucharFwComnBootVersion[4]; unsigned char ucharFwComnVersion[4]; unsigned char ucharFwPowerBootVersion[4]; unsigned char ucharFwPowerVersion[4]; unsigned char ucharFpgaVersion[4]; } StAerosdkPanelVersionInfo; //============================================================================// // XGBOX status information. // The structure for a user program to receive XGBOX status information. // It is used in XGBOX status information acquisition function (AerosdkGetXgboxStatusInfo). // // intWsNo : WS number // intPrepare : Prepare signal (AEROSDK_ON / AEROSDK_OFF) // intExposure : Exposure signal (AEROSDK_ON / AEROSDK_OFF) // intMainGate : MainGate signal (AEROSDK_ON / AEROSDK_OFF) // intKM_Ready : KM_Ready signal (AEROSDK_ON / AEROSDK_OFF) // intPanelConnection : Connection to Panel // AEROSDK_ON : Panel and XGBOX connected // AEROSDK_OFF: Panel and XGBOX disconnected // intCrMode : CR mode status // AEROSDK_ON : CR mode (X-ray Generator is not linked) // AEROSDK_OFF: DR mode (X-ray Generator is linked) //============================================================================// typedef struct { int intWsNo; int intPrepare; int intExposure; int intMainGate; int intKM_Ready; int intPanelConnection; int intCrMode; int intModeSetting; } StAerosdkXgboxStatusInfo; //============================================================================// // Setting information for the connection between AeroSDK and XGBOX. // The structure for a user program to receive setting information for the connection between AeroSDK and XGBOX. // It is used in XGBOX setting information acquisition function (AerosdkGetXgboxSettingInfo). // // ucharIpAddress : Wired IP address (for AeroSDK-XGBOX connection) // ucharSubnetMask : Subnet mask // ucharDefaultGateWay : Default gateway IP address // ushortDefaultPort : Wired port number (for AeroSDK-XGBOX connection) //============================================================================// typedef struct { unsigned char ucharIpAddress[4]; unsigned char ucharSubnetMask[4]; unsigned char ucharDefaultGateWay[4]; unsigned short ushortDefaultPort; } StAerosdkXgboxSettingInfo; //============================================================================// // XGBOX conservation information structure. // The structure for a user program to receive XGBOX conservation information. // It is used in XGBOX conservation information acquisition function (AerosdkGetXgboxConservationInfo). // // intWsNo : WS number // intCountPrepare : The number (total number) of Prepare signals that XGBOX has received from X-ray Generator via XIF specified by WS number [WsNo] until then. // intCountExposure : The number (total number) of Exposure signals that XGBOX has received from X-ray Generator via XIF specified by WS number [WsNo] until then. // intCountMainGate : The number (total number) of MainGate signals that XGBOX has received from X-ray Generator via XIF specified by WS number [WsNo] until then. // intCountKM_Ready : The number (total number) of KM_Ready signals that XGBOX has received from X-ray Generator via XIF specified by WS number [WsNo] until then. //============================================================================// typedef struct { int intWsNo[3]; int intCountPrepare[3]; int intCountExposure[3]; int intCountMainGate[3]; int intCountKM_Ready[3]; } StAerosdkXgboxConservationInfo; //============================================================================// // XGBOX version information. // The structure for a user program to receive XGBOX version information. // It is used in XGBOX version information acquisition function (AerosdkGetXgboxVersionInfo). // // ucharTotalVersion : Generic version information of the following versions // ucharBootVersion : Boot version information // ucharSystemVersion : System version information // ucharCpldVersion : CPLD version information //============================================================================// typedef struct { unsigned char ucharTotalVersion[4]; unsigned char ucharBootVersion[4]; unsigned char ucharSystemVersion[4]; unsigned char ucharCpldVersion[4]; } StAerosdkXgboxVersionInfo; //============================================================================// // PANEL alignment information. // The structure for a user program to receive Panel alignment information. // It is used in Panel information acquisition function (AerosdkGetPanelAlignmentInfo). // // intEnabled : Flag to judge whether Panel angle information is valid. // AEROSDK_ON : Panel angle information is valid, // AEROSDK_OFF: Panel angle information is invalid. // intRollAngle : Current roll angle of Panel. // Value range:from -900 to 900 [0.1deg] // intPitchAngle : Current pitch angle of Panel. // Value range:from -900 to 900 [0.1deg] //============================================================================// typedef struct { int intEnabled; int intRollAngle; int intPitchAngle; } StAerosdkPanelAlignmentInfo;