- GenericDepLoop(String, String, String, int, int, int, String, String) - Method in interface research.ch.cern.unicos.utilities.ISpecFileTemplate
-
This function detects link between an object name in another object table (targetDevice)
in a particular field (LinkedField).
If a link is detected then it will replace in the string FTextWithLink the fields between #
with the correspondent value in the target device and returns the string to the function.
If several links are found, there are three different options:
optionDuplicate=0 then it will concatenate the several strings;
optionDuplicate=1 then it will keep the first replaced string;
optionDuplicate=2 then it will keep the last replaced string;
If no link is detected then, it will return the string FTextNoLink.
- getAbsolutePath(String) - Static method in class research.ch.cern.unicos.utilities.AbsolutePathBuilder
-
Build an absolute path from the relative path provided as parameter.
- getAllDeviceTypeInstances() - Method in interface research.ch.cern.unicos.utilities.IDeviceTypeTemplate
-
Method used to get a vector containing all the instances of the device type.
- getAllDeviceTypes() - Method in interface research.ch.cern.unicos.utilities.ISpecFileTemplate
-
Get all the device types available in the specs file.
- getAllDeviceTypesString() - Method in interface research.ch.cern.unicos.utilities.ISpecFileTemplate
-
Get a String containing all the device type names separated by the character ','.
- getApplicationName() - Method in interface research.ch.cern.unicos.plugins.interfaces.IGenerationPluginTemplate
-
Get the application name from the UnicosApplication.
- getApplicationName() - Method in interface research.ch.cern.unicos.utilities.ISpecDocumentation
-
Get the application name.
- getApplicationPathParameter(String) - Static method in class research.ch.cern.unicos.utilities.AbsolutePathBuilder
-
Method used to get the absolute path of a UnicosApplication.xml application PathParameter.
- getAttributeData(String) - Method in interface research.ch.cern.unicos.utilities.IDeviceInstanceTemplate
-
Returns the data associated with the instance attribute.
- getDescription() - Method in interface research.ch.cern.unicos.utilities.IDeviceTypeTemplate
-
Get the device type description as specified in the device type sheet.
- getDeviceType() - Method in interface research.ch.cern.unicos.utilities.IDeviceInstanceTemplate
-
Method used to get the device type of the current instance.
- getDeviceType(String) - Method in interface research.ch.cern.unicos.utilities.ISpecFileTemplate
-
Get a device type from the specs file.
- getDeviceTypeInstance(int) - Method in interface research.ch.cern.unicos.utilities.IDeviceTypeTemplate
-
Method used to get a device type instance by its instance number.
- getDeviceTypeName() - Method in interface research.ch.cern.unicos.utilities.IDeviceInstanceTemplate
-
Method used to get the device type name of the current instance.
- getDeviceTypeName() - Method in interface research.ch.cern.unicos.utilities.IDeviceTypeTemplate
-
Method used to get the device type name.
- getFaqLink() - Method in interface research.ch.cern.unicos.utilities.ISpecDocumentation
-
Get the FAQ URL.
- getInstanceNumber() - Method in interface research.ch.cern.unicos.utilities.IDeviceInstanceTemplate
-
Get the number of the current instance as defined in the specifications file.
- getLinkedExpertName(String) - Method in interface research.ch.cern.unicos.plugins.interfaces.IGenerationPluginTemplate
-
Function.
- getObjectDescriptionsLink() - Method in interface research.ch.cern.unicos.utilities.ISpecDocumentation
-
Get the object descriptions URL.
- getObjectType() - Method in interface research.ch.cern.unicos.utilities.IDeviceTypeTemplate
-
Method used to get the ObjectTypeFamily from the device type definition.
- getPlcManufacturer() - Method in interface research.ch.cern.unicos.plugins.interfaces.IGenerationPluginTemplate
-
Get the PLC manufacturer from the PLC declarations
- getPLCMemoryMapper() - Method in interface research.ch.cern.unicos.cpc.interfaces.ISCADAPlugin
-
Get the PLC memory mapper instance.
- getPlcName() - Method in interface research.ch.cern.unicos.plugins.interfaces.IGenerationPluginTemplate
-
Get the PLC name as defined in the UnicosApplication.xml
- getProjectDescription() - Method in interface research.ch.cern.unicos.utilities.ISpecDocumentation
-
Get the project description.
- getProjectDocumentation() - Method in interface research.ch.cern.unicos.utilities.ISpecFileTemplate
-
Get the project documentation data from the specs file.
- getProjectName() - Method in interface research.ch.cern.unicos.utilities.ISpecDocumentation
-
Get the project name.
- getProjectOwner() - Method in interface research.ch.cern.unicos.utilities.ISpecDocumentation
-
Get the project owner alias.
- getResourceAddress(String) - Method in interface research.ch.cern.unicos.cpc.interfaces.ISCADAPlugin
-
For Siemens only: get the DB number for a given resource name, e.g.
DB_WINCCOA_Address = self.thePlugin.getResourceAddress("DB_WINCCOA")
thePlcDsIpAddress = "DB"+str(DB_WINCCOA_Address)+".DBD0"
- getResourcesName() - Method in interface research.ch.cern.unicos.utilities.ISpecFileTemplate
-
Get the name of the resources package used to build the specs file.
- getResourcesVersion() - Method in interface research.ch.cern.unicos.utilities.ISpecFileTemplate
-
Get the version of the resources package used to build the specs file.
- getSpecChanges() - Method in interface research.ch.cern.unicos.utilities.ISpecDocumentation
-
Get the list of changes in the specs.
- getSpecificationAttributes() - Method in interface research.ch.cern.unicos.utilities.IDeviceTypeTemplate
-
Get the list of specification attributes (e.g.: DeviceIdentification:Name,
DeviceIdentification:Expert Name, ...)
- getSpecsPath() - Method in interface research.ch.cern.unicos.utilities.ISpecFileTemplate
-
Return the path to the specs file.
- getSpecsVersion() - Method in interface research.ch.cern.unicos.utilities.ISpecDocumentation
-
Get the specs version.
- getString(File) - Static method in class research.ch.cern.unicos.utilities.ConvertToString
-
Get the content of a File as a String.
- getString(String) - Static method in class research.ch.cern.unicos.utilities.ConvertToString
-
Get the content of a file as a String.
- getString(InputStream) - Static method in class research.ch.cern.unicos.utilities.ConvertToString
-
Get the content of an InputStream as a String.
- getTechnicalPathParameter(String) - Static method in class research.ch.cern.unicos.utilities.AbsolutePathBuilder
-
Method used to get the absolute path of a UnicosApplication.xml technical PathParameter.
- getUnicosProject() - Method in interface research.ch.cern.unicos.plugins.interfaces.IGenerationPluginTemplate
-
Provide access to the root of the input XML data (specs file instance)
- writeConfigInUABLog(String) - Method in interface research.ch.cern.unicos.plugins.interfaces.ILogWriterTemplate
-
Write a CONFIG message in UAB Log window.
- writeDebugInUABLog(String) - Method in interface research.ch.cern.unicos.plugins.interfaces.ILogWriterTemplate
-
Write a DEBUG message in UAB Log window.
- writeErrorInUABLog(String) - Method in interface research.ch.cern.unicos.plugins.interfaces.ILogWriterTemplate
-
Write a SEVERE message in UAB Log window.
- writeErrorWithStackTrace(String, Exception) - Method in interface research.ch.cern.unicos.plugins.interfaces.ILogWriterTemplate
-
Used to write an ERROR message in UAB Log window and the stack trace that caused the error.
- writeErrorWithStackTrace(String, Error) - Method in interface research.ch.cern.unicos.plugins.interfaces.ILogWriterTemplate
-
Used to write an ERROR message in UAB Log window and the stack trace that caused the error.
- writeFile(String, String) - Method in interface research.ch.cern.unicos.plugins.interfaces.IGenerationPluginTemplate
-
Write a file in the plug-in output folder.
- writeFineInUABLog(String) - Method in interface research.ch.cern.unicos.plugins.interfaces.ILogWriterTemplate
-
Write a FINE message in UAB Log window.
- writeInfoInUABLog(String) - Method in interface research.ch.cern.unicos.plugins.interfaces.ILogWriterTemplate
-
Used to write an INFO message in UAB Log window.
- writeInstanceInfo(String) - Method in interface research.ch.cern.unicos.cpc.interfaces.ISCADAPlugin
-
Used to write an instance declaration in the WinCC O.A.
- writeInUABLog(Level, String, UserReportGenerator.type) - Method in interface research.ch.cern.unicos.plugins.interfaces.ILogWriterTemplate
-
Used to write a message in UAB Log window
- writeProgram(String) - Method in interface research.ch.cern.unicos.cpc.interfaces.IUnityLogicTemplateFunctions
-
Used to write a part of the user logic application.
- writeVariable(String) - Method in interface research.ch.cern.unicos.cpc.interfaces.IUnityLogicTemplateFunctions
-
Used to write a variable in the dedicated buffer.
- writeWarningInUABLog(String) - Method in interface research.ch.cern.unicos.plugins.interfaces.ILogWriterTemplate
-
Used to write a WARNING message in UAB Log window.
- writeXmlFile(String, String) - Method in interface research.ch.cern.unicos.plugins.interfaces.IGenerationPluginTemplate
-
Write an XML file in the plug-in output folder.