133 lines
3.1 KiB
Modula-2
133 lines
3.1 KiB
Modula-2
|
|
|
|
|
|
|
|
DB_PREFIX "DB("
|
|
DB_SUFFIX ")"
|
|
ESS_PREFIX "ESS("
|
|
ESS_SUFFIX ")"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# This is the definition file for multitools with an ASCII File
|
|
# as the database
|
|
#
|
|
#
|
|
#=======================================================================
|
|
# REVISIONS
|
|
# Date Name Description of Change
|
|
#
|
|
# 12-Oct-2016 JM Initial Release
|
|
#
|
|
###############################################################################
|
|
|
|
|
|
|
|
#############################################################################
|
|
# The list of DB_ALIAS
|
|
#
|
|
# All the <alias> defined here can be used in the class description at the
|
|
# end of this file in order to define the fields that should appear in
|
|
# the search criteria and search result dialogs within UG for every class.
|
|
#
|
|
# DB_ALIAS <alias>
|
|
# {
|
|
# DB_ID < Attribute Identifier defined in the ASCII Data File >
|
|
# DB_ID_TYPE < Type of the identifier >
|
|
# d _ double
|
|
# i _ integer
|
|
# s _ string
|
|
# OPTIONS "opt1" "opt2 " "opt3"
|
|
# OPTIONS_IDS "val1" "val2" "val3"
|
|
# DIALOG_NAME "label in search criteria dialog"
|
|
# RSET_NAME "label in search result dialog"
|
|
# }
|
|
#
|
|
# OPTIONS and OPTIONS_IDS can be ommitted, If they are specified
|
|
# then a corresponding option menu is created in the Search Criteria Dialog
|
|
# instead of a simple search field.
|
|
#############################################################################
|
|
|
|
# The DB_ALIAS of the library reference. It is mandatory that this DB_ALIAS
|
|
# appears in the alias list
|
|
#
|
|
DB_ALIAS libref
|
|
{
|
|
DB_ID LIBRF
|
|
DB_ID_TYPE s
|
|
DIALOG_NAME "Libref"
|
|
RSET_NAME "Libref"
|
|
}
|
|
|
|
##################################################################
|
|
#
|
|
# General Attributes
|
|
#
|
|
##################################################################
|
|
|
|
DB_ALIAS Type
|
|
{
|
|
DB_ID T
|
|
DB_ID_TYPE i
|
|
}
|
|
|
|
DB_ALIAS SubType
|
|
{
|
|
DB_ID STYPE
|
|
DB_ID_TYPE i
|
|
}
|
|
|
|
DB_ALIAS Seq_no
|
|
{
|
|
DB_ID SEQ
|
|
DB_ID_TYPE i
|
|
}
|
|
|
|
|
|
#######################################################################
|
|
#
|
|
# multi-tool Attributes
|
|
#
|
|
#######################################################################
|
|
|
|
|
|
|
|
|
|
DB_ALIAS CutterID
|
|
{
|
|
DB_ID CUTTERID
|
|
DB_ID_TYPE s
|
|
}
|
|
|
|
DB_ALIAS CutterLibref
|
|
{
|
|
DB_ID CUTTERLIBRF
|
|
DB_ID_TYPE s
|
|
}
|
|
|
|
|
|
###################################################################
|
|
#################################################################
|
|
|
|
|
|
LIBREF libref
|
|
|
|
|
|
#########################################################################
|
|
# The Class Hierarchy #
|
|
#########################################################################
|
|
|
|
CLASS MULTITOOL
|
|
{
|
|
TYPE QRY
|
|
QUERY "[DB(libref)] != [0]"
|
|
DIALOG libref
|
|
RSET libref Type SubType
|
|
UI_NAME "Multi_tool"
|
|
}
|
|
|