Initial commit
This commit is contained in:
162
fixture_automation/ascii/dbc_fixture_ascii.def
Normal file
162
fixture_automation/ascii/dbc_fixture_ascii.def
Normal file
@@ -0,0 +1,162 @@
|
||||
################################################################################
|
||||
# This is the definition file for fixture 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
|
||||
# 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 Type
|
||||
{
|
||||
DB_ID T
|
||||
DB_ID_TYPE i
|
||||
}
|
||||
|
||||
DB_ALIAS Description
|
||||
{
|
||||
DB_ID DESCR
|
||||
DB_ID_TYPE s
|
||||
DIALOG_NAME "Description"
|
||||
RSET_NAME "Description"
|
||||
}
|
||||
|
||||
# For Vises
|
||||
|
||||
DB_ALIAS JawWidth
|
||||
{
|
||||
DB_ID JAWWIDTH
|
||||
DB_ID_TYPE d
|
||||
DIALOG_NAME "Jaw Width"
|
||||
RSET_NAME "Jaw Width"
|
||||
}
|
||||
|
||||
DB_ALIAS MinJawHeight
|
||||
{
|
||||
DB_ID MINJAWHGHT
|
||||
DB_ID_TYPE d
|
||||
DIALOG_NAME "Min. Jaw Height"
|
||||
RSET_NAME "Min. Jaw Height"
|
||||
}
|
||||
|
||||
DB_ALIAS MaxJawHeight
|
||||
{
|
||||
DB_ID MAXJAWHGHT
|
||||
DB_ID_TYPE d
|
||||
DIALOG_NAME "Max. Jaw Height"
|
||||
RSET_NAME "Max. Jaw Height"
|
||||
}
|
||||
|
||||
DB_ALIAS MinClampWidth
|
||||
{
|
||||
DB_ID MINCLMPWIDTH
|
||||
DB_ID_TYPE d
|
||||
DIALOG_NAME "Min. Clamping Width"
|
||||
RSET_NAME "Min. Clamping Width"
|
||||
}
|
||||
|
||||
DB_ALIAS MaxClampWidth
|
||||
{
|
||||
DB_ID MAXCLMPWIDTH
|
||||
DB_ID_TYPE d
|
||||
DIALOG_NAME "Max. Clamping Width"
|
||||
RSET_NAME "Max. Clamping Width"
|
||||
}
|
||||
|
||||
# For Chucks
|
||||
|
||||
DB_ALIAS Diameter
|
||||
{
|
||||
DB_ID DIAMETER
|
||||
DB_ID_TYPE d
|
||||
DIALOG_NAME "Chuck Diameter"
|
||||
RSET_NAME "Chuck Diameter"
|
||||
}
|
||||
|
||||
DB_ALIAS MinClampDiameter
|
||||
{
|
||||
DB_ID MINCLMPDIA
|
||||
DB_ID_TYPE d
|
||||
DIALOG_NAME "Min. Clamping Diameter"
|
||||
RSET_NAME "Min. Clamping Diameter"
|
||||
}
|
||||
|
||||
DB_ALIAS MaxClampDiameter
|
||||
{
|
||||
DB_ID MAXCLMPDIA
|
||||
DB_ID_TYPE d
|
||||
DIALOG_NAME "Max. Clamping Diameter"
|
||||
RSET_NAME "Max. Clamping Diameter"
|
||||
}
|
||||
|
||||
#########################################################################
|
||||
#########################################################################
|
||||
|
||||
|
||||
LIBREF libref
|
||||
|
||||
|
||||
#########################################################################
|
||||
# The Class Hierarchy #
|
||||
#########################################################################
|
||||
CLASS Fixture
|
||||
{
|
||||
TYPE QRY
|
||||
QUERY "[DB(Type)] != [0]"
|
||||
DIALOG libref
|
||||
RSET libref Type Description
|
||||
|
||||
CLASS Vise
|
||||
{
|
||||
TYPE QRY
|
||||
QUERY "[DB(Type)] == [1]"
|
||||
DIALOG libref Description JawWidth MinJawHeight MaxJawHeight MinClampWidth MaxClampWidth
|
||||
RSET libref Description JawWidth MinJawHeight MaxJawHeight MinClampWidth MaxClampWidth
|
||||
}
|
||||
|
||||
CLASS Chuck
|
||||
{
|
||||
TYPE QRY
|
||||
QUERY "[DB(Type)] == [2]"
|
||||
DIALOG libref Description Diameter MinClampDiameter MaxClampDiameter
|
||||
RSET libref Description Diameter MinClampDiameter MaxClampDiameter
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user