link start!

This commit is contained in:
cherubin
2026-03-17 13:31:18 -07:00
commit 08abe87cfb
5910 changed files with 386288 additions and 0 deletions
@@ -0,0 +1,7 @@
package com.honeywell.honeywellXL10NextGen.xl10Controller;
public interface IChecksumCRCGenerator {
char calculateCRCChecksum(byte[] bArr, int i);
void computeCRCChecksum();
}
@@ -0,0 +1,17 @@
package com.honeywell.honeywellXL10NextGen.xl10Controller;
import com.honeywell.honeywellXL10NextGen.functionalBlocks.BHoneywellComponent;
public interface IFunctionBlockConfig {
short getConfig1(BHoneywellComponent bHoneywellComponent);
short getConfig2(BHoneywellComponent bHoneywellComponent);
short getConfig3(BHoneywellComponent bHoneywellComponent);
void setConfig1(BHoneywellComponent bHoneywellComponent, byte b);
void setConfig2(BHoneywellComponent bHoneywellComponent, byte b);
void setConfig3(BHoneywellComponent bHoneywellComponent, byte b);
}
@@ -0,0 +1,171 @@
package com.honeywell.honeywellXL10NextGen.xl10Controller;
public interface IMandatoryXIF {
int applicationInputBuffersSize();
int applicationOutputBuffersSize();
int applicationType(int i);
int doesDeviceOverridesGeneralPurposeDataForSpecialPurposeData();
int doesRawDataOverridesTimingValues();
int getAddressTableEntrySize();
int getAveragePacketSize();
String getBaseClockRateFactor(int i);
int getChannelBitRate();
int getDomainTableEntrySize();
String[] getFileData(int i);
int getFileIndex(int i);
String getFileName(int i);
int getFileType(int i);
int getGeneralPurposeDataUsedForSpecialPurpose_1();
int getGeneralPurposeDataUsedForSpecialPurpose_2(int i);
int getGeneralPurposeDataUsedForSpecialPurpose_3();
int getGeneralPurposeDataUsedForSpecialPurpose_4();
int getGeneralPurposeDataUsedForSpecialPurpose_5();
int getGeneralPurposeDataUsedForSpecialPurpose_6();
int getGeneralPurposeDataUsedForSpecialPurpose_7();
int getInterminateTime();
String[] getMandatoryXIFHeader(int i, int i2);
int getMandatoryXIFHeaderLines();
int getMinimumClockRateForChannel();
int getMinimumInterpacketTime();
int getMissedPreambleTime();
String[] getMsgTagData(int i);
String[] getMsgTagHeader(int i);
int getNVAliasTableEntrySize();
int getNVConfigurationTableEntrySize();
int getNumberOfAddressTableEnteries();
int getNumberOfBytesFromDomainAreaToEEPROM(int i);
int getNumberOfDomain();
int getNumberOfFileSection();
int getNumberOfLinesPerFile(int i);
int getNumberOfPrioritySlotOnChannel();
int getOffChipRamConfiguration();
int getOnChipRamConfiguration(int i);
int getPacketQualificationTime();
int getPreambleLength();
int getProtocolProcessorClockRate();
int getProtocolProcessorModel();
int getProtocolProcessorOscillatorAccuracy();
int getProtocolProcessorOscillatorWakeUpTime();
int getRawDataBytesForCommunicationParameter_1();
int getRawDataBytesForCommunicationParameter_2();
int getRawDataBytesForCommunicationParameter_3();
int getRawDataBytesForCommunicationParameter_4();
int getRawDataBytesForCommunicationParameter_5();
int getRawDataClockRate();
int getReceiveEndDelay();
int getReceiveStartDelay();
int getReceiveTransactionBlockSizeInBytes();
int getReservedValue();
String getSelfDocumentaryString(int i);
int getSpecialPurposeModeAlternateChannelBitRate();
int getSpecialPurposeModeWakeUpPinDirection();
int getStandardTransceiverTypeID();
int getSystemFirmwareRevisionNumber();
int getTransactionControlBlockSizeInBytes();
int getTransceiverInterfaceRate();
int getTransceiverInterfaceType();
int getTurnAroundTime();
int isIncomingApplicationMessagesHandled();
int isRelaxedBindingConstraintsAllowed();
int isSpecialPurposeModeTransceiverControlsThePreamble();
int isStandardTransceiverTypeUsed();
int isStatisticsRelativeAddressReferencesAllowed();
int maximumNumberOfNVSupportedByDevice();
int maximumSizeMemoryBlockThatCanBeWritten();
int networkInputBuffersSize();
int networkOutputBuffersSize();
int numberOfApplicationInputBuffers();
int numberOfApplicationOutputBuffers();
int numberOfMsgTag();
int numberOfNVAliasTableEnteries(int i);
int numberOfNetworkInputBuffers(int i);
int numberOfNetworkOutputBuffers();
int numberOfPriorityApplicationOutputBuffers();
int numberOfPriorityNetworkOutputBuffers();
int numberOfReceiveTransactionBuffer();
int numberOfStaticNV();
int sizeOfNVConfigurationTable();
}
@@ -0,0 +1,60 @@
package com.honeywell.honeywellXL10NextGen.xl10Controller;
import com.honeywell.honeywellXL10NextGen.functionalBlocks.BHoneywellComponent;
import java.util.ArrayList;
import java.util.Map;
import javax.baja.space.BComponentSpace;
public interface ISpyderLogger {
void clearActionsMap();
Map getActionsTaken();
ArrayList getBlocksToFix(BComponentSpace bComponentSpace);
String getControllerModel();
String getDeviceModel();
String getDeviceName();
Map getDuplicateObjNames();
Map getErrors();
int getFirmwareModel();
Map getInvalidHWPoints();
Map getInvalidLinksKnobs();
Map getInvalidPoints();
int getNumberOfFixableBlocks();
Map getUnusedBlocks();
Map getWarnings();
void logAction(String str, String str2);
void logBlockToFix(BHoneywellComponent bHoneywellComponent);
void logError(String str, String str2);
void logInvalidHWPoint(String str, String str2);
void logInvalidPoint(String str, String str2);
void logUnusedBlock(String str, String str2);
void logWarning(String str, String str2);
void setControllerModel(String str);
void setDeviceModel(String str);
void setDeviceName(String str);
void setFirmwareModel(int i);
}
@@ -0,0 +1,69 @@
package com.honeywell.honeywellXL10NextGen.xl10Controller.compilation;
import com.honeywell.honeywellXL10NextGen.xl10Controller.device.ISpyderDevice;
import javax.baja.driver.BDevice;
import javax.baja.job.BJob;
public interface ICompiler {
public static final int ALARM_DISABLE = 9;
public static final int ALARM_TYPE_CONFIG = 30;
public static final int ANALOG_INPUT_CONFIG = 15;
public static final int ANALOG_INPUT_LINEAR_CONFIG = 14;
public static final int ANALOG_INPUT_MODE = 2;
public static final int ANALOG_INPUT_OFFSET = 1;
public static final int ANALOG_OUTPUT_CONFIG = 17;
public static final int ANALOG_OUTPUT_MODE = 3;
public static final int APP_GUID = 32;
public static final int BACNET_BINDINGS = 35;
public static final int BOAC_CONFIG = 36;
public static final int CONTROL_CONSTANT = 13;
public static final int CONTROL_LOOP = 12;
public static final int CONTROL_NV_RAM = 0;
public static final int CONTROL_VARIABLE = 25;
public static final int DAY_LIGHT_SAVING = 4;
public static final int DEVICE_NAME = 8;
public static final int DIGITAL_INPUT_CONFIG = 16;
public static final int DIGITAL_OUTPUT_CONFIG = 18;
public static final int FLOATING_MOTOR_CONFIG = 19;
public static final int HEART_BEAT = 7;
public static final int HOLIDAY = 6;
public static final int LOGICAL_INPUT_CONFIG = 40;
public static final int LOGICAL_INPUT_MAP = 38;
public static final int LOGICAL_OUTPUT_CONFIG = 41;
public static final int LOGICAL_OUTPUT_MAP = 39;
public static final int LON_APP_INIT_DATA = 34;
public static final int LON_SI_DATA = 33;
public static final int MAX_NUM_OF_STORES = 44;
public static final int NV_CONFIG = 10;
public static final int NV_PER_FIELD_CONFIG = 11;
public static final int PROXY_FILE = 31;
public static final int PUBLIC_VARIABLE_GROUP_CONFIG = 26;
public static final int PUBLIC_VARIABLE_SEND_CONFIG = 27;
public static final int REPLACEMENT_CONSTANT = 43;
public static final int REPLACEMENT_SPEC = 42;
public static final int SCALAR_DATATYPE_CONFIG = 21;
public static final int SCHEDULE = 5;
public static final int SCHEDULER_CONFIG = 23;
public static final int STRUCTURED_CONFIG = 22;
public static final int SV_CONFIG = 33;
public static final int SV_MAP_ENTRY_CONFIG = 34;
public static final int SYLK_COV = 37;
public static final int UNIT_CONFIG = 20;
public static final int WALLMODULE_CONFIG = 24;
public static final int WM_BUS_DEVICE_ADDRESS = 28;
public static final int WM_FAIL_DETECT_CONFIG = 29;
void cleanup();
void compile(BDevice bDevice, int i, boolean z) throws Exception;
void generateNetworkObjects(ISpyderDevice iSpyderDevice, int i) throws Exception;
INetworkCompilationInterface getNetworkCompiler();
void setFwModel(int i);
void setJob(BJob bJob);
void setNetworkCompiler(INetworkCompilationInterface iNetworkCompilationInterface);
}
@@ -0,0 +1,58 @@
package com.honeywell.honeywellXL10NextGen.xl10Controller.compilation;
import com.honeywell.honeywellXL10NextGen.sylk.fw.ti.BSylkTIDevice;
import com.honeywell.honeywellXL10NextGen.xl10Controller.datatypes.BFileOffsetStore;
import java.util.List;
import javax.baja.batchJob.BValueList;
import javax.baja.control.BNumericPoint;
import javax.baja.sys.BComponent;
import javax.baja.sys.Context;
import javax.baja.sys.Knob;
public interface INetworkCompilationInterface {
int compileFileOffsetsForNetworkInterfaceData(int i, BFileOffsetStore bFileOffsetStore, BComponent bComponent);
int compileFileOffsetsForNetworkObjects(int i, BFileOffsetStore bFileOffsetStore, BComponent bComponent);
boolean compileNetworkInputs();
void compileNetworkInputsForOD(BCompilation bCompilation);
boolean compileNetworkOutputs();
void compileNetworkOutputsForOD();
boolean compilePriorityOverrideBlock(BComponent bComponent, boolean z);
void freeResources();
void generateConfigBinaries(ISpyderCompile iSpyderCompile, BValueList bValueList, boolean z);
boolean generateNetworkObjects(BCompilation bCompilation, int i);
void generateParamBinaries(ISpyderCompile iSpyderCompile, BValueList bValueList, boolean z);
void generateSylkTIPvids(BSylkTIDevice bSylkTIDevice) throws Exception;
boolean generateTempSetPointPvid();
List getErrorLogs();
int getFieldDescriptorStoreLength();
byte[] getGUIDByteArray(ISpyderCompile iSpyderCompile, String str);
boolean initialize() throws Exception;
boolean isEntryToNVRamStoreRequired(Knob[] knobArr, BNumericPoint bNumericPoint);
void logError(String str);
boolean postCompile(Context context);
boolean preCompile(BCompilation bCompilation);
void setMainCompiler(ICompiler iCompiler);
void writeToDebugFile();
}
@@ -0,0 +1,30 @@
package com.honeywell.honeywellXL10NextGen.xl10Controller.compilation;
import javax.baja.job.BJob;
import javax.baja.naming.BOrd;
import javax.baja.sys.BBoolean;
import javax.baja.util.BBitSet;
public interface ISpyderCompile {
void beginCompile(BJob bJob, int i, boolean z) throws Exception;
BOrd compile(BBoolean bBoolean);
BBitSet getBinaryModified();
int getCompileStatusFlag();
BSpyderCompileUtility getSpyderCompileUtility();
ICompiler getSpyderCompiler();
int getTimeForUnconfiguredScheduleEvent();
boolean isCompileRequired();
void setBinaryModified(BBitSet bBitSet);
void setCompileStatusFlag(int i);
void setSpyderCompiler(ICompiler iCompiler);
}
@@ -0,0 +1,37 @@
package com.honeywell.honeywellXL10NextGen.xl10Controller.controllerInfo;
import javax.baja.sys.Type;
public interface IControllerSpecificInfo {
boolean checkComponentSupport(String str, String str2);
Type getDeviceClassType();
int getEnumCount(String str);
String getEnumDetail(String str, int i, String str2);
String getFBClassDetails(String str, String str2, String str3);
String getFBDetails(String str, String str2);
String getFBID(String str, String str2, boolean z, String str3);
String getFBNameFromIndex(int i);
String getFBNameFromIndex(String str, String str2, int i);
int getFBPropertiesCount(String str, String str2);
boolean getFbSupported(String str, String str2);
String getFb_xml();
String getPropDescription(String str, String str2, int i);
String getPropFacets(String str, String str2, String str3, String str4);
String getUploadClass(String str, String str2, String str3);
void setFB_XMLFile(String str);
}
@@ -0,0 +1,41 @@
package com.honeywell.honeywellXL10NextGen.xl10Controller.datatypes;
public interface IDefinitions {
public static final int BYTES_IN_AI_CONFIG = 42;
public static final int BYTES_IN_AI_LIN_CONFIG = 402;
public static final int BYTES_IN_AO_CONFIG = 14;
public static final int BYTES_IN_CONTROL_CONSTANT = 226;
public static final int BYTES_IN_CONTROL_LOOP = 1322;
public static final int BYTES_IN_CONTROL_NON_VOLATILE = 130;
public static final int BYTES_IN_DI_CONFIG = 10;
public static final int BYTES_IN_DO_CONFIG = 82;
public static final int BYTES_IN_FLOATING_MOTOR_CONFIG = 58;
public static final int BYTES_IN_LON_APP_INIT_DATA = 90;
public static final int BYTES_IN_LON_SI_DATA = 1002;
public static final int BYTES_IN_NV_CONFIG = 167;
public static final int BYTES_IN_PER_FIELD_CONFIG = 352;
public static final int BYTES_IN_SCALAR_DT_CONFIG = 182;
public static final int BYTES_IN_SCHEDULER_CONFIG = 8;
public static final int BYTES_IN_STRUCTURED_DT_CONFIG = 202;
public static final int BYTES_IN_UNIT_CONFIG = 162;
public static final int MAX_ANALOG_INPUT = 8;
public static final int MAX_ANALOG_INPUT_LIN_POINTS = 40;
public static final int MAX_ANALOG_OUTPUT = 3;
public static final int MAX_CONFIGURABLE_SCALAR_DATA_TYPES = 30;
public static final int MAX_CONFIGURABLE_UNITS = 30;
public static final int MAX_CONTROL_CONSTANT = 256;
public static final int MAX_CONTROL_LOOP = 100;
public static final int MAX_CONTROL_NVRAM = 32;
public static final int MAX_DIGITAL_INPUT = 4;
public static final int MAX_DIGITAL_OUTPUT = 8;
public static final int MAX_MAPPABLE_NV_FIELDS = 165;
public static final int MAX_NUMBER_OF_NVS = 62;
public static final int MAX_NV_CONFIG_FIELDS = 55;
public static final int MAX_STRUCT_DATA_FIELDS = 100;
public static final int MEMBER_INDEX_START = 18;
public static final int NV_INDEX_START = 17;
public static final int SCALAR_DATA_TYPE_START = 8;
public static final int STRUCTURED_CONFIGURABLE_START = 157;
public static final int STRUCTURED_FIXED_START = 149;
public static final int STRUCTURED_MANDATORY_START = 128;
}
@@ -0,0 +1,18 @@
package com.honeywell.honeywellXL10NextGen.xl10Controller.datatypes;
import java.util.ArrayList;
public interface ISpyderDatatype {
public static final int CRC = 0;
public static final int LENGTH = 1;
void clearData();
ArrayList getData();
Object getDataItem(int i);
void setCrc(float f);
void setLength(float f);
}
@@ -0,0 +1,75 @@
package com.honeywell.honeywellXL10NextGen.xl10Controller.device;
import com.honeywell.honeywellXL10NextGen.deviceModes.common.station.enums.BPiranhaModeEnum;
import com.honeywell.honeywellXL10NextGen.points.BIOPointInterface;
import com.honeywell.honeywellXL10NextGen.points.BInputPoint;
import java.util.Map;
import javax.baja.sys.BBoolean;
import javax.baja.sys.BComponent;
import javax.baja.sys.BInteger;
import javax.baja.sys.BString;
import javax.baja.sys.BVector;
public interface IOnlineNetworkInterfaceHandler {
boolean checkAndSetDeviceInUse(float f);
BBoolean confirmOnlineDeviceIsSpyder(BInteger bInteger);
void disableProxies(BString bString);
void enableDisableAlarms();
void enableProxies(BString bString);
void forceRead(BComponent bComponent);
void forceWrite(BComponent bComponent);
BVector getApplVerDetails(BString bString);
double getDeviceHeartBeatTime();
String getFirmwareVersion();
BInteger getOnlineDeviceInstanceNumber();
String getPointsChanged();
int getRevisionNumberFromApplVer() throws Exception;
BString getToolVersion();
String getUnitDataTypeNameOfPoint(BInputPoint bInputPoint, BPiranhaModeEnum bPiranhaModeEnum);
boolean isDeviceInUseSet(float f);
void pingDevice();
String readControllerModelFromDevice();
int readDeviceBrand(String str) throws Exception;
String readEnumValueFromNVField(String str, String str2);
String readFromNVField(String str, String str2);
String readGUIDFromController();
void readToolVersion(String str) throws Exception;
void resetDeviceInUse();
void setDeviceInUse(float f);
void setFirmwareVersion(String str);
void setPointsChanged(String str);
void setToolVersion(BString bString);
void updateNCIField(BComponent bComponent, String str, BIOPointInterface bIOPointInterface, Map map);
void writeToNVField(String str, String str2, int i);
void writeToNVField(String str, String str2, String str3);
}
@@ -0,0 +1,7 @@
package com.honeywell.honeywellXL10NextGen.xl10Controller.device;
import java.util.ArrayList;
public interface ISpyderBoac {
ArrayList formAllBacnetObjectsInSortedOrder();
}
@@ -0,0 +1,21 @@
package com.honeywell.honeywellXL10NextGen.xl10Controller.device;
import javax.baja.sys.BInterface;
import javax.baja.sys.BString;
import javax.baja.util.Lexicon;
public interface ISpyderLicense extends BInterface {
boolean brandModelExists(ISpyderLicense iSpyderLicense);
void doLicenseCheck(BString bString);
Lexicon getDeviceLexicon();
String[] getFeatureToCheck();
void licenseCheck(BString bString);
int readDeviceBrand(String str) throws Exception;
int readToolBrand();
}
@@ -0,0 +1,12 @@
package com.honeywell.honeywellXL10NextGen.xl10Controller.download;
import com.honeywell.honeywellXL10NextGen.xl10Controller.device.ISpyderDevice;
import javax.baja.batchJob.BValueList;
public interface IDeviceFileWriter {
boolean download(ISpyderDevice iSpyderDevice, BValueList bValueList, boolean z);
void endDownload();
boolean quickDownload(ISpyderDevice iSpyderDevice, BValueList bValueList);
}
@@ -0,0 +1,64 @@
package com.honeywell.honeywellXL10NextGen.xl10Controller.download;
import com.honeywell.honeywellXL10NextGen.logicContainers.BIApplication;
import javax.baja.naming.BOrd;
import javax.baja.sys.BBoolean;
import javax.baja.sys.BInterface;
public interface ISpyderDownload extends BInterface {
void beginSpyderDownload();
void checkAndAddRetryDownloadProp(Exception exception);
BBoolean checkDeviceState();
boolean checkGenerateNetObjFlagForDownload();
void checkModel(BIApplication bIApplication) throws Exception;
void checkSpyderDownload();
void endSpyderDownload();
void generateNetworkObject();
boolean getFirmwareCheckEnabled();
boolean getForceFullDownloadFlag();
boolean getFullDownloadFlag();
String getLastGUID();
boolean getQuickDownloadFlag();
boolean getUserOptionFullDownloadFlag();
boolean isCheckDownloadInvoked();
boolean isRetryDownload();
BBoolean performRevisionNumberCheck();
void removeRetryDownloadProp();
void setCheckDownloadInvoked(boolean z);
void setFirmwareCheckEnabled(boolean z);
void setForceFullDownloadFlag(boolean z);
void setFullDownloadFlag(boolean z);
void setLastGUID(String str);
void setQuickDownloadFlag(boolean z);
void setUserOptionFullDownloadFlag(boolean z);
BOrd spyderDownload(BSpyderDownloadParameters bSpyderDownloadParameters);
void updateNetworkConfigValues(boolean z);
void validateFirmware(String str);
}
@@ -0,0 +1,63 @@
package com.honeywell.honeywellXL10NextGen.xl10Controller.manager;
import com.honeywell.honeywellXL10NextGen.functionalBlocks.blocks.builtIn.BSchedule;
import com.honeywell.honeywellXL10NextGen.networkInterface.INetworkObject;
import com.honeywell.honeywellXL10NextGen.points.BIOPointInterface;
import java.util.Map;
import javax.baja.batchJob.BValueList;
import javax.baja.sys.BBlob;
import javax.baja.sys.BComponent;
public interface ISpyderDataManager {
void clearAllBinaryInfo();
void clearCrcCorrectionProxyDataInfo();
void clearFullProxyDataInfo();
void clearOptimizedProxyDataInfo();
BComponent getAIOffsetContainer();
BValueList getCompiledData();
BComponent getCrcCorrectionProxyDataInfo();
BComponent getFullProxyDataInfo();
BComponent getOptimizedProxyDataInfo();
boolean isCompiledDataAvailable();
void removeAIOffsetList();
void removeNSList();
void storeCompiledData(BBlob[] bBlobArr);
boolean storeCompiledData(BValueList bValueList);
void updateAIOffsetBinaries(int i, float f);
void updateControlNvRamBinaries(Map map);
void updateCrcCorrectionProxyInfo(Map map);
void updateDLSBinaries();
void updateFullProxyDataInfo(Map map);
void updateNSOrAIOffsetList(BIOPointInterface bIOPointInterface, float f);
void updateNSOrAIOffsetList(BIOPointInterface bIOPointInterface, INetworkObject iNetworkObject, float f);
void updateOptimizedProxyDataInfo(Map map);
void updateParamBinariesDuringSyncFromFieldDevice(byte[] bArr, byte[] bArr2, byte[] bArr3);
void updateProxyFileData(byte[] bArr);
void updateScheduleBinaries(BSchedule bSchedule);
void writeSpyderBinariesToFile(BValueList bValueList) throws Exception;
}
@@ -0,0 +1,29 @@
<panes version="1">
<bw_SensorCalibration default_text="SensorCalibration" type="javax.baja.ui.BWidget" x="0.0" y="0.0" w="400.0" h="300">
<lb_ModIpName default_text="List Of Sensors" type="javax.baja.ui.BLabel" x="30.0" y="25.0" w="80.0" h="20.0"/>
<ldd_ModIpName default_text="ModulatingInput1" type="javax.baja.ui.BListDropDown" x="130.0" y="25.0" w="200.0" h="20.0"/>
<!--
<lb_SensorType default_text="Sensor Type" type="javax.baja.ui.BLabel" x="30.0" y="60.0" w="80.0" h="20.0"/>
<tf_SensorType default_text="KNTC20" type="javax.baja.ui.BTextField" x="130.0" y="60.0" w="120.0" h="20.0"/>
-->
<lb_ActualValue default_text="Actual Value" type="javax.baja.ui.BLabel" x="30.0" y="60.0" w="80.0" h="20.0"/>
<tf_ActualValue default_text="0.0" type="com.honeywell.honeywellXL10NextGen.functionalBlocks.ui.BFloatTextField" x="130.0" y="60.0" w="100.0" h="20.0"/>
<lb_ActualValueUnit default_text="Deg.F" type="javax.baja.ui.BLabel" x="235.0" y="60.0" w="50.0" h="20.0"/>
<lb_EditValue default_text="Edit Value" type="javax.baja.ui.BLabel" x="30.0" y="95.0" w="80.0" h="20.0"/>
<tf_EditValue default_text="0.0" type="com.honeywell.honeywellXL10NextGen.functionalBlocks.ui.BFloatTextField" x="130.0" y="95.0" w="100.0" h="20.0"/>
<lb_EditValueUnit default_text="Deg.F" type="javax.baja.ui.BLabel" x="235.0" y="95.0" w="50.0" h="20.0"/>
<lb_Offset default_text="Offset" type="javax.baja.ui.BLabel" x="30.0" y="130.0" w="80.0" h="20.0"/>
<tf_Offset default_text="0.0" type="com.honeywell.honeywellXL10NextGen.functionalBlocks.ui.BFloatTextField" x="130.0" y="130.0" w="100.0" h="20.0"/>
<lb_OffsetUnit default_text="Deg.F" type="javax.baja.ui.BLabel" x="235.0" y="130.0" w="50.0" h="20.0"/>
<bb_SensorCalibrationHelp default_text="Help" type="javax.baja.ui.BButton" x="30.0" y="165.0" w="70.0" h="20.0"/>
<bb_SensorCalibrationCalibrate default_text="Calibrate" type="javax.baja.ui.BButton" x="110.0" y="165.0" w="70.0" h="20.0"/>
<bb_SensorCalibrationRefresh default_text="Refresh " type="javax.baja.ui.BButton" x="190.0" y="165.0" w="70.0" h="20.0"/>
<bb_SensorCalibrationClose default_text=" Close " type="javax.baja.ui.BButton" x="270.0" y="165.0" w="70.0" h="20.0"/>
<bb_SensorCalibrationWarning default_text=" " type="javax.baja.ui.BLabel" x="30.0" y="195.0" w="310.0" h="53.0"/>
</bw_SensorCalibration>
</panes>
@@ -0,0 +1,73 @@
package com.honeywell.honeywellXL10NextGen.xl10Controller.onlineOperation.flowBalancing;
import javax.baja.driver.BDevice;
public interface IFlowCalibrationPoints {
void disableProxies();
void enableProxies();
String getAreaUnit();
String getErrorString();
String getFlowOverrideUnit();
String getFlowUnit();
String getPressureUnit();
float readBoxFlow();
float readBoxFlowControlPoint();
float readControllerFlow();
int readControllerMode();
float readDamperPosition();
float readDuctArea();
int readFlowCalibrationFlag();
float readKFactor();
float readKFactorSetpoint();
float readMaxFlow();
float readMaxFlowSetpoint();
float readMinFlow();
float readMinFlowSetpoint();
float readPressureOffset();
float readVelocityPressureSensor();
void setDevice(BDevice bDevice);
boolean validatePoints();
boolean writeControllerFlow(float f);
boolean writeControllerMode(int i);
boolean writeDuctArea(float f);
boolean writeFlowCalibrationFlag(int i);
boolean writeKFactor(float f);
boolean writeKFactorSetpoint(float f);
boolean writeMaxFlow(float f);
boolean writeMaxFlowSetpoint(float f);
boolean writeMinFlow(float f);
boolean writeMinFlowSetpoint(float f);
}
@@ -0,0 +1,72 @@
package com.honeywell.honeywellXL10NextGen.xl10Controller.resourceManager;
import com.honeywell.honeywellXL10NextGen.xl10Controller.BMemoryStructure;
import javax.baja.sys.BInteger;
public interface IResourceManager {
int[] assignTerminals(int i);
boolean checkActualMemoryAndValidate(BInteger bInteger, BInteger bInteger2, BInteger bInteger3, BInteger bInteger4, BInteger bInteger5);
boolean checkAvailabilityOfTerminals(int i);
boolean checkPotentialMemoryAndValidate(BInteger bInteger, BInteger bInteger2, BInteger bInteger3, BInteger bInteger4, BInteger bInteger5);
void freeActualDeletedMemory(BInteger bInteger, BInteger bInteger2, BInteger bInteger3, BInteger bInteger4, BInteger bInteger5);
void freePotentialDeletedMemory(BInteger bInteger, BInteger bInteger2, BInteger bInteger3, BInteger bInteger4, BInteger bInteger5);
int getActualFreeMemory(BInteger bInteger);
int getActualUsedMemory(BInteger bInteger);
int getAnalogInputUsage();
int getAnalogOutputUsage();
int getDigitalInputUsage();
int getDigitalOutputUsage();
int getFreeBlockCount();
int getFreeNvCount();
int getFreeNvFieldCount();
int getOrderOfIO(Integer num);
int getPotentialFreeMemory(BInteger bInteger);
byte[] getTerminalAssignmentArray();
boolean isAnalogInputPin(int i);
boolean isAnalogOutputPin(int i);
boolean isDigitalInputPin(int i);
boolean isDigitalOutputPin(int i);
boolean isMiscPin(int i);
void resetMemoryCounters(BInteger bInteger, BInteger bInteger2, BInteger bInteger3);
void setActualMemory(BInteger bInteger, BInteger bInteger2);
void setNvFieldCount(BInteger bInteger);
void setPotentialMemory(BInteger bInteger, BInteger bInteger2);
void setTerminalAssignmentArray(byte[] bArr);
void setUsedBlockCount(BInteger bInteger);
void started() throws Exception;
void unassignTerminals(int[] iArr);
void updateCounters(int[] iArr);
void updateMemoryStructures(BInteger bInteger, BMemoryStructure bMemoryStructure);
}
@@ -0,0 +1,36 @@
<panes version="1">
<save_lib_item default_text="SaveLibItem" type="javax.baja.ui.BWidget" x="200.0" y="200.0" w="370.0" h="480">
<lb_name default_text="Name" type="javax.baja.ui.BLabel" x="20.0" y="13.0" w="90.0" h="20.0"/>
<tf_name default_text="Name" type="com.honeywell.honeywellXL10NextGen.functionalBlocks.ui.BStringTextField" x="100.0" y="13.0" w="170.0" h="20.0"/>
<lb_type default_text="Type" type="javax.baja.ui.BLabel" x="20.0" y="43.0" w="90.0" h="20.0"/>
<edd_type default_text="Type" type="com.honeywell.honeywellXL10NextGen.xl10Controller.ui.BEnumDropDown" x="100.0" y="43.0" w="270.0" h="20.0"/>
<lb_features default_text="Features" type="javax.baja.ui.BLabel" x="380.0" y="43.0" w="50.0" h="20.0"/>
<pane_features default_text="Features" type="javax.baja.ui.list.BCheckList" x="440.0" y="43.0" w="270.0" h="70.0"/>
<lb_device_class default_text="Program-id" type="javax.baja.ui.BLabel" x="380.0" y="13.0" w="90.0" h="20.0"/>
<tf_device_class1 default_text="90" type="javax.baja.ui.BTextField" x="440.0" y="13.0" w="24.0" h="20.0"/>
<tf_device_class2 default_text="00" type="javax.baja.ui.BTextField" x="465.0" y="13.0" w="24.0" h="20.0"/>
<tf_device_class3 default_text="0c" type="javax.baja.ui.BTextField" x="490.0" y="13.0" w="24.0" h="20.0"/>
<tf_device_class4 default_text="52" type="javax.baja.ui.BTextField" x="515.0" y="13.0" w="24.0" h="20.0"/>
<tf_device_class5 default_text="00" type="javax.baja.ui.BTextField" x="540.0" y="13.0" w="24.0" h="20.0"/>
<tf_device_class6 default_text="03" type="javax.baja.ui.BTextField" x="565.0" y="13.0" w="24.0" h="20.0"/>
<tf_device_class7 default_text="04" type="javax.baja.ui.BTextField" x="590.0" y="13.0" w="24.0" h="20.0"/>
<tf_device_class8 default_text="38" type="javax.baja.ui.BTextField" x="615.0" y="13.0" w="24.0" h="20.0"/>
<lb_version default_text="Version" type="javax.baja.ui.BLabel" x="20.0" y="73.0" w="90.0" h="20.0"/>
<tf_version default_text="Version" type="javax.baja.ui.BTextField" x="100.0" y="73.0" w="50.0" h="20.0"/>
<lb_description default_text="Description" type="javax.baja.ui.BLabel" x="20.0" y="103.0" w="90.0" h="20.0"/>
<tf_description default_text="Description" type="javax.baja.ui.pane.BTextEditorPane" x="100.0" y="103.0" w="270.0" h="70.0"/>
<lb_attachment default_text="Attachment" type="javax.baja.ui.BLabel" x="20.0" y="183.0" w="90.0" h="20.0"/>
<tf_attachment default_text="Attachment" type="javax.baja.ui.BTextField" x="100.0" y="183.0" w="170.0" h="20.0"/>
<bt_browse default_text="..." type="javax.baja.ui.BButton" x="275.0" y="165.0" w="17.0" h="18.0"/>
<bt_add default_text="Add" type="javax.baja.ui.BButton" x="250.0" y="246.0" w="55.0" h="20.0"/>
<lt_attachments default_text="Attachments" type="javax.baja.ui.list.BList" x="100.0" y="183.0" w="270.0" h="53.0"/>
<bt_remove default_text="Remove" type="javax.baja.ui.BButton" x="315.0" y="246.0" w="55.0" h="20.0"/>
<lb_note default_text="Note - Type information goes to Controller. Changing it would modify the application." type="javax.baja.ui.BLabel" x="20.0" y="276.0" w="480.0" h="30.0"/>
</save_lib_item>
</panes>
@@ -0,0 +1,21 @@
<panes version="1">
<save_lib_item default_text="SaveLibItem" type="javax.baja.ui.BWidget" x="200.0" y="200.0" w="370.0" h="480">
<lb_name default_text="Name" type="javax.baja.ui.BLabel" x="20.0" y="13.0" w="90.0" h="20.0"/>
<tf_name default_text="Name" type="com.honeywell.honeywellXL10NextGen.functionalBlocks.ui.BStringTextField" x="100.0" y="13.0" w="170.0" h="20.0"/>
<lb_type default_text="Type" type="javax.baja.ui.BLabel" x="20.0" y="43.0" w="90.0" h="20.0"/>
<edd_type default_text="Type" type="com.honeywell.honeywellXL10NextGen.xl10Controller.ui.BEnumDropDown" x="100.0" y="43.0" w="130.0" h="20.0"/>
<lb_version default_text="Version" type="javax.baja.ui.BLabel" x="20.0" y="73.0" w="90.0" h="20.0"/>
<tf_version default_text="Version" type="javax.baja.ui.BTextField" x="100.0" y="73.0" w="50.0" h="20.0"/>
<lb_description default_text="Description" type="javax.baja.ui.BLabel" x="20.0" y="103.0" w="90.0" h="20.0"/>
<tf_description default_text="Description" type="javax.baja.ui.pane.BTextEditorPane" x="100.0" y="103.0" w="270.0" h="70.0"/>
<lb_attachment default_text="Attachment" type="javax.baja.ui.BLabel" x="20.0" y="183.0" w="90.0" h="20.0"/>
<tf_attachment default_text="Attachment" type="javax.baja.ui.BTextField" x="100.0" y="183.0" w="170.0" h="20.0"/>
<bt_browse default_text="..." type="javax.baja.ui.BButton" x="275.0" y="215.0" w="17.0" h="18.0"/>
<bt_add default_text="Add" type="javax.baja.ui.BButton" x="250.0" y="238.0" w="55.0" h="20.0"/>
<lt_attachments default_text="Attachments" type="javax.baja.ui.list.BList" x="100.0" y="183.0" w="270.0" h="53.0"/>
<bt_remove default_text="Remove" type="javax.baja.ui.BButton" x="315.0" y="238.0" w="55.0" h="20.0"/>
<lb_note default_text="Note - Type information goes to Piranha controller. Changing it would modify the application." type="javax.baja.ui.BLabel" x="20.0" y="260.0" w="480.0" h="30.0"/>
</save_lib_item>
</panes>
@@ -0,0 +1,75 @@
<!-- Modified By : Ravi Bharathi .K-->
<!-- Modified For : Added Enum Values for the Point Dialog Drop Down Values-->
<!-- Modified By : Shilpa -->
<!-- Modified For : Added xl10_nci v="2" for the Point Dialog Drop Down Values-->
<!-- Modified By : Shilpa -->
<!-- Modified For : Micro Merge changed the values for app category : To fix SpyderBACnet PCT 775 -->
<!--<?xml version="1.0" encoding="UTF-8"?>-->
<xl10_piranha>
<app_category default="1">
<app_general_sys v="1"/>
<app_vav_single_duct_sys v="2">
<app_vav_single_duct_sys_air_balance v="1"/>
<app_vav_single_duct_sys_reheat_valve_override v="2"/>
<app_vav_single_duct_sys_peripheral_heat_valve_override v="3"/>
<app_vav_single_duct_sys_serial_fan_speed v="4"/>
<app_vav_single_duct_sys_fan_override v="5"/>
<app_vav_single_duct_sys_series_fan v="6"/>
<app_vav_single_duct_sys_parallel_fan v="7"/>
</app_vav_single_duct_sys>
<app_cvahu_single_duct_sys v="3"/>
<app_vav_double_duct_sys v="4">
<app_vav_single_duct_sys_air_balance v="1"/>
<app_vav_single_duct_sys_reheat_valve_override v="2"/>
<app_vav_single_duct_sys_peripheral_heat_valve_override v="3"/>
<app_vav_single_duct_sys_serial_fan_speed v="4"/>
<app_vav_single_duct_sys_fan_override v="5"/>
<app_vav_single_duct_sys_series_fan v="6"/>
<app_vav_single_duct_sys_parallel_fan v="7"/>
</app_vav_double_duct_sys>
<app_vav_flow_tracking_sys v="5"/>
<app_water_source_heat_sys v="6"/>
<app_unit_vent_sys v="7"/>
<app_fcu_sys v="8"/>
<app_cvahu_double_duct_sys v="9"/>
<app_vav_ahu_single_duct_sys v="10"/>
<app_vav_ahu_double_duct_sys v="11"/>
<app_multi_zone_ahu_sys v="12"/>
<app_czs_ahu_sys v="13"/>
<app_czs_zone_terminal v="14"/>
<app_cv_zone_terminal_reheat v="15"/>
<app_cv_zone_terminal_double_duct v="16"/>
</app_category>
<!--
Enum Ranges:
===========
Software Inputs = 0 to 25
* [Dont use Range [2], which has predefined value only for xl10_nci]
Physical Inputs = 26 to 50
Software Outputs = 51 to 75
Physical Outputs = 76 to 100
-->
<software_input default="0">
<xl10_constant v="0" />
<xl10_nvi v="1" />
<xl10_nci v="2" />
<xl10_ai v="26" />
<xl10_di v="27" />
</software_input>
<software_output default="51">
<xl10_nvo v="51" />
<xl10_ao v="76" />
<xl10_do v="77" />
</software_output>
</xl10_piranha>
@@ -0,0 +1,15 @@
package com.honeywell.honeywellXL10NextGen.xl10Controller.ui;
public interface IConfigurationStepContainer {
void finalUnload() throws StepContainerException;
BStep[] getSteps();
void load(int i) throws StepContainerException;
void reset();
void save();
void unload(int i) throws StepContainerException;
}
@@ -0,0 +1,6 @@
package com.honeywell.honeywellXL10NextGen.xl10Controller.ui;
public interface Scaling {
public static final int EXPONENTIAL = 2;
public static final int MULTIPLE = 1;
}
@@ -0,0 +1,28 @@
package com.honeywell.honeywellXL10NextGen.xl10Controller.upload;
public interface INetworkUpload {
public static final int ERR_INVALID_CNFG = 1;
public static final int ERR_INVALID_SCALAR_INDEX_NV = 3;
public static final int ERR_INVALID_UNIT_INDEX_NV = 2;
public static final int ERR_NULL = -1;
public static final int ERR_READ_FAIL = 4;
public static final int ERR_SUCCESS = 0;
public static final int ERR_UNKNOWN_EXP = -2;
public static final int ERR_WRONG_FIELD_TYPE = 5;
void InitializeFileVariables();
int formNetworkObjConfiguration();
boolean initializeReferences();
boolean isObjectExposable(String str);
int readDlsAndScheduleFile();
int readFile();
byte[] readProxyFile(int i);
void setUploadObject(BIUpload bIUpload);
}
@@ -0,0 +1,17 @@
package com.honeywell.honeywellXL10NextGen.xl10Controller.validation;
import javax.baja.naming.BOrd;
public interface ISpyderValidate {
public static final int VALIDATION_FAILED = 2;
public static final int VALIDATION_PENDING = 1;
public static final int VALIDATION_SUCCESS = 0;
void cancelValidate(BOrd bOrd);
int getValidateStatus();
void setValidateStatus(int i);
BOrd validate(BSpyderValidationParameters bSpyderValidationParameters);
}
@@ -0,0 +1,14 @@
package com.honeywell.honeywellXL10NextGen.xl10Controller.validation;
public interface IValidationErrors {
public static final int BLOCK_LIMIT_REACHED = 32;
public static final int ERROR = 65535;
public static final int INVALID_LINK_KNOB = 128;
public static final int INVALID_POINT = 4;
public static final int NO_ERROR = 0;
public static final int NV_LIMIT_REACHED = 16;
public static final int OUT_OF_MEMORY = 1;
public static final int UNASSIGNED_IO = 2;
public static final int UNITS_UNAVAILABLE = 8;
public static final int UNUSED_BLOCK = 64;
}