1
0
Files
campro_tool_library/tool/ascii/assembly_ascii.def
2026-02-22 14:16:24 +01:00

147 lines
4.0 KiB
Modula-2

################################################################################
# This is the definition file for tool assembly with an ASCII File as the
# database
#
#=======================================================================
#
DB_PREFIX "DB("
DB_SUFFIX ")"
ESS_PREFIX "ESS("
ESS_SUFFIX ")"
#############################################################################
# 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"
}
DB_ALIAS Description
{
DB_ID DESCR
DB_ID_TYPE s
DIALOG_NAME "Description"
RSET_NAME "Description"
}
DB_ALIAS Toolref
{
DB_ID TOOLREF
DB_ID_TYPE s
DIALOG_NAME "Tool Reference"
RSET_NAME "Tool Reference"
}
DB_ALIAS ToolType
{
DB_ID TOOLT
DB_ID_TYPE s
DIALOG_NAME "Tool Type"
RSET_NAME "Tool Type"
}
DB_ALIAS ToolSubtype
{
DB_ID TOOLST
DB_ID_TYPE s
DIALOG_NAME "Tool Subtype"
RSET_NAME "Tool Subtype"
}
DB_ALIAS HolderRef
{
DB_ID HOLDREF
DB_ID_TYPE s
DIALOG_NAME "Holder Reference"
RSET_NAME "Holder Reference"
}
DB_ALIAS ShankRef
{
DB_ID SHANKREF
DB_ID_TYPE s
DIALOG_NAME "Shank Reference"
RSET_NAME "Shank Reference"
}
DB_ALIAS ZMount
{
DB_ID ZMOUNT
DB_ID_TYPE d
DIALOG_NAME "(Z) ZMount"
RSET_NAME "(Z) ZMount"
}
DB_ALIAS ToolNum
{
DB_ID TLNUM
DB_ID_TYPE i
DIALOG_NAME "Tool Number"
RSET_NAME "Tool Number"
}
DB_ALIAS AdjReg
{
DB_ID ADJREG
DB_ID_TYPE i
DIALOG_NAME "Adjust Register"
RSET_NAME "Adjust Register"
}
DB_ALIAS CutcomReg
{
DB_ID CUTCOMREG
DB_ID_TYPE i
DIALOG_NAME "Cutcom Register"
RSET_NAME "Cutcom Register"
}
###################################################################
#################################################################
LIBREF libref
#########################################################################
# The Class Hierarchy #
#########################################################################
CLASS ASSEMBLY
{
TYPE QRY
QUERY "[DB(libref)] != [0]"
DIALOG libref Description Toolref ToolType ToolSubtype HolderRef ShankRef ZMount ToolNum AdjReg CutcomReg
RSET libref Description Toolref ToolType ToolSubtype HolderRef ShankRef ZMount ToolNum AdjReg CutcomReg
}