/// =========================================================================== /// PIB DDS BILL OF MATERIAL DEFINITIONS /// =========================================================================== /// /// File: pib_dds_bom.idl /// /// Copyright � 2013 and beyond by Consequor Consulting AG, Germany. /// All rights reserved. /// /// DO NOT COPY, USE, DISTRIBUTE IN ANY FORM WITHOUT WRITTEN /// PERMISSION BY CONSEQUOR CONSULTING AG. /// /// --------------------------------------------------------------------------- /// /// Usable with RTI's rtiddsgen. For more information on rtiddsgen see /// /// --------------------------------------------------------------------------- /// $Header$ /// /// $Log$ /// --------------------------------------------------------------------------- #if !defined( __PIB_DDS_BOM_IDL__ ) #define __PIB_DDS_BOM_IDL__ #include "pib_dds_idl_version_info.idl" #include "pib_dds_base.idl" #include "pib_dds_item.idl" #include "pib_dds_uom.idl" module pib_dds { struct bom_head { uuid uuid; //@key uuid item_uuid; // relation }; const unsigned long BOM_POS_MAX_POS_NR_LEN = 128; struct bom_pos { uuid uuid; //@key wstring< BOM_POS_MAX_POS_NR_LEN > pos_nr; quantity amount; uuid item_uuid; // relation multi_lang_text comment; }; const unsigned long BOM_MAX_NR_BOM_POS = 65535; struct bom { bom_head head; //@key sequence< bom_pos, BOM_MAX_NR_BOM_POS> bom_pos; }; }; #endif