Cmodel@@BTools@Brelease4.5B FlowItemBin@objectBstored@@BFlowItemBinsubnode@BFlowItemBinsubnode@BFlowItemBinsubnode@@Item0_NULLNAMEB FlexsimBox@r FlexsimBox,@object@B itemtype@Bvisual@@Bcolor@a@Bred@A)Z?Bgreen@A)Z?Bblue@A)Z?Bshape@ufs3d\FlowItem.3DSB shapeindex@v?B imagebase@s***Bimageindexbase@tB noondraw@k?B nopredraw@l?B spatial@@ B spatialx@MB spatialy@NB spatialz@OB spatialsx@PQ?B spatialsy@QQ?B spatialsz@Rףp= ?B spatialrx@SB spatialry@TB spatialrz@UB centroid@e?Bspecial@@B guifocus@|%VIEW:/standardviews/ObjectPropertiesBguifocusclass@}VIEW:/pages/FlowItemParametersBstats_lastmovetime@IBstats_creationtime@JBlabels@@BBasic@rBasic,@objectB itemtype@Bvisual@@Bcolor@a@Bred@?Bgreen@?Bblue@?B imageobject@qbitmaps\flowitempicture.bmpBimageindexobject@rA@B imagebase@s***Bimageindexbase@tB noondraw@k?B nopredraw@l?B billboard@jB spatial@@ B spatialx@MB spatialy@NB spatialz@OB spatialsx@P?B spatialsy@Q?B spatialsz@R?B spatialrx@SB spatialry@TB spatialrz@UB centroid@e?Bspecial@@B guifocus@|%VIEW:/standardviews/ObjectPropertiesBguifocusclass@}VIEW:/pages/FlowItemParametersBstats_lastmovetime@IBstats_creationtime@JBlabels@BCan@rCan,@objectB itemtype@Bvisual@@Bcolor@a@Bred@?Bgreen@?Bblue@?B imageobject@qfs3d\BBpepsican.bmpBimageindexobject@rA@B imagebase@s***Bimageindexbase@tB noondraw@k?B nopredraw@l?B billboard@jB spatial@@ B spatialx@MB spatialy@NB spatialz@OB spatialsx@P?B spatialsy@Q?B spatialsz@R?B spatialrx@SB spatialry@TB spatialrz@UB centroid@e?Bspecial@@B guifocus@|%VIEW:/standardviews/ObjectPropertiesBguifocusclass@}VIEW:/pages/FlowItemParametersBstats_lastmovetime@IBstats_creationtime@JBlabels@BSphere@rSphere,@objectB itemtype@Bvisual@@Bcolor@a@Bred@?Bgreen@?Bblue@?B imageobject@qfs3d\BBsphere.bmpBimageindexobject@rB@B imagebase@s***Bimageindexbase@tB noondraw@k?B nopredraw@l?B billboard@j?B spatial@@ B spatialx@MB spatialy@NB spatialz@OB spatialsx@P?B spatialsy@Q?B spatialsz@R?B spatialrx@SB spatialry@TB spatialrz@UB centroid@e?Bspecial@@B guifocus@|%VIEW:/standardviews/ObjectPropertiesBguifocusclass@}VIEW:/pages/FlowItemParametersBstats_lastmovetime@IBstats_creationtime@JBlabels@BTextured Colored Box@rTextured Colored Box,@objectB itemtype@Bvisual@@ Bcolor@a@Bred@Rr/0?Bgreen@Rr/0?Bblue@Rr/0?Bshape@ufs3d\texturebox.wrlB shapeindex@v@B imageobject@q***Bimageindexobject@rB imagebase@s***Bimageindexbase@tB noondraw@k?B nopredraw@l?B spatial@@ B spatialx@MB spatialy@NB spatialz@OB spatialsx@PQ?B spatialsy@QQ?B spatialsz@Rףp= ?B spatialrx@SB spatialry@TB spatialrz@UB centroid@e?B special@@B guifocus@|%VIEW:/standardviews/ObjectPropertiesBguifocusclass@}VIEW:/pages/FlowItemParametersBstats_lastmovetime@IBstats_creationtime@JBlabels@BPallet@rPallet-@objectB itemtype@B behaviour@@Beventfunctions@@B OnReceiveD@Knodefunction(node("/project/exec/globals/nodefunctions/palletentry"),c,i);@Bd/project/exec/globals/nodefunctions/palletentrysefuonjPpHo@4Bvisual@@Bcolor@a@Bred@2?Bgreen@88?Bblue@4?Bshape@ufs3d\FlowItem\Pallet.wrlB shapeindex@v@B imagebase@s***Bimageindexbase@tB nochildscale@_?B noondraw@k?B nopredraw@l?B spatial@@ B spatialx@MB spatialy@NB spatialz@OB spatialsx@P?B spatialsy@Q?B spatialsz@Rp= ף?B spatialrx@SB spatialry@TB spatialrz@UB centroid@e?Bspecial@@B guifocus@|%VIEW:/standardviews/ObjectPropertiesBguifocusclass@}VIEW:/pages/FlowItemParametersBstats_lastmovetime@IBstats_creationtime@JBlabels@BTote@rTote,@objectB itemtype@Bvisual@@Bcolor@a@Bred@9̗?Bgreen@?Bblue@2?Bshape@u!fs3d\FlowItem\Product - Tote.3DSB shapeindex@v@B imagebase@s***Bimageindexbase@tB noondraw@k?B nopredraw@l?Bspatial@@B spatialx@MB spatialy@NB spatialz@OB spatialsx@Pffffff?B spatialsy@Qffffff?B spatialsz@R?B spatialrx@SB spatialry@TB spatialrz@UB centroid@e?Boffsetx@VBoffsety@WBoffsetz@XB offsetsx@\?B offsetsy@]?B offsetsz@^?B offsetrx@YB offsetry@ZB offsetrz@[Bspecial@@B guifocus@|%VIEW:/standardviews/ObjectPropertiesBguifocusclass@}VIEW:/pages/FlowItemParametersBstats_lastmovetime@IBstats_creationtime@JBlabels@BTextured Colored Cylinder@rTextured Colored Cylinder,@objectB itemtype@Bvisual@@ Bcolor@a@Bred@3ۃ?Bgreen@3ۃ?Bblue@3ۃ?Bshape@ufs3d\texturecyl.wrlB shapeindex@v@B imageobject@q***Bimageindexobject@rB imagebase@s***Bimageindexbase@tB noondraw@k?B nopredraw@l?B spatial@@ B spatialx@MB spatialy@NB spatialz@OB spatialsx@Pffffff?B spatialsy@Qffffff?B spatialsz@R?B spatialrx@SB spatialry@TB spatialrz@UB centroid@e?Bspecial@@B guifocus@|%VIEW:/standardviews/ObjectPropertiesBguifocusclass@}VIEW:/pages/FlowItemParametersBstats_lastmovetime@IBstats_creationtime@JBlabels@BTextured Colored Sphere@rTextured Colored Sphere,@objectB itemtype@Bvisual@@ Bcolor@a@Bred@3ۃ?Bgreen@3ۃ?Bblue@3ۃ?Bshape@ufs3d\texturesphere.wrlB shapeindex@v@B imageobject@q***Bimageindexobject@rB imagebase@s***Bimageindexbase@tB noondraw@k?B nopredraw@l?B spatial@@ B spatialx@MB spatialy@NB spatialz@OB spatialsx@P?B spatialsy@Q?B spatialsz@R?B spatialrx@SB spatialry@TB spatialrz@UB centroid@e?Bspecial@@B guifocus@|%VIEW:/standardviews/ObjectPropertiesBguifocusclass@}VIEW:/pages/FlowItemParametersBstats_lastmovetime@IBstats_creationtime@JBlabels@BPerson@rPerson,@objectB itemtype@Bvisual@@Bcolor@a@Bred@?Bgreen@?Bblue@Bshape@ufs3d\Operator.3DSB shapeindex@v@B imagebase@s***Bimageindexbase@tB noondraw@k?B nopredraw@l?B spatial@@B spatialx@MQ?B spatialy@N)\(B spatialz@OB spatialsx@P?B spatialsy@Q(\?B spatialsz@R{Gz?B spatialrx@SB spatialry@TB spatialrz@UBoffsetx@V?Boffsety@W?Boffsetz@XB offsetsx@\@B offsetsy@]?B offsetsz@^@33@B offsetrx@YVB offsetry@ZB offsetrz@[VB centroid@e?Bspecial@@B guifocus@|%VIEW:/standardviews/ObjectPropertiesBguifocusclass@}VIEW:/pages/FlowItemParametersBstats_lastmovetime@IBstats_creationtime@JBlabels@BLoaded Pallet@rLoaded Pallet,@objectB itemtype@Bvisual@@Bcolor@a@Bred@A)Z?Bgreen@A)Z?Bblue@A)Z?Bshape@u.fs3d\FlowItem\Loaded Pallet\Loaded Pallet.3DSB shapeindex@v8@B imagebase@s***Bimageindexbase@tB noondraw@k?B nopredraw@l?Bspatial@@B spatialx@M?B spatialy@N{Gz?B spatialz@OB spatialsx@P?B spatialsy@Q?B spatialsz@R?B spatialrx@SB spatialry@TB spatialrz@UB centroid@e?Boffsetx@V?Boffsety@W?Boffsetz@XB offsetsx@\?B offsetsy@]?B offsetsz@^(\?B offsetrx@YB offsetry@ZB offsetrz@[Bspecial@@B guifocus@|%VIEW:/standardviews/ObjectPropertiesBguifocusclass@}VIEW:/pages/FlowItemParametersBstats_lastmovetime@IBstats_creationtime@JBlabels@@BTextured Colored Plane@rTextured Colored Plane,@objectB itemtype@Bvisual@@ Bcolor@a@Bred@3ۃ?Bgreen@3ۃ?Bblue@3ۃ?Bshape@ufs3d\textureplaneup.wrlB shapeindex@v9@B imageobject@q***Bimageindexobject@rB imagebase@s***Bimageindexbase@tB noondraw@k?B nopredraw@l?B spatial@@ B spatialx@MB spatialy@NB spatialz@OB spatialsx@PQ?B spatialsy@QQ?B spatialsz@R?B spatialrx@SB spatialry@TB spatialrz@UB centroid@e?Bspecial@@B guifocus@|%VIEW:/standardviews/ObjectPropertiesBguifocusclass@}VIEW:/pages/FlowItemParametersBstats_lastmovetime@IBstats_creationtime@JBlabels@B BasicSphere@r BasicSphere,@objectB itemtype@Bvisual@@Bcolor@a@Bred@A)Z?Bgreen@A)Z?Bblue@A)Z?B shapeindex@vBimageindexobject@rB noondraw@k?B nopredraw@l?B spatial@@ B spatialx@MB spatialy@NB spatialz@OB spatialsx@P?B spatialsy@Q?B spatialsz@R?B spatialrx@SB spatialry@TB spatialrz@UB centroid@e?Bspecial@@B guifocus@|%VIEW:/standardviews/ObjectPropertiesBguifocusclass@}VIEW:/pages/FlowItemParametersBstats_lastmovetime@IBstats_creationtime@JBlabels@@BBasicCylinder@rBasicCylinder,@objectB itemtype@Bvisual@@Bcolor@a@Bred@A)Z?Bgreen@A)Z?Bblue@A)Z?B shapeindex@vBimageindexobject@rB noondraw@k?B nopredraw@l?B spatial@@ B spatialx@MB spatialy@NB spatialz@OB spatialsx@P?B spatialsy@Q?B spatialsz@R?B spatialrx@SB spatialry@TB spatialrz@UB centroid@e?Bspecial@@B guifocus@|%VIEW:/standardviews/ObjectPropertiesBguifocusclass@}VIEW:/pages/FlowItemParametersBstats_lastmovetime@IBstats_creationtime@JBlabels@@B BasicCone@r BasicCone,@objectB itemtype@Bvisual@@Bcolor@a@Bred@A)Z?Bgreen@A)Z?Bblue@A)Z?B shapeindex@vBimageindexobject@rB noondraw@k?B nopredraw@l?B spatial@@ B spatialx@MB spatialy@NB spatialz@OB spatialsx@P?B spatialsy@Q?B spatialsz@R?B spatialrx@SB spatialry@TB spatialrz@UB centroid@e?Bspecial@@B guifocus@|%VIEW:/standardviews/ObjectPropertiesBguifocusclass@}VIEW:/pages/FlowItemParametersBstats_lastmovetime@IBstats_creationtime@JBlabels@@B BasicBox@r BasicBox,@objectB itemtype@Bvisual@@Bcolor@a@Bred@A)Z?Bgreen@A)Z?Bblue@A)Z?B shapeindex@vBimageindexobject@rB noondraw@k?B nopredraw@l?B spatial@@ B spatialx@MB spatialy@NB spatialz@OB spatialsx@P?B spatialsy@Q?B spatialsz@R?B spatialrx@SB spatialry@TB spatialrz@UB centroid@e?Bspecial@@B guifocus@|%VIEW:/standardviews/ObjectPropertiesBguifocusclass@}VIEW:/pages/FlowItemParametersBstats_lastmovetime@IBstats_creationtime@JBlabels@@BTaskExecuterFlowItem@BTaskExecuterFlowItem@objectB classes@@B Operator@AB TaskExecuter@]AB Dispatcher@@[ABFlexsimObject@/ABsuperclasses@@B TaskExecuter@@ߒAB Dispatcher@@[ABFlexsimObject@/AB variables@@>Bactivetasksequence@B maxcontent@?B loadtime@Etreenode item = parnode(1); treenode current = ownerobject(c); treenode station = parnode(2); /**By Expression*/ /** \nExpression: */ double value = /**/0/**/; /** \n\nNote: The expression may be a constant value or the result of a command (getitemtype(item), getlabelnum(item, "labelname"), etc).*/ return value;@B loadtrigger@btreenode item = parnode(1); treenode current = ownerobject(c); treenode station = parnode(2); @B unloadtime@Etreenode item = parnode(1); treenode current = ownerobject(c); treenode station = parnode(2); /**By Expression*/ /** \nExpression: */ double value = /**/0/**/; /** \n\nNote: The expression may be a constant value or the result of a command (getitemtype(item), getlabelnum(item, "labelname"), etc).*/ return value;@Bunloadtrigger@btreenode item = parnode(1); treenode current = ownerobject(c); treenode station = parnode(2); @B maxspeed@@B acceleration@?B deceleration@?B navigator@@Boldbreakrequirement@B breakto@Ftreenode activets = parnode(1); treenode current = ownerobject(c); @B travelinfo@@B travelstartx@B travelstarty@B travelstartz@Btraveldistance@Btraveldirection@B travelendx@B travelendy@B travelendz@B travelacc@B traveldec@Btravelstarttime@~Btravelendtime@Btraveltimealpha@Btraveltimebeta@B travelvpeak@B travelvmax@B travelvstart@B travelvend@Bmodifyrotation@?B useoffsets@?Boffsettingnow@Boffsetbegintime@Boffsettotaltime@B offsetlocx@B offsetlocy@B offsetlocz@B offsetbeginx@B offsetbeginy@B offsetbeginz@Boffsetbeginxrot@Boffsetbeginyrot@Boffsetbeginzrot@B loadedspeed@@B emptyspeed@@Bcurloadunloadtime@Blastupdatedspeed@B travelvstart@B travelvend@Blastspeedupdatetime@Bcollisiontrigger@treenode thisobject=ownerobject(c); treenode otherobject=parnode(1); treenode thissphere=parnode(2); treenode othersphere=parnode(3); Bcollcheckinterval@?Bdrawcollspheres@B incollision@Bcollcheckstate@Btotaltraveldist@B kinematics@Bflipthreshold@f@Bpassimmediately@@Bpassto@#treenode tasksequence = parnode(1); treenode current = ownerobject(c); /**First Available*/ /** \nIf there are no objects currently available, then queue the tasksequence up using the Queue Strategy and wait until someone connected to its output ports becomes available.*/ return 0;@Btasksequencequeue@Bqueuestrategy@mtreenode tasksequence = parnode(1); /**Sort by TaskSequence Priority*/ return getpriority(tasksequence);@B4/exedefupall? l (=Blastrecursetime@Blastrecurseinvolved@Bcoordinatedtasks@Bonresourceavailable@treenode current = ownerobject(c); int port = parval(1); treenode resource = parnode(2); treenode nextts = parnode(3); treenode lastts = parnode(4); Bmessagetrigger@%treenode current = ownerobject(c); @Bondrawtrigger@treenode current = ownerobject(c); treenode view = parnode(1); // If this function returns a true, the default draw code of the object will not be executed. B timetables@B networknodes@Btimeoflaststop@B nrofstops@Bstatebeforestop@Bcollisionspheres@Bcollisionobjects@Bresettrigger@%treenode current = ownerobject(c); B savedstate@Bresetposition@B behaviour@@Beventfunctions@@B OnReset@@B(Bcppfunctions@@Bcppvariables@@Bdouble offsetloc[3] @Bfsnode* activetask@Bdouble* protectlocs@Bunsigned char portinfoflag@Bvisual@@ Bcolor@a@Bred@?Bgreen@?Bblue@Bshape@ufs3d\Operator.3DSB shapeindex@v@Bpicture@c bitmaps\TaskExecuterpicture.bmpB imageobject@q***Bimageindexobject@rB imagebase@s***Bimageindexbase@tB nochildscale@_?Bframe@Bspecial@@Btitle@dObjectB description@bB guifocus@|%VIEW:/standardviews/ObjectPropertiesBguifocusclass@}#VIEW:/pages/TaskExecuterParametersBreportvariables@@B maxcontent@B loadtime@B loadtrigger@B unloadtime@Bunloadtrigger@B maxspeed@B acceleration@B deceleration@Bbreakto@B useoffsets@B loadedspeed@B emptyspeed@Bpassimmediately@Bpassto@Bqueuestrategy@Bmessagetrigger@Bondrawtrigger@Bcollisionspheres@Bcollisionobjects@B resettrigger@B spatial@@B spatialx@MB spatialy@NB spatialz@OB spatialsx@P?B spatialsy@Q(\?B spatialsz@R{Gz?B spatialrx@SB spatialry@TB spatialrz@UB offsetx@V?Boffsety@W?Boffsetz@XB offsetsx@\@B offsetsy@]?B offsetsz@^333333@B offsetrx@YVB offsetry@ZB offsetrz@[VB centroid@e?B ignoredraw@fB displaygroup@ standardBdisplaygrouplist@@B standard@Bmobileresource@B objectinfo@@B Output: 0@BStatus: NULL@Blabels@@B connections@@Bconnectionsin@ @Bconnectionsout@ @Bconnectionscenter@ @Bevents@ @Bstats@@Bstate@@Bstate_current@,@Bstate_changetime@B state_since@-Bstate_profile@.State@2Bidle@B processing@Bbusy@Bblocked@B generating@Bempty@B collecting@B releasing@Bwaiting_for_operator@Bwaiting_for_transporter@B breakdown@Bscheduled_down@B conveying@B travel_empty@Btravel_loaded@Boffset_travel_empty@Boffset_travel_loaded@Bloading@B unloading@Bdown@Bsetup@Butilize@Bfull@B not_empty@Bfilling@Bstarved@Bmixing@Bflowing@Ballocated_idle@B off_shift@B change_over@Brepair@B maintenance@Blunch@B on_break@Bsuspend@B available@Bpreprocessing@Bpostprocessing@B inspecting@B operating@Bstandby@Bpurging@B cleaning@B accelerating@B maxspeed@B decelerating@Bstopped@Bwaiting@B accumulating@B state_graph@0Bcontent@@Bstats_contentmin@4Bstats_contentmax@5Bstats_contentavg@6Bstats_contentupdates@7Bstats_contentsince@8Bstats_contentgraph@9Content vs. TimeBstats_contentgraphmaxpoints@:Y@Bstats_content@2B staytime@@Bstats_staytimemin@<Bstats_staytimemax@=Bstats_staytimeavg@>Bstats_staytimeupdates@?Bstats_staytimegraph@A StaytimeBstats_staytimehisto@C@B parameters@@B startvalue@B endvalue@Y@Bbuckets@4@Bdata@ Staytime@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B interval@@Bmean@Blo@Bhi@Bpercent@W@Bauto@?Bstats_staytimegraphmaxpoints@BY@Bstats_staytimesince@@B throughput@@B stats_input@KB stats_output@LBstats_throughput@DBstats_throughputgraph@E ThroughputBstats_throughputgraphmaxpoints@FBstats_creationtime@JBstats_lastmovetime@IBstored@B itemtype@B GlobalVarGen,@object Bclasses@@B GlobalVarGen@AB variables@@B definecode@B loadcode@Btable@@B usercode@B commands@Blabels@@B defaultlabel@B behaviour@@Beventfunctions@@Bcppfunctions@@Bspatial@@ B spatialx@MB spatialy@NB spatialz@OB spatialsx@P?B spatialsy@Q?B spatialsz@R?B spatialrx@SB spatialry@TB spatialrz@UBvisual@@B nochildscale@_?B connections@@Bconnectionsin@ @Bconnectionsout@ @Bconnectionscenter@ @Bevents@ @Bspecial@@Btitle@dObjectB description@bBguifocusclass@}$VIEW:/pages/GlobalVarGen ParametersB ExcelAutoD9@objectB classes@@B ExcelAuto@AB variables@@ Bneedtocompile@Bexcellocation@+c:\Program Files\Microsoft Office\Office10Bfirstworkbook@B curworkbook@B importtable@@BRow_1@@ BExcel_Book_Name@NEWBExcel_Sheet_Name@Sheet1BFlexsim_Table_Location@/Flask Loading>variablesBFlexsim_Table_Name@componentlistB Headers@@BData_Distinction@?B Start_Row@B Start_Col@B Num_Rows@B Num_Cols@BMain_Percent@Bsheet@Btname@B headerval@Bdatadistinctval@B OnImport@w treenode pbar = node("/active/Excel Import Progress", views()); // Pointer to the Progress Window treenode mainpercent = node("/Main Percent", pbar); // Pointer to the mainpercent field treenode subtitle = node("/Sub Title", pbar); // Pointer to the subtitle field treenode subpercent = node("/Sub Percent", pbar); // Pointer to the subpercent field double mainpercentdone = parval(1); // The precentage of the Main Progress bar that has been completed (will be between 0 and 1) // This trigger fires after all of the tables have been imported // It is used to modify the imported data or create any objects based on the imported data // If you want to change the progress bar during execution of this code // The following code is an example of how to change the percent on the progress bars and sub title. // Sub Title - setviewtext(subtitle, apchar(concat("Importing ", sheetname, " into ", tablename))); // Sub Percent - setviewtext(subpercent, apchar(numtostring(0, 3, 0))); // The first zero is the percent (from 0 to 100) // Repaint the Sub Percent - repaintview(node("/Sub Bar", up(subpercent))); // This must be done after setting the percentage // Main Percent - setviewtext(mainpercent, apchar(numtostring(100 * mainper, 3, 0))); // The first zero is the percent (from 0 to 100) // Repaint the Main Percent - repaintview(node("/Main Bar", up(mainpercent))); // This must be done after setting the percentage // The following is an example of how this code would be used to change the progress bars /* setviewtext(subtitle, apchar("Import Finish Code")); // Set the subtitle to display what we are doing int iterations = 10; // Set the number of iterations to make msg("TEST", "Watch the percentages increase with each message!"); // Create a message so that we can watch the progress for(int index = 1; index <= iterations; index++) // Iterate to show how this works { setviewtext(subpercent, apchar(numtostring(((double)index / (double)iterations) * 100, 3, 0))); // Set the sub percent to the percent done - remember the value is between 0 and 100 repaintview(node("/Sub Bar", up(subpercent))); // Repaint the sub progress bar double mainper = mainpercentdone + ((1- mainpercentdone) * ((double)index / (double)iterations)); // Calculate the total percent done setviewtext(mainpercent, apchar(numtostring(100 * mainper, 3, 0))); // Set the main percent - remember the value is between 0 and 100 repaintview(node("/Main Bar", up(mainpercent))); // Repaint the main progress bar msg("TEST", "Notice how the percentages are increasing with each message!"); // Create a message so that we can watch the progress } */ @Bh/active/Excel Import Progresspallsefu/Main Percent/Sub Titlepick/Sub Percent?8( ?td=XH?=?=9kBImportTriggerPercent@B behaviour@@Beventfunctions@@Bcppfunctions@@B special@@ section1B guifocus@|%VIEW:/standardviews/ObjectPropertiesBguifocusclass@} VIEW:/pages/DelayPipeParametersB ignoredraw@f?Bactive@BLibrary@objectB viewfocus@MAIN:/project/libraryBviewwindowopen@?Bviewwindowtype@@B spatialx@MB spatialy@NX@B spatialsx@P`c@B spatialsy@Q0@B windowtitle@LibraryB OnPreOpen@. treenode libraryview = NULL; // Here I'm trying to find the Library treenode active = node("VIEW:/active"); for(int i = 1; i <= content(active); i++) { treenode curnode = rank(active, i); if(objectexists(tabwindow(curnode)) && get(tabwindow(curnode)) == -102) // palettewindows tabbed in one window { for(int w=1;w<=content(node("/tabcontrol",curnode));w++) { treenode checkview = rank(node("/tabcontrol",curnode),w); if(checkview!=c && objectexists(windowtitle(checkview)) && comparetext("Library", gets(windowtitle(checkview)))) { // activate that tab sendwindowmessage(windowfromnode(node("/tabcontrol",curnode)),4912,w-1,0); // TCM_SETCURFOCUS libraryview = curnode; break; } } } else if(curnode!=c && objectexists(windowtitle(curnode)) && comparetext("Library", gets(windowtitle(curnode)))) { libraryview = curnode; break; } } if(objectexists(libraryview)) { makeactive(libraryview); destroyobject(c); return(0); } setname(c, "Library"); if (not(get(node(">wasopen",c)))) { iterate(1, content(library()), 1) { setitem(rank(library(), count)); if(objectexists(node(">displaygrouplist/standard",item))) { sets(node(">displaygroup",item), "standard"); } } set(node(">wasopen",c),1); } //sets(node("/GroupIconGrid>displaygroup",c),"standard"); // Position the view if(!maintenance(42,-1)) // if onactivatenotify isn't disabled - (if this isn't firing because of tab dragging) { // the workspace rect int left = getsystemmetric(3); int right = getsystemmetric(4); int top = getsystemmetric(5); int bottom = getsystemmetric(6); set(spatialx(c),0); treenode activeviews = node("VIEW:/active"); int bust=1; // to prevent possible infinite loops int moved=1; int nextypos = 0; int nextxpos = 0; while(moved && bust<20) { moved = 0; for(int i=2;i<=content(activeviews);i++) { treenode view = rank(activeviews,i); if(view==c) continue; int my_left = get(spatialx(c)); int my_right = get(spatialx(c))+get(spatialsx(c)); int view_left = get(spatialx(view)); int view_right = get(spatialx(view))+get(spatialsx(view)); int my_top = get(spatialy(c)); int my_bottom = get(spatialy(c))+get(spatialsy(c)); int view_top = get(spatialy(view)); int view_bottom = get(spatialy(view))+get(spatialsy(view)); int xoverlap = ( (my_left >= view_left && my_left < view_right) || (my_right > view_left && my_right <= view_right) ); int yoverlap = ( (my_top >= view_top && my_top < view_bottom) || (my_bottom > view_top && my_bottom <= view_bottom) ); if( xoverlap && yoverlap && fabs(get(tabwindow(view)))==fabs(get(tabwindow(c))) ) { set(spatialy(c),view_bottom); if(nextxpos==0) nextxpos = view_right; if(nextypos==0) nextypos = view_top; if(get(spatialy(c))+get(spatialsy(c)) > bottom-top) { set(spatialx(c),nextxpos); nextxpos = 0; set(spatialy(c),nextypos); nextypos = 0; } moved = 1; break; } } bust++; } }@B"4GrouVIEW:/activeiginojecydispdisp/tabcontrolaygplay/tabcontrolplisLibraryngwi/tabcontrolteniaygr Libraryojecbrar.>orems Libraryaygr>wasopen..>doupplay..>v>displaygrouplist/standard >displaygroup..>peftostandard>wasopenturettori..>cVIEW:/activeal..>_left/tablignleft>picnlef>picnlefellhtorignceellwinalterreal..>pignlturelheionGr>cellwidthignl real ngwiectf >vietbtupw:/1/balsctiotupWtp; ??, 6< k?4= I  )$  #  | # =   # =  64   0 ?    4   =   ")Bt1t=h\)L @14=((o=a 40&=>$=  5     & | l =`  P 4D   )Bt1=)| p1d=X(Ho@=4 >=  5 &pd=X4L $ =  = !0!o(#?"%wP%D%o< 9 &*&|&t&ol&`- -((((*?**/* + +++B+-uP-D-4-B,-70}00t0ol0` 7*777*:6::9:;6;;9;<6<<9<=6= =9=?}4??(?o @?`@ @T@DA6pA AB6B BC6C CD6DD G5G GH6HH {J?xJJhJ4\JJ=PJ BK#KoK=K H L6LL|LLoM6, MMM|MMoM|MMoN6`NN|TNHN=<NO6 OO O|OO=OO|O|O=pOP6PP|PPoQ6X QQH Q|< Q0 Qo( Q| Q Qo R6 RR| Rt R=h RS6 SS S| S S= SS| S S= SV6 V V+ V) V& V4 VV4 VV%| V4p VV4d VU)T U'D U48 UU4, UU$ U4 UU4 UX6 X X+ X) X& X4x XX4l XX%\ X4P XX4D XW)4 W'$ W4 WW4 WW$ W4 WW4 W dJY)X Y#H Y< Y|0 Y#$ Yo Y Y| Y# Y= YY) Y4 YY4 Y[} [4| [[p [oh  { \# \\4 \\5 \\4 \  ]# ]]4 ] ]5 ] ]4 ] s^% ^p ^4d ^^4X ^ ^H ^|< ^0 ^o( ^| ^ ^o `} `4 `` `o a5 aab} b4 b b bo c5c ce5e e H5<HHH i5H&,H H=H H4Hi5 iii  t#E)E'EE4E E4E  }BOnOpen@setname(c, "Library"); windowshow(windowfromnode(node( "/editName",c)), 0); windowshow(windowfromnode(node("/Apply",c)), 0); nodefunction(node("/ChooseGroup>refresh",c)); nodefunction(node("/GroupIconGrid>refresh",c)); @B wasopen@?Binstallcomponents@ytreenode newlibrary = parnode(1); if(not(maintenance(20))) { // I need to go through a first swipe and install all user commands forobjectlayerunder(node(">loadinstall",parnode(1))) { dropuserlibraryobject(a, 0, 0, 0, 0, 0, 0); } forobjectlayerunder(node(">newmodelinstall",parnode(1))) { dropuserlibraryobject(a, 0, 0, 0, 0, 0, 0); } return(1); } @B*tive>loadinstall>newmodelinstall? l &*(PlD4  h`  $  l             "Bnewuserlibrary@]setcurrent(node("../ChooseGroup",c)); setitem(node("MAIN:/project/userlibrary")); createuserlibrary(); set(itemcurrent(current), content(item) + get(node("..>originalitems",c))); nodeinsertinto(items(current)); setname(last(items(current)), getname(last(item))); comborefresh(current); nodefunction(node("../GroupIconGrid>refresh",c)); @B\"../ChooseGroupMAIN:/project/userlibrarylins..>originalitemsayg../GroupIconGrid>refreshcont>(o?\P4h} |oB xApAwPvD8B0$A h A` j  o tBdragfunction@R// parnode(1) : dropnodefrom // parnode(2) : dropnodeto // parval(3) : dropx // parval(4) : dropy // parval(5) : dropz // parnode(6) : i (or the view onto which I dropped) treenode ontoview = parnode(6); if(ontoview == node("../GroupIconGrid",c)) return(0); if(ne(node("../GroupIconGrid>viewfocus+",c), library())) { return(dropuserlibraryobject(parnode(1), parnode(2), parval(3), parval(4), parval(5), parnode(6))); } if(maintenance(20)) { msg("Operation Not Allowed", "You are in Presenter mode and are not allowed to do this operation"); return(0); } int unusualcontainer = 1; treenode droponto = parnode(2); if(objectexists(droponto)) { if( objectexists(classes(droponto)) && classobject(droponto) == node("/VisualTool", library()) ) unusualcontainer = 0; } else { droponto = node(">viewfocus+",parnode(6)); unusualcontainer = 0; } if(unusualcontainer) { if(msg("Unusual Container",gets(node("../GroupIconGrid>messagetext",c)))) unusualcontainer = 0; } treenode createdobject = 0; if(!unusualcontainer) { createdobject = createinstance(parnode(1), droponto); double x = parval(3); double y = parval(4); double z = parval(5); if(get(viewsnaptogrid(ontoview))) { double xgrid = get(gridx(ontoview)); double ygrid = get(gridy(ontoview)); set(spatialx(createdobject), mul(sign(x), round(fabs(x) / xgrid) * xgrid)); set(spatialy(createdobject), mul(sign(y), round(fabs(y)/ ygrid) * ygrid)); set(spatialz(createdobject, z)); } else { set(spatialx(createdobject), x); set(spatialy(createdobject), y); set(spatialz(createdobject), z); } if(comparetext(getname(parnode(1)), stringcopy(getname(createdobject), 1, stringlen(getname(parnode(1)))))) { int appendnum = content(droponto); if(droponto == model) appendnum--; appendnum = max(1, appendnum); while(objectexists(node(concat("/", getname(parnode(1)), numtostring(appendnum, 0,0)), droponto))) appendnum++; setname(createdobject, concat(getname(parnode(1)), numtostring(appendnum, 0,0))); } return createdobject; } return createdobject; @BP eGro../GroupIconGridprt/us../GroupIconGrid>viewfocus+..>onali Operation Not AllowedYou are in Presenter mode and are not allowed to do this operationplis/VisualTool>viewfocus+rolUnusual Container../GroupIconGrid>messagetext Libraygr>displisrd grou..>pdard>was VIEWal/tab nlef/h ellw  ? l   #T D o< ( = ?\   (   o d}  lkkk ll F@( h6?l = )L #<,$=Y=5\  #>###l|##l$5$$ ! '4' )F)t))o))*5,**,?<,, M -*X-4L-/>//|/=p//ld/0900k01911k12922k2 =<3|33=359855|,5 5=569l66|`6T6=H67}77 777777777777777777=|78}88 87888|87p88d87X88L87@8848=(89}99799=9 ?=},=7 =====>}`>7T>>H>=<>?}?7??|?=p? BBAB  A= A>AvAlAAAvA=AAvAlAC64C C(C=C B D#XDPD=DDD5hD DD E5E EE4|E E GG5 GGG  JFF F=FFA F;FF F4F FvFlFFHw HAx H;dHHH4XH HvLHl@HH=4HL6J=JN6`M=MBautoinstallmessage@This library contains components that can be automatically installed to your model. Click OK to install these components.Bunusualcontainermessage@You are dragging the object into an object that does not usually act as a container. Click OK if you want to continue this action.Bautoinstallwarning@This library's auto-install Components are already installed if: 1. You loaded this library with the current model open. 2. You created a new model with this library loaded. Components may not have been installed, or you may want to install them again if: 1. A previously created model was opened with this library already loaded. 2. Updates to the library require a re-install of this library's components. Click OK to continue and install this library's components. B tempfile@Boriginalitems@@Bstyle@@B WS_CAPTION@BWS_CLIPSIBLINGS@BWS_CLIPCHILDREN@BWS_OVERLAPPED@B WS_SYSMENU@BWS_THICKFRAME@B exstyle@@BWS_EX_TOOLWINDOW@BWS_EX_TOPMOST@Bpalettewindow@@Y@@B tabwindow@Y@@BOnDropWindow@#// dragging from a window to another window if(objectexists(i)) executefsnode(node("MAIN:/project/exec/globals/nodefunctions/droptab_in_palette"),c,i,0,0); // dragging a tab out of a window else executefsnode(node("MAIN:/project/exec/globals/nodefunctions/droptab_out_palette"),c,i,0,0);B@\buttons\view_library.bmpBviewwindowclean@@B overlay@objectB viewfocus@../..Bviewwindowopen@Bviewwindowtype@@B spatialx@M?B spatialy@N@B spatialsx@P0@B spatialsy@Q`@B viewpointx@B viewpointy@B viewpointz@_|@Bhidden@?Bviewhidealllabels@?B transparent@?Bviewhideallbases@?Bgridx@@Bgridy@@Bviewsnaptogrid@?B buttonpanel@objectBviewwindowtype@Y@B spatialx@M@B spatialy@N@B spatialsx@P`@B spatialsy@Q9@B tooltip@B beveltype@@B New Library@objectBviewwindowtype@Y@B spatialx@MB spatialy@NB spatialsx@P9@B spatialsy@Q9@Bbitmap@buttons\newlibrary.bmpB OnPress@1nodefunction(node("../..>newuserlibrary", c)); @B tooltip@ New LibraryBOpen Libraries@objectBviewwindowtype@Y@B spatialx@M;@B spatialy@NB spatialsx@P9@B spatialsy@Q9@Bbitmap@buttons\openlibraries.bmpB OnPress@ setitem(node("MAIN:/project/userlibrary")); setcurrent(node("/project/exec/globals/nodevariables/tempfilename",maintree())); treenode openpathnode = node("VIEW:/environment/librarypath"); if(stringlen(gets(openpathnode))>0 && fileexists(gets(openpathnode))) { int index = 0; int nextindex = stringsearch(gets(openpathnode), "\\", index); int i = 1; while(nextindex >= 0) { index = nextindex; nextindex = stringsearch(gets(openpathnode), "\\", index+1); } string directory = stringpart(gets(openpathnode), 0, index); sets(current,directory); } else sets(current,concat(cdir(),"libraries")); // Load multiple libraries setcursor(3); treenode liblist = node("/project/filelist",maintree()); clearcontents(liblist); getfilebrowse("*.fsl","Flexsim Library","",getnodestr(current),2,liblist); for (treenode curlib = rank(liblist,2); objectexists(curlib); curlib = next(curlib)) { setcurrent(node("/project/exec/globals/nodevariables/tempfilename",maintree())); // This will be changed, so make sure it's set here too setnodestr(current,apchar(getname(curlib))); nodeinsertinto(item); if (not(comparetext(getnodestr(current),""))) { cmdloadtree(last(item),getnodestr(current), 1); } if(or(gt(content(last(item)), 0), objectexists(node(">1", last(item))))) { setcurrent(node("../../ChooseGroup",c)); set(itemcurrent(current), content(item) + get(node("../..>originalitems",c))); nodeinsertinto(items(current)); setname(last(items(current)), getname(last(item))); setviewtext(node("../../editName",c), getname(last(item))); comborefresh(current); nodefunction(node("../../GroupIconGrid>refresh",c)); setport(0);// port says: do I need to update if(not(objectexists(node(">release", last(item))))) setport(1); else { if(stringtonum(gets(node(">release", last(item)))) < stringtonum(gets(node("MAIN:/project/release")))) setport(1); } if(port) { nodefunction(node("MAIN:/project/exec/globals/nodefunctions/updatemodelversion"), 1, tonum(last(item))); } if(and(or(objectexists(node(">loadinstall/1",last(item))),objectexists(node(">newmodelinstall/1",last(item)))), not(maintenance(20)))) { nodefunction(node("../..>installcomponents", c), last(item)); buildnodeflexscript(model()); } buildnodeflexscript(last(item)); autoloadallmedia(); documentusercommands(); } else { destroyobject(last(item)); } } setcursor(1); @B tooltip@Open LibrariesBSave Library@objectBviewwindowtype@Y@B spatialx@MK@B spatialy@NB spatialsx@P9@B spatialsy@Q9@Bbitmap@buttons\savelibrary.bmpB OnPress@Lsetitem(node("../../GroupIconGrid>viewfocus+", c)); if(not(objectexists(item))) return(0); if(eq(item, library())) { msg("Cannot Save Standard Library", "You cannot save Flexsim's standard library", 1); return(0); } setcurrent(node("../..>tempfile",c)); treenode openpathnode = node("VIEW:/environment/librarypath"); if(stringlen(gets(openpathnode))>0 && fileexists(gets(openpathnode))) { int index = 0; int nextindex = stringsearch(gets(openpathnode), "\\", index); int i = 1; while(nextindex >= 0) { index = nextindex; nextindex = stringsearch(gets(openpathnode), "\\", index+1); } string directory = stringpart(gets(openpathnode), 0, index); sets(current,directory); } else sets(current,concat(cdir(),"libraries")); if(objectexists(item)) { savetree(item,"fsl", "Flexsim Library", gets(current)); }@B tooltip@ Save LibraryBClose Library@objectBviewwindowtype@Y@B spatialx@M@T@B spatialy@NB spatialsx@P9@B spatialsy@Q9@Bbitmap@buttons\closelibrary.bmpB OnPress@rsetitem(node("../../GroupIconGrid>viewfocus+", c)); if(not(objectexists(item))) return(0); if(eq(item, library())) { msg("Cannot Close Standard Library", "You cannot close Flexsim's standard library", 1); return(0); } if(msg("Close Library",concat("Close ",getname(item),"?"))) { if(objectexists(node(">uninstall",item))) nodefunction(node(">uninstall",item)); destroyobject(item); setnodenum(node("../../ChooseGroup>itemcurrent",c), getnodenum(node("../../ChooseGroup>itemcurrent",c))-1); nodefunction(node("../../ChooseGroup>refresh",c)); nodefunction(node("../../GroupIconGrid>refresh",c)); }@B tooltip@Close LibraryB!Install Auto-Install Components@objectBviewwindowtype@Y@B spatialx@M[@B spatialy@NB spatialsx@P9@B spatialsy@Q9@Bbitmap@#buttons\userlibraryautoinstall.bmpB OnPress@Lif (license()) { setitem(node("../../GroupIconGrid>viewfocus+", c)); if(not(objectexists(item))) return(0); if(eq(item, library())) { msg("No Library Components", "Flexsim's standard library does not contain any install components", 1); return(0); } if(and(objectexists(node(">newmodelinstall", item)), content(node(">newmodelinstall", item)) > 0)) { if(msg("Auto-Install Components", gets(node("../..>autoinstallwarning",c)))) { setcurrent(node(">newmodelinstall", item)); if(objectexists(current)) { forobjectlayerunder(current) { dropuserlibraryobject(a, 0,0,0,0,0); } } } } else { msg("No Library Components", "This library does not contain any install components", 1); return(0); } } else{msg("Flexsim","Not available in evaluation mode.");}@B tooltip@ Install Auto-Install ComponentsB ChooseGroup@objectBviewwindowtype@@[@B spatialx@M@B spatialy@N=@B spatialsx@P[@B spatialsy@Q^@B tooltip@Bitems@@BDiscrete Objects@ standardBFluid Objects@fluidB itemcurrent@?Balignrightmargin@@@B OnSelect@F applylinks(c); nodefunction(node("../GroupIconGrid>refresh",c)); @B coldlink@..>currentgroupB pickitem@Bcurrentgroup@?B refresh@setitem(node("MAIN:/project/userlibrary")); setcurrent(node("..>items",c)); while(content(current) > get(node("../..>originalitems",c))) { destroyobject(last(current)); } if(content(item) != 0) { iterate(1, content(item), 1) { nodeinsertinto(current); setname(last(current), getname(rank(item, count))); } } if(get(itemcurrent(up(current)))>content(current)) set(itemcurrent(up(current)), 1); comborefresh(up(current));@B 8MAIN:/project/userlibrary..>itemsev../..>originalitems?(>XHo@4 A %|oxlAd  (   B     B  $ AwpvdT/LBD8A0   %A| A} AA@BRename Library@object Bviewwindowtype@Y@B spatialx@M]@B spatialy@N;@B spatialsx@P9@B spatialsy@Q9@Bbitmap@buttons\_rename.bmpBalignrightposition@=@B OnPress@setitem(node("../GroupIconGrid>viewfocus+", c)); if(not(objectexists(item))) return(0); if(eq(item, library())) { msg("Cannot Rename Standard Library", "You cannot rename Flexsim's standard library", 1); return(0); } windowshow(windowfromnode(node("../ChooseGroup",c)), 0); windowshow(windowfromnode(node("../Rename Library",c)), 0); windowshow(windowfromnode(node( "../editName",c)), 1); windowshow(windowfromnode(node("../Apply",c)), 1); setviewtext(node( "../editName",c), getname(item));@B tooltip@Rename LibraryBGroupIconGrid@objectBviewwindowtype@@B spatialx@M?B spatialy@NK@B spatialsx@P@b@B spatialsy@Q@B cellwidth@a@Bcellwidthoriginal@a@B cellheight@4@Bcellheightoriginal@4@Bcellwidthoriginalaligncenter@Q@Bcellheightoriginalaligncenter@Q@Bpicture@cbitmaps\views\static.bmpB viewfocus@MAIN:/project/libraryBviewwindowsource@?B displaygroup@ standardBalignrightmargin@Balignbottommargin@BOnDrag@//pr();pt("OnDrag "); //pt(getname(i));pt(" "); //pf(dropx());pt(" "); //pf(dropy());pt(" "); //pf(dropz());pt(" "); //pf(eventdata); //pt(" Event code"); //pt(" ");pt(getname(selectedobject(c))); //pt(" ");pt(getname(selectedobject(i))); //pt(" drop node to ");pt(getname(dropnodeto())); //pt(" drop nodefrom ")/;pt(getname(dropnodefrom())); nodefunction(node("..>dragfunction",c), dropnodefrom(), dropnodeto(), dropx(), dropy(), dropz(), i);@B messagetext@You are dragging the object into an object that does not usually act as a container. Click OK if you want to continue this action.B menupopup@@BExplore Object Tree@if (license()) { setitem(selectedobject(node("../..",c))); if (objectexists(item)) { createview("VIEW:/standardviews/inspector",nodetopath(item),nodetopath(item)); } } else{msg("Flexsim","Not available in evaluation mode.");}BExplore Library Tree@if (license()) { createview("VIEW:/standardviews/inspector",gets(viewfocus(node("../..",c))),gets(viewfocus(node("../..",c)))); } else{msg("Flexsim","Not available in evaluation mode.");} B-@BRemove Object From Library@L//pt(getname(selectedobject(node("../..",c)))) setitem(node("../..>viewfocus+", c)); if(eq(item, library())) { msg("Cannot Remove Object", "You cannot remove objects from Flexsim's standard library", 1); return(0); } if(objectexists(selectedobject(node("../..",c)))) { destroyobject(selectedobject(node("../..",c))); }B-@B Parameters@setitem(node("../..>viewfocus+", c)); if(eq(item, library())) { msg("Cannot View Parameters", "You cannot view parameters for Flexsim standard library objects", 1); return(0); } viewmenucommand("Parameters",node("../..",c));B Properties@setitem(node("../..>viewfocus+", c)); if(eq(item, library())) { msg("Cannot View Parameters", "You cannot view parameters for Flexsim standard library objects", 1); return(0); } viewmenucommand("Properties",node("../..",c));B refresh@setport(node("../../ChooseGroup",c)); if(le(get(itemcurrent(port)), get(node("../..>originalitems",c)))) { sets(viewfocus(node("..",c)), "MAIN:/project/library"); if(objectexists(node("..>_displaygroup",c))) setname(node("..>_displaygroup",c), "displaygroup"); forobjectlayerunder(library()) { setcurrent(node(">displaygroup",a)); if(objectexists(current)) { setitem(node(">displaygrouplist",a)); iterate(1,content(item),1) { if(comparetext(getnodestr(rank(items(port),get(itemcurrent(port)))),getname(rank(item,count())))) { setnodestr(current,getname(rank(item,count()))); } } } } sets( node("..>displaygroup",c), gets(rank(items(port),get(itemcurrent(port)))) ); } else { sets(viewfocus(node("..",c)), concat("MAIN:/project/userlibrary/", numtostring(get(itemcurrent(port)) - get(node("../..>originalitems",c)), 0, 0))); if(objectexists(node("..>displaygroup",c))) setname(node("..>displaygroup",c), "_displaygroup"); } treenode focus = node("..>viewfocus+",c); int height = 0; int width = 0; int picturealign = get(node("..>picturealignleftoriginal",c)); if (focus == library() || objectexists(node(">picturealignleft",focus))) // The library is recent - use the new defaults { height = get(node("..>cellheightoriginal",c)); width = get(node("..>cellwidthoriginal",c)); if (objectexists(node("..>_picturealignleft",c))) setname(node("..>_picturealignleft",c),"picturealignleft"); if(objectexists(node(">picturealignleft",focus))) picturealign = get(node(">picturealignleft",focus)); } else { height = get(node("..>cellheightoriginalaligncenter",c)); width = get(node("..>cellwidthoriginalaligncenter",c)); if (objectexists(node("..>picturealignleft",c))) setname(node("..>picturealignleft",c),"_picturealignleft"); } if(objectexists(node(">cellheight",focus))) set(cellheight(node("..",c)), get(node(">cellheight",focus))); else set(cellheight(node("..",c)), height); if(objectexists(node(">cellwidth",focus))) set(cellwidth(node("..",c)), get(node(">cellwidth",focus))); else set(cellwidth(node("..",c)), width); if(objectexists(node("..>picturealignleft",c))) set(node("..>picturealignleft",c), picturealign); repaintview(node("..",c));@Bd ../../ChooseGroupiy..>iev../..>originalitemsalit..MAIN:/project/library..>_displaygroup..>_displaygroupdisplaygroup>displaygroup>displaygrouplistngwitiveteni..>displaygroup ..MAIN:/project/userlibrary/../..>originalitems ..>displaygroup..>displaygroup_displaygroup..>viewfocus+ ..>picturealignleftoriginaltive>picturealignleft..>cellheightoriginal..>cellwidthoriginal..>_picturealignleft/tab..>_picturealignleftpicturealignleft>picturealignleft>picturealignleftary..>cellheightoriginalaligncenter ..>cellwidthoriginalaligncenter..>picturealignleft..>picturealignleftd_picturealignleft>cellheightdran..onGr>cellheight..>cellwidth..>cellwidth....>picturealignleft..>picturealignleft..@,o 0O&|xopX|L @C8u9o   owhXHo@,x ( >    !  A ?     B B vt/lBdxXH|< 0C(Cyv/BA u` tTD|8 ,C$Co 2uDA4 ;  |o| C9|otp * pohT w   o #?###o#$6$$%6 %%&6t&&|h&X&oP&0 T/(+ (((=(((#((=(*50**|$**o *+5|++|p+`+oX+@ 7 ,,,o,-w ---o- 9 .L.<.=0../5//|/x/=l//X X3533|33o345D44|84(4o 4 O 55t5ol5T6w666o6 Z9 9 9=99:}| :|p :` :=T ::D :8 :( :o :  G;} ;4 ; ; ; ;o ;  H < < <= << =}` =|T =D ==8 ==, = = =o =  B>} >4 > > >| >ot >p  f @ @ @o @ A}, A4 AA Ao A B X BH Bo@ B< Bpicturealignleft@6@Bpicturealignleftoriginal@6@Bdepresshighlighted@B editName@objectBviewwindowtype@@Y@B spatialx@M@B spatialy@N=@B spatialsy@Q5@Balignrightmargin@E@B tooltip@#Enter the name of the User LibraryBhidden@?BApply@objectBviewwindowtype@Y@Balignrightposition@E@B spatialy@N;@B spatialsx@PD@B spatialsy@Q9@B OnPress@4setitem(node("../GroupIconGrid>viewfocus+",c)); if(and(objectexists(item), ne(item, library))) { setname(item, getviewtext(node( "../editName",c))); setname(rank(node("../ChooseGroup>items",c), getrank(item) + get(node("..>originalitems",c))), getviewtext(node( "../editName",c))); comborefresh(node("../ChooseGroup",c)); } windowshow(windowfromnode(node("../ChooseGroup",c)), 1); windowshow(windowfromnode(node("../Rename Library",c)), 1); windowshow(windowfromnode(node( "../editName",c)), 0); windowshow(windowfromnode(node("../Apply",c)), 0); @Bhidden@?B Compiler@objectB viewfocus@MAIN:/project/modelBviewwindowopen@?Bviewwindowtype@@B spatialx@MB spatialy@NЈ@B spatialsx@P@B spatialsy@Qf@B windowtitle@Compiler ConsoleB OnPreOpen@setname(c,"Compiler"); int x = get(spatialx(c)); int y = get(spatialy(c)); if(x==8080 && y==8080) // the first time you open it if remembering window sizes { // the workspace rect int left = getsystemmetric(3); int right = getsystemmetric(4); int top = getsystemmetric(5); int bottom = getsystemmetric(6); set(spatialx(c),left); set(spatialy(c),bottom-200); set(spatialsx(c),right-left); set(spatialsy(c),180); }@BOnOpen@setname(c,"Compiler"); // the -2 is used in the complicated redirection logic so that // the console won't open when pressing the check Flexscript button in code windows // and so that showconsole will continue to show the new console redirectconsole(-2,node("/scriptedit",c));@B OnClose@redirectconsole(2,0); if(REMEMBER_WINDOW_SIZES) { // open in the same place and size where closed treenode theview = node("VIEW:/standardviews/console_compiler"); setnodenum(spatialx(theview), getnodenum(spatialx(c))); setnodenum(spatialy(theview), getnodenum(spatialy(c))); setnodenum(spatialsx(theview), getnodenum(spatialsx(c))); setnodenum(spatialsy(theview), getnodenum(spatialsy(c))); }@Bconsolewindow@@B tabwindow@Y@@BOnDropWindow@#// dragging from a window to another window if(objectexists(i)) executefsnode(node("MAIN:/project/exec/globals/nodefunctions/droptab_in_console"),c,i,0,0); // dragging a tab out of a window else executefsnode(node("MAIN:/project/exec/globals/nodefunctions/droptab_out_console"),c,i,0,0);Bviewwindowclean@@B overlay@object B viewfocus@../..Bviewwindowopen@Bviewwindowtype@@B spatialx@M?B spatialy@N@B spatialsx@P0@B spatialsy@Q`@Bhidden@?B transparent@?@B scriptedit@objectBviewwindowtype@ @B spatialx@MB spatialy@N?B spatialsx@P@B spatialsy@Q b@Balignrightmargin@Balignbottommargin@B noformat@?Bortho@object@B viewfocus@MAIN:/project/modelBviewwindowopen@?Bviewwindowtype@@Blisteningwindow@&VIEW:/active/CraneParameters121883056@B@?B spatialx@M`c@B spatialy@NX@B spatialsx@P(@B spatialsy@Q0@B viewpointx@DJ@B viewpointy@QPB viewpointz@B viewpointrx@VB viewpointry@B viewpointrz@Bviewmagnification@.V A@Bviewprojectiontype@?Bviewpointradius@D@Bviewbackgroundcolor@@B@?B@?B@?Bviewhideallbases@?Bviewhidealldrawcontent@Bviewhidealllabels@Bviewhideallconnectors@B viewlights@@BLight Source 1@@B viewlightx@?B viewlighty@B viewlightz@?B viewlightr@?B viewlightg@?B viewlightb@?Bviewlightaspos@BLight Source 2@@B viewlightx@B viewlighty@?B viewlightz@?B viewlightr@?B viewlightg@?B viewlightb@?Bviewlightaspos@Bviewautoconnect@Bviewsnaptogrid@?Bviewsyncupdate@B viewnear@yB viewfar@y@B viewfield@V@Bviewfirstperson@B viewshowgrid@?Bgridx@?Bgridy@?Bviewlabelalignment@?B OnDropNode@@//pt(" drop node");pt(getname(c));pt(getname(i));pr(); if(i != c) { string thekey; if(!iskeydown()) { int editmode = modeleditmode(-1); switch(editmode) { case EDITMODE_A_CONNECT: thekey = "A"; break; case EDITMODE_Q_CONNECT: thekey = "Q"; break; case EDITMODE_S_CONNECT: thekey = "S"; break; case EDITMODE_W_CONNECT: thekey = "W"; break; case EDITMODE_E_CONNECT: thekey = "E"; break; case EDITMODE_D_CONNECT: thekey = "D"; break; } } else thekey = strascii(lastkeydown()); if(switch_selected(c, -1) && !switch_selected(i, -1)) groupconnectto(i, thekey); else if(switch_selected(i, -1) && !switch_selected(c, -1)) groupconnectfrom(c, thekey); else contextdragconnection(c, i, thekey); set(node("MAIN:/project/exec/globals/nodevariables/connectionjustmade"), 1); } @BOnDrop@makeactive(c);@B menuview@B viewlist@ OrthoViewsB menupopup@@BEdit@@BDesignate This Node (so)@Aviewmenucommand("Edit|Designate This Node (so)",ownerobject(c));B-@BReset Object@setcurrent(selectedobject(ownerobject(c))); // Make sure something was actually selected if(not(objectexists(current))) { return(0); } set(spatialrx(current),0); set(spatialry(current),0); set(spatialrz(current),0); set(spatialz(current),0);BSet Object Reset Position@eif(objectexists(selectedobject(ownerobject(c)))) setresetposition(selectedobject(ownerobject(c)));B-@BAdd to User Library@4addtouserlibrary(selectedobject(ownerobject(c))); BView@@ BDesignate This View (sv)@Aviewmenucommand("View|Designate This View (sv)",ownerobject(c));B-@B&Capture Screen p@.viewmenucommand("View|Print",ownerobject(c));B Reset View@l//pt(" Resetting view ");popupmenu(node("../..",c)); viewmenucommand("View|Zoom...|Reset",ownerobject(c));BReset View Rotation@treenode theview = ownerobject(c); set(viewpointrx(theview),-90); set(viewpointry(theview),0); set(viewpointrz(theview),0);B0"/buttons/view_viewsettings.bmp"V&iew Settings@treenode theview = node("VIEW:/standardviews/View Settings"); nodefunction(node("VIEW:/nodefunctions/createview_palette"),theview);BSave Settings as Default@>setcurrent(ownerview(c)); if(and(not(comparetext(getname(current), "ortho")), not(comparetext(getname(current), "persp")))) { msg("Error", "The view must be either an untabbed Orthographic \nor Perspective view to make it the default."); return(0); } if(not(objectexists(node("/Tools/DefaultGUIs",model())))) { nodeinsertinto(node("/Tools",model())); setname(last(node("/Tools",model())), "DefaultGUIs"); } setitem(node("/Tools/DefaultGUIs",model())); if(not(objectexists(node(concat("/", getname(current)), item)))) { nodeinsertinto(item); setname(last(item), getname(current)); nodeadddata(last(item), DATATYPE_STRING); } setport(node(concat("/", getname(current)), item)); clearcontents(port); createcopy(current, port); setname(last(port), getname(current)); sets(port, nodetopath(last(port),1));B-@BView Container@0treenode view = ownerobject(c); treenode focus = node(">viewfocus+",view); if(focus == model()) return 0; viewmenucommand("View|Up", view); focus = node(">viewfocus+",view); set(viewpointx(view), xcenter(focus)); set(viewpointy(view), ycenter(focus)); set(viewpointz(view), 0); /*int orthonr = 0; treenode activeviews = node("VIEW:/active"); for(int i = 1; i < getrank(view); i++) { treenode curview = rank(activeviews, i); if(comparetext(getname(curview), "ortho")) orthonr++; }*/ string path = nodetopath(focus, 1); if(stringlen(path)>20) path = stringpart(path, 20, stringlen(path)-20); else path = getname(focus); //sets(windowtitle(view), concat("Orthographic View - ", numtostring(orthonr, 0,0), " - ", path)); sets(windowtitle(view), concat("Orthographic View - ", path)); BView Contents@treenode view = ownerobject(c); set(viewpointx(view), 0); set(viewpointy(view), 0); set(viewpointz(view), 0); viewmenucommand("View|Down", view); treenode focus = node(">viewfocus+",view); /*int orthonr = 0; treenode activeviews = node("VIEW:/active"); for(int i = 1; i < getrank(view); i++) { treenode curview = rank(activeviews, i); if(comparetext(getname(curview), "ortho")) orthonr++; }*/ string path = nodetopath(focus, 1); if(stringlen(path)>20) path = stringpart(path, 20, stringlen(path)-20); else path = getname(focus); //sets(windowtitle(view), concat("Orthographic View - ", numtostring(orthonr, 0,0), " - ", path)); sets(windowtitle(view), concat("Orthographic View - ", path)); B-@BExplore Structure@if (license()) { viewmenucommand("View|Structure...|Explore structure",ownerobject(c)); } else{msg("Flexsim","Not available in evaluation mode.");} BModeling Utilities@@BC"/buttons/view_edithighlightedobject.bmp"Edit &Highlighted Object@treenode theview = node("VIEW:/standardviews/Edit Highlighted Object"); nodefunction(node("VIEW:/nodefunctions/createview_palette"),theview,1);B?"/buttons/view_editselectedobjects.bmp"Edit &Selected Objects@treenode theview = node("VIEW:/standardviews/Edit Selected Objects"); nodefunction(node("VIEW:/nodefunctions/createview_palette"),theview,1);B."/buttons/view_findobjects.bmp"&Find Objects@treenode theview = node("VIEW:/standardviews/Find Objects"); nodefunction(node("VIEW:/nodefunctions/createview_palette"),theview,1);B4"/buttons/view_travelnetworks.bmp"Travel &Networks@treenode theview = node("VIEW:/standardviews/Travel Networks"); nodefunction(node("VIEW:/nodefunctions/createview_palette"),theview,1);B!"/buttons/view_views.bmp"&Views@treenode theview = node("VIEW:/standardviews/Views"); nodefunction(node("VIEW:/nodefunctions/createview_palette"),theview,1);B#"/buttons/view_groups.bmp"&Groups@treenode theview = node("VIEW:/standardviews/Groups"); nodefunction(node("VIEW:/nodefunctions/createview_palette"),theview,1);B0"/buttons/view_modellayouts.bmp"&Model Layouts@treenode theview = node("VIEW:/standardviews/Model Layouts"); nodefunction(node("VIEW:/nodefunctions/createview_palette"),theview,1);B&"/buttons/view_tree.bmp"Explore Tree@if (license()) { viewmenucommand("Explore|As Tree",ownerobject(c)); } else{msg("Flexsim","Not available in evaluation mode.");} B Properties@setcurrent(node("VIEW:/active")); setport(content(current)); viewmenucommand("Parameters",ownerobject(c)); if(content(current)>port) { setcurrent(node(">listeningwindow", ownerobject(c))); sets(current, nodetopath(last(node("VIEW:/active")), 1)); set(first(current), 1); }B windowtitle@Orthographic View - modelBviewignoreobjects@B statusbar@?Bconnectorsize@?Bconnectorstyle@?B labelscale@@BOnMouseWheel@treenode vfocus = node("@>viewfocus+",c); treenode selected = selectedobject(ownerobject(c)); double mousedelta = get(node("..>OnMouseWheelDelta",c)); if(objectexists(selected)) { double dz = mousedelta / 1000; if(switch_selected(selected)) { forobjecttreeunder(vfocus) { if(switch_selected(a)) { if(up(a) != vfocus) { // do an 'erase' because vectorproject caches stuff if it gets the same parameters vectorprojectx(a,0,0,0,vfocus); double x1 = vectorprojectx(vfocus, 0,0,0,up(a)); double y1 = vectorprojecty(vfocus, 0,0,0,up(a)); double z1 = vectorprojectz(vfocus, 0,0,0,up(a)); double x2 = vectorprojectx(vfocus, 0,0,dz,up(a)); double y2 = vectorprojecty(vfocus, 0,0,dz,up(a)); double z2 = vectorprojectz(vfocus, 0,0,dz,up(a)); double newdx = x2-x1; double newdy = y2-y1; double newdz = z2-z1; setloc(a,xloc(a)+newdx, yloc(a)+newdy, zloc(a)+newdz); } else setloc(a,xloc(a), yloc(a), maxof(0,zloc(a)+dz)); } } } else { if(up(selected) != vfocus) { // do an 'erase' because vectorproject caches stuff if it gets the same parameters vectorprojectx(selected,0,0,0,vfocus); double x1 = vectorprojectx(vfocus, 0,0,0,up(selected)); double y1 = vectorprojecty(vfocus, 0,0,0,up(selected)); double z1 = vectorprojectz(vfocus, 0,0,0,up(selected)); double x2 = vectorprojectx(vfocus, 0,0,dz,up(selected)); double y2 = vectorprojecty(vfocus, 0,0,dz,up(selected)); double z2 = vectorprojectz(vfocus, 0,0,dz,up(selected)); double dx = x2 - x1; double dy = y2 - y1; dz = z2 - z1; setloc(selected,xloc(selected)+dx, yloc(selected)+dy, zloc(selected)+dz); } else setloc(selected,xloc(selected), yloc(selected), maxof(0, zloc(selected)+dz)); } } else { set(viewmagnification(ownerobject(c)), (1.0+(max(-499, mousedelta)/500))*get(viewmagnification(ownerobject(c)))); } repaintview(ownerobject(c)); @BOnMouseWheelDelta@^@B OnPreOpen@_setname(c, "ortho"); treenode activeviews = node("VIEW:/active"); /* int totalnr = 0; int orthonr = 1; for(int i = 1; i < getrank(c); i++) { treenode view = rank(activeviews, i); if(comparetext(getname(view), "ortho") || comparetext(getname(view), "persp") || comparetext(getname(view), "planar") ) totalnr++; if(comparetext(getname(view), getname(c))) orthonr++; } inc(spatialy(c), 25*totalnr); sets(windowtitle(c), concat("Orthographic View - ", numtostring(orthonr, 0,0), " - model"));*/ // This moves the view if there is another view under it. int bust=1; // to prevent possible infinite loops int moved=1; while(moved && bust<20) { moved = 0; for(int i=2;i<=content(activeviews);i++) { treenode view = rank(activeviews,i); if(view==c) continue; if(fabs(get(spatialx(view))-get(spatialx(c)))<25 && fabs(get(spatialy(view))-get(spatialy(c)))<25 && get(viewwindowtype(view))==get(viewwindowtype(c))) { inc(spatialx(c),25); inc(spatialy(c),25); moved = 1; break; } } bust++; } sets(windowtitle(c), "Orthographic View - model");@BOnOpen@set(itemcurrent(c),1); set(first(itemcurrent(c)),0); /*executefsnode(node("/ToolPanel/FindPanel>ToolOnOpen",c), node("/ToolPanel/FindPanel",c)); executefsnode(node("/ToolPanel/GroupsPanel>ToolOnOpen",c), node("/ToolPanel/GroupsPanel",c)); executefsnode(node("/ToolPanel/ViewPanel>ToolOnOpen",c), node("/ToolPanel/ViewPanel",c)); int orthonr = 1; treenode activeviews = node("VIEW:/active"); for(int i = 1; i < getrank(c); i++) { treenode view = rank(activeviews, i); if(comparetext(getname(view), "ortho")) orthonr++; }*/ treenode focus = node(">viewfocus+",c); string path = nodetopath(focus, 1); if(stringlen(path)>20) path = stringpart(path, 20, stringlen(path)-20); else path = getname(focus); //sets(windowtitle(c), concat("Orthographic View - ", numtostring(orthonr, 0,0), " - ", path)); sets(windowtitle(c), concat("Orthographic View - ", path)); //repaintview(c);@B OnClose@t/*int orthonr = 0; treenode activeviews = node("VIEW:/active"); setitem(1); while(le(item,content(activeviews))) { setcurrent(rank(activeviews,item)); if(and(comparetext("ortho",getname(current)),ne(item,getrank(c)))) { orthonr++; setnodestr(windowtitle(current), concat("Orthographic View - ",numtostring(orthonr,0,0)," - ",getname(node(">viewfocus+",current),1))); } if(and(comparetext(gets(windowtitle(current)), "View Window Settings"), eq(node(">objectfocus+", current), c))) { destroyobject(current); setitem(item - 1); } setitem(item + 1); } repaintall();*/@B OnKeyDown@set(first(itemcurrent(c)), 0);@B OnKeyUp@set(first(itemcurrent(c)), 0); // I'm going to unselect the tools folder if the last key down was a delete and the content of the model is one if(and(eq(lastkeydown(),46), eq(content(model()), 1))) { setselectedobject(c, 0); } @B itemcurrent@?@B lastclicked@B clickedx@Ћ@B clickedy@@@B viewfog@B gridfog@Bgridlinewidth@Bgridlinecolor@@B@?B@?B@?B OnClick@${//pt("OnClick clickcode = : ");pd(clickcode());pt(" ");pr(); #define MODE_NORMAL 0 if(get(viewwindowopen(c))) { treenode connectionjustmade = node("MAIN:/project/exec/globals/nodevariables/connectionjustmade"); setcurrent(node("MAIN:/project/exec/globals/nodevariables/connectionjustmade"));// I just made a drag connection int mode = modeleditmode(-1); treenode lastclickedobject = first(itemcurrent(c)); if(get(connectionjustmade))// I just did a drop node { set(connectionjustmade, 0); set(lastclickedobject, 0); return(0); } if(clickcode() == DOUBLE_CLICK && objectexists(selectedobject(c))) { if(or( node("VIEW:/active/LAST>objectfocus+") == selectedobject(c), node("VIEW:/active/LAST>viewfocus+") == selectedobject(c) )) { sets(node(">listeningwindow",c), nodetopath(last(node("VIEW:/active")),1)); set(first(node(">listeningwindow",c)), 1); } } if(clickcode() == LEFT_RELEASE) {// the left mouse button was just released int dx = cursorinfo(c,1,1,1) - getnodenum(rank(itemcurrent(c),2)); int dy = cursorinfo(c,1,2,1) - getnodenum(rank(itemcurrent(c),3)); if(fabs(dx)<3 && fabs(dy)<3) // if you release in nearly the same spot as you clicked - (if you didn't move the view) { if(iskeydown('F') || iskeydown('R') || mode == EDITMODE_CREATEOBJECTS || mode == EDITMODE_CREATEANDCONNECTOBJECTS) { if(objectexists(selectedobject(c))) { if(not(isclasstype(selectedobject(c), CLASSTYPE_VISUALTOOL))) return(0); } treenode libraryview = NULL; // Here I'm trying to find the Library treenode active = node("VIEW:/active"); for(int i = 1; i <= content(active) && !libraryview; i++) { treenode curnode = rank(active, i); if(objectexists(tabwindow(curnode)) && get(tabwindow(curnode)) == -102) // palettewindows tabbed in one window { for(int w=1;w<=content(node("/tabcontrol",curnode));w++) { treenode checkview = rank(node("/tabcontrol",curnode),w); if(objectexists(windowtitle(checkview)) && comparetext("Library", gets(windowtitle(checkview)))) { libraryview = checkview; } } } else if(objectexists(windowtitle(curnode)) && comparetext("Library", gets(windowtitle(curnode)))) { libraryview = curnode; } } if(objectexists(selectedobject(node("/GroupIconGrid", libraryview)))) { setdropcoords(c); //pt(" drop x = ");pf(dropx());pt(" drop y = ");pf(dropy());pt(" drop z = ");pf(dropz());pr(); treenode newobj = nodefunction(node(">dragfunction", libraryview), selectedobject(node("/GroupIconGrid", libraryview)), selectedobject(c), dropx(),dropy(),dropz(), c ); if(iskeydown('R') || mode==EDITMODE_CREATEANDCONNECTOBJECTS) { if(objectexists(newobj) && objectexists(get(lastclickedobject))) { contextdragconnection(get(lastclickedobject), newobj, "A"); } else { set(lastclickedobject, 0); } set(lastclickedobject, newobj); } return (0); } } } } if(clickcode() == LEFT_PRESS) {// the left mouse button was just pressed down setnodenum(rank(itemcurrent(c),2),cursorinfo(c,1,1,1)); // clickedx setnodenum(rank(itemcurrent(c),3),cursorinfo(c,1,2,1)); // clickedy if(iskeydown('G') || mode == EDITMODE_FASTPROPSWITCH)// edit objects mode { treenode listeningwindowatt = node(">listeningwindow",c); treenode listeningwindow = node(gets(listeningwindowatt)); if(objectexists(listeningwindow)) { treenode focus = node(">objectfocus+",listeningwindow); if(not(objectexists(focus))) focus = node(">viewfocus+",listeningwindow); if(objectexists(selectedobject(c)) && selectedobject(c) != focus) { if(!get(first(listeningwindowatt)) || comparetext(gets(guifocusclass(selectedobject(c))) , gets(guifocusclass(focus)))) { if(objectexists(viewfocus(listeningwindow))) sets(viewfocus(listeningwindow), nodetopath(selectedobject(c))); if(objectexists(objectfocus(listeningwindow))) sets(objectfocus(listeningwindow), nodetopath(selectedobject(c))); applylinks(listeningwindow, 1);// refresh links redirectpicklists(listeningwindow); //refreshview(item); if(objectexists(OnOpen(listeningwindow))) executefsnode(OnOpen(listeningwindow), listeningwindow, selectedobject(c)); forobjecttreeunder(listeningwindow) repaintview(a); } } } else { sets(listeningwindowatt, ""); } } } }@B$:/1/MAIN:/project/exec/globals/nodevariables/connectionjustmadeMAIN:/project/exec/globals/nodevariables/connectionjustmadeojecVIEW:/active/LAST>objectfocus+athVIEW:/active/LAST>viewfocus+ v:/pr>listeningwindowVIEW:/active>listeningwindowst veenfsls/Ocreaprog of  fraten iabl  lasVIEW:/activeErroctedas neen ed. avi ot werlys noDesit-cln thnd st asiabl>var/tabcontrolper/tabcontrolgavLibrarywsesLibraryOPT_EGER/GroupIconGridARY>dragfunction/Sta/GroupIconGridMUTA _USEE: A  >listeningwindowto tTYPETROL>objectfocus+OPT_>viewfocus+loba_PEROWERs BOUNTYPEEde the {|-o?l` >| 6  ,  ?    o  |, =  }D =8}` =T5 #)+o#x0p +X #H+<o4(#+ou o|h}o K #,  0$#6 ## #~#p## d#o\#<D####o<$6  $$ $~$$$ $o$<$$$$o Q&)l &'\&&P&4D&&'4&&(&4& J(+(#( (4((+ (#((4((+((R(|(F 3 **+*o /,*@,0,,+$,o-0?L002?x22l2\3633 ?S5?055 5455=5 &76) 6#66||6#p6=d66X6#L6=@6868 8 ,:?h : H:X:4L: 3:<:=0::  + ;) ;B;t;1;=; ;3;;1;=x; =>=P=== 85 888  18&888=88848  ( %A)l AB\AtPA1DA=8AA,A A1A=AC>CC=|C35333 C3) 3*3=33&33=3343 Y?FF+FF=FFHHoO? O Oj Oo M9x M8p M7h L+\ LoT K+H K8 K=, KK J J= JJ U"P+ P# PP4 PP PR GR)0 R$ R| R= RR R= R Th Td T=X T T|L T=@ T Q X} XX=| XZ} Z= Z Z= ZI\ kc# cc0 f f< ffffo f ff  fo gp g<X ggggoP g@ gg 4 go,  y{i+ i# ii4 ii iGk? k k ko k l? l l lt l= l  gdm4 m=( m o?l oo\ o=P o o@  T p* p p=| pp> pp p= p p  gNq), q( q= qq+ qo q q+ qo  fDu+ uB ut u u= ust s s+t sol s*` s|T sH s=< s  U w w9 w= w xu8x,x+ xox9 x=x  ] y`y8Ty=Hy zuzz+zoz8xz=lz {{{={ ||=|  ` ~~=~=~ DD+8o0=$ ==  a=X  a lda J @u=x arnBviewconnectioncolor@@B@B@B@B distcutoff@nj@B lastloc@@Bx@By@Bsx@Bsy@Bdocumentwindow@Y@@B tabwindow@@Y@@BOnDropWindow@%// dragging from a window to another window if(objectexists(i)) executefsnode(node("MAIN:/project/exec/globals/nodefunctions/droptab_in_document"),c,i,0,0); // dragging a tab out of a window else executefsnode(node("MAIN:/project/exec/globals/nodefunctions/droptab_out_document"),c,i,0,0);BOrtho@\buttons\view_ortho.bmpBviewwindowclean@@Bflypath@BCanister arrival @objectBsuperclasses@@BFixedResource@ABFlexsimObject@@oABclasses@@BSource@ȒABFixedResource@rABFlexsimObject@@oAB variables@@)B arrivalmode@?Binterarrivaltime@2treenode current = ownerobject(c); /**Statistical Distribution: */ return /**/exponential(0,10,1)/**/; /** bernoulli(prob, succeed-value, fail-value, stream) beta(min, max, shape1, shape2, stream) binomial (trials, prob, stream) cempirical (tablename, stream) dempirical (tablename, stream) duniform (min, max, stream) empirical (tablename, stream) erlang (location, scale, shape, stream) exponential (location, scale, stream) gamma (location, scale, shape, stream) geometric (prob, stream) inversegaussian (location, scale, shape, stream) invertedweibull (location, scale, shape, stream) johnsonbounded (min, max, shape1, shape2, stream) johnsonunbounded (location, scale, shape1, shape2, stream) loglaplace (location, scale, shape, stream) loglogistic (location, scale, shape, stream) lognormal (location, scale, shape, stream) lognormal2 (location, scale, shape, stream) negbinomial (successes, prob, stream) normal (mean, stddev, stream) pearsont5 (location, scale, shape, stream) pearsont6 (location, scale, shape1, shape2, stream) poisson (mean, stream) triangular (min, max, mode, stream) uniform (min, max, stream) weibull (location, scale, shape, stream) */@B8 MAINloba?o>$ aryBtimezerocreate@Binterarrivalitemtype@?B itemclass@@B schedule@@B Arrival1@@B ArrivalTime@B ItemName@ProductB ItemType@?B Quantity@?Brepeat@B sequence@@B Arrival1@@B ItemName@ProductB ItemType@?B Quantity@?Bsequencecurrow@?Bcreationtrigger@treenode item = parnode(1); treenode current = ownerobject(c); int rownumber = parval(2); //row number of the schedule/sequence table @B flowitembin@@BCanister arrivalsubnode@Bcreateparticle@B nrreleased@Bpull@B sendtoport@ztreenode item = parnode(1); treenode current = ownerobject(c); /**First available*/ /** \nOpen all ports.*/ return 0 ;@Breceivefromport@@treenode current = ownerobject(c); /**Any Port*/ return 0; @Bpullrequirement@treenode current = ownerobject(c); treenode item = parnode(1); int port = parval(2); /**No Requirement*/ /** \nAlways return true.*/ return 1;@B\MAINodev/conade?o?0l$6Lk@ ? B entrytrigger@Ztreenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); @B exittrigger@[treenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); @B usetransport@@Btransportpriority@Bpreempttransport@Btransportdispatcher@gtreenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); /**Port by Expression*/ /** \nCenter port number: */ int portnum = /**/1/**/; /** \n\nNote: The expression may be a constant value or the result of a command (getitemtype(item), getlabelnum(item, "labelname"), etc).*/ return tonum(centerobject(current,portnum));@BMAINodev/conaderoup:/prlobaaria? l?0$o6Lk@6\}D c  4x  =l ORTBnroftransportsout@Bnroftransportsin@B outwaitinfo@Bsendtocontinuous@Bpullcontinuous@Blifo@Bmessagetrigger@%treenode current = ownerobject(c); @Bondrawtrigger@treenode current = ownerobject(c); treenode view = parnode(1); // If this function returns a true, the default draw code of the object will not be executed. B timetables@B networknodes@Btimeoflaststop@B nrofstops@Bstatebeforestop@Bcollisionspheres@Bcollisionobjects@B resettrigger@%treenode current = ownerobject(c); B savedstate@Bresetposition@B behaviour@@Beventfunctions@Bcppfunctions@@Bcppvariables@@Bfsnode * flowitemtocreate@Bdouble inport@Bfsnode* lastreleased@Bfsnode* curtransporter@Bdouble* protectlocs@Bunsigned char portinfoflag@Bvisual@@ Bcolor@a@Bred@333333?Bgreen@ffffff?Bblue@333333?Bshape@ufs3d\Source.3DSB shapeindex@v;@Bpicture@cbitmaps\sourcepicturesmall.bmpB imageobject@q***Bimageindexobject@rB imagebase@s***Bimageindexbase@tB nochildscale@_?B special@@Btitle@dFixed Resource SourceB description@bB guifocus@|%VIEW:/standardviews/ObjectPropertiesBguifocusclass@}VIEW:/pages/SourceParametersB spatial@@B spatialx@MB spatialy@NB spatialz@OB spatialsx@P?B spatialsy@Q?B spatialsz@R?B spatialrx@SB spatialry@TB spatialrz@UB centroid@e?Boffsetx@VBoffsety@WBoffsetz@XB offsetsx@\?B offsetsy@]?B offsetsz@^/$@B offsetrx@YB offsetry@ZB offsetrz@[B objectinfo@@B Output: 0@BBlocked: 0.0%@B ignoredraw@fB displaygroup@ standardBdisplaygrouplist@@B standard@Blabels@@B connections@@Bconnectionsin@ @Bconnectionsout@ @Bconnectionscenter@ @Bevents@ @Bstats@@Bstate@@Bstate_current@,@Bstate_changetime@B state_since@-Bstate_profile@.State@2Bidle@B processing@Bbusy@Bblocked@B generating@Bempty@B collecting@B releasing@Bwaiting_for_operator@Bwaiting_for_transporter@B breakdown@Bscheduled_down@B conveying@B travel_empty@Btravel_loaded@Boffset_travel_empty@Boffset_travel_loaded@Bloading@B unloading@Bdown@Bsetup@Butilize@Bfull@B not_empty@Bfilling@Bstarved@Bmixing@Bflowing@Ballocated_idle@B off_shift@B change_over@Brepair@B maintenance@Blunch@B on_break@Bsuspend@B available@Bpreprocessing@Bpostprocessing@B inspecting@B operating@Bstandby@Bpurging@B cleaning@B accelerating@B maxspeed@B decelerating@Bstopped@Bwaiting@B accumulating@B state_graph@0Bcontent@@Bstats_contentmin@4Bstats_contentmax@5Bstats_contentavg@6Bstats_contentupdates@7Bstats_contentsince@8Bstats_contentgraph@9Content vs. TimeBstats_contentgraphmaxpoints@:Y@Bstats_content@2B staytime@@Bstats_staytimemin@<Bstats_staytimemax@=Bstats_staytimeavg@>Bstats_staytimeupdates@?Bstats_staytimegraph@A StaytimeBstats_staytimehisto@C@B parameters@@B startvalue@B endvalue@Y@Bbuckets@4@Bdata@ Staytime@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B interval@@Bmean@Blo@Bhi@Bpercent@W@Bauto@?Bstats_staytimegraphmaxpoints@BY@Bstats_staytimesince@@B throughput@@B stats_input@KB stats_output@LBstats_throughput@DBstats_throughputgraph@E ThroughputBstats_throughputgraphmaxpoints@FBstats_creationtime@JBstats_lastmovetime@IBstored@@BFilling canister@objectBclasses@@B Processor@˒ABFixedResource@rABFlexsimObject@@oAB superclasses@@BFixedResource@ABFlexsimObject@@oAB variables@@9B cycletime@$treenode current = ownerobject(c); treenode item = parnode(1); /**By Expression*/ /** \nExpression: */ double value = /**/10/**/; /** \n\nNote: The expression may be a constant value or the result of a command (getitemtype(item), getlabelnum(item, "labelname"), etc).*/ return value;@B\MAINodevade?o?0l$9@ 6\7P} B setuptime@treenode current = ownerobject(c); treenode item = parnode(1); treenode port = parval(2); /**No Setup Time (return zero)*/ return 0;@B maxcontent@?@Buseprocessoperators@Busesetupoperators@Bnrofprocessoperators@?Bprocessoperatorpriority@Bpreemptprocessoperators@Bprocessdispatcher@Ptreenode current = ownerobject(c); treenode item = parnode(1); /**Port by Expression*/ /** \nCenter port number: */ int portnum = /**/1/**/; /** \n\nNote: The expression may be a constant value or the result of a command (getitemtype(item), getlabelnum(item, "labelname"), etc).*/ return tonum(centerobject(current,portnum));@BlMAINodevade:/pr?o?0l$6@6\ cx h 4\  =P ); Bsetupfinishtrigger@Btreenode item = parnode(1); treenode current = ownerobject(c); @Bprocessfinishtrigger@Btreenode item = parnode(1); treenode current = ownerobject(c); @Bmtbf@mtreenode current = ownerobject(c); /**No Breakdowns*/ /** \nReturn a 0 for MTBF and MTTR.*/ return 0; @Bbreakdowntrigger@%treenode current = ownerobject(c); @Bmttr@ltreenode current = ownerobject(c); /**No Breakdowns*/ /** \nReturn a 0 for MTBF and MTTR.*/ return 0; @Brepairtrigger@%treenode current = ownerobject(c); @Busedownoperators@Bnrofdownoperators@?Bdownoperatorpriority@Bpreemptdownoperators@Bdowndispatcher@Ptreenode current = ownerobject(c); treenode item = parnode(1); /**Port by Expression*/ /** \nCenter port number: */ int portnum = /**/1/**/; /** \n\nNote: The expression may be a constant value or the result of a command (getitemtype(item), getlabelnum(item, "labelname"), etc).*/ return tonum(centerobject(current,portnum));@BlMAINodevade:/pr?o?0l$6@6\cxh4\=P); Bcurdowndispatcher@@B nextdown@Bconvey@?Bnextrepairtime@B usesameop@?Bnrofsetupoperators@?Bprocessingdownflag@?B mtbfstates@@B@@@B totaltime@B nrreleased@Bpull@B sendtoport@ztreenode item = parnode(1); treenode current = ownerobject(c); /**First available*/ /** \nOpen all ports.*/ return 0 ;@Breceivefromport@@treenode current = ownerobject(c); /**Any Port*/ return 0; @Bpullrequirement@treenode current = ownerobject(c); treenode item = parnode(1); int port = parval(2); /**No Requirement*/ /** \nAlways return true.*/ return 1;@B\MAINodevade?o?0l$6Lk@6\ B entrytrigger@Ztreenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); @B exittrigger@[treenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); @B usetransport@@Btransportpriority@Bpreempttransport@Btransportdispatcher@gtreenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); /**Port by Expression*/ /** \nCenter port number: */ int portnum = /**/1/**/; /** \n\nNote: The expression may be a constant value or the result of a command (getitemtype(item), getlabelnum(item, "labelname"), etc).*/ return tonum(centerobject(current,portnum));@BMAINodevade:/prlobaaria? l?0$o6Lk@6\}D c  4x  =l ORTBnroftransportsout@Bnroftransportsin@B outwaitinfo@Bsendtocontinuous@Bpullcontinuous@Blifo@Bmessagetrigger@%treenode current = ownerobject(c); @Bondrawtrigger@treenode current = ownerobject(c); treenode view = parnode(1); // If this function returns a true, the default draw code of the object will not be executed. B timetables@B networknodes@Btimeoflaststop@B nrofstops@Bstatebeforestop@Bcollisionspheres@Bcollisionobjects@B resettrigger@%treenode current = ownerobject(c); B savedstate@Bresetposition@B behaviour@@Beventfunctions@Bcppfunctions@@B cppvariables@@Bdouble inport@Bfsnode* lastreleased@Bfsnode* curtransporter@Bdouble* protectlocs@Bunsigned char portinfoflag@Bvisual@@ Bcolor@a@Bred@RQ?Bgreen@333333?Bblue@'1Z?Bshape@ufs3d\procsr_color.3dsB shapeindex@v:@Bpicture@c"bitmaps\processorpicturesmall.bmpB imageobject@q***Bimageindexobject@rB imagebase@s***Bimageindexbase@tB nochildscale@_?B special@@Btitle@dFixed Resource MultiserviceB description@bB guifocus@|%VIEW:/standardviews/ObjectPropertiesBguifocusclass@} VIEW:/pages/ProcessorParametersB spatial@@B spatialx@M@B spatialy@NB spatialz@OB spatialsx@P@B spatialsy@Q@B spatialsz@R{Gz@B spatialrx@SB spatialry@TB spatialrz@UB offsetx@VB offsety@WB offsetz@XB offsetsx@\?B offsetsy@]?B offsetsz@^?B offsetrx@YB offsetry@ZB offsetrz@[B centroid@e?B objectinfo@@B Output: 0@B %Idle: 0.0@B%Processing: 0.0@B ignoredraw@fB displaygroup@ standardBdisplaygrouplist@@B standard@Blabels@@B connections@@Bconnectionsin@ @Bconnectionsout@ @Bconnectionscenter@ @Bevents@ @Bstats@@Bstate@@Bstate_current@,?Bstate_changetime@B state_since@-Bstate_profile@.State@2Bidle@B processing@Bbusy@Bblocked@B generating@Bempty@B collecting@B releasing@Bwaiting_for_operator@Bwaiting_for_transporter@B breakdown@Bscheduled_down@B conveying@B travel_empty@Btravel_loaded@Boffset_travel_empty@Boffset_travel_loaded@Bloading@B unloading@Bdown@Bsetup@Butilize@Bfull@B not_empty@Bfilling@Bstarved@Bmixing@Bflowing@Ballocated_idle@B off_shift@B change_over@Brepair@B maintenance@Blunch@B on_break@Bsuspend@B available@Bpreprocessing@Bpostprocessing@B inspecting@B operating@Bstandby@Bpurging@B cleaning@B accelerating@B maxspeed@B decelerating@Bstopped@Bwaiting@B accumulating@B state_graph@0Bcontent@@Bstats_contentmin@4Bstats_contentmax@5Bstats_contentavg@6Bstats_contentupdates@7Bstats_contentsince@8Bstats_contentgraph@9Content vs. TimeBstats_contentgraphmaxpoints@:Y@Bstats_content@2B staytime@@Bstats_staytimemin@<Bstats_staytimemax@=Bstats_staytimeavg@>Bstats_staytimeupdates@?Bstats_staytimegraph@A StaytimeBstats_staytimehisto@C@B parameters@@B startvalue@B endvalue@Y@Bbuckets@4@Bdata@ Staytime@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B interval@@Bmean@Blo@Bhi@Bpercent@W@Bauto@?Bstats_staytimegraphmaxpoints@BY@Bstats_staytimesince@@B throughput@@B stats_input@KB stats_output@LBstats_throughput@DBstats_throughputgraph@E ThroughputBstats_throughputgraphmaxpoints@FBstats_creationtime@JBstats_lastmovetime@IBstored@BCooling@objectB superclasses@@BFixedResource@ABFlexsimObject@@oABclasses@@B Conveyor@ՒABFixedResource@rABFlexsimObject@@oAB variables@@ OnPreDrawBBspeed@?@B maxcontent@@@@B accumulating@?Bconveyendtrigger@Btreenode item = parnode(1); treenode current = ownerobject(c); @B lastexittime@Blastentrytime@Clastexitsize@Bconveytimesle@Bconveyorlength@@Bneedinputevent@B filledlength@B spacingmode@?Bspacing@?Bzoffset@B siderelative@?B sideheight@?B nroflegs@@B legsrelative@B legheight@B texturedist@@B prodzoffset@B sections@@B@@ Btype@?Blength@@Brise@Bangle@V@Bradius@@B nroflegs@@B seclength@@B startlength@Bstartx@Bstarty@Bstartz@?B startangle@Blastentrysize@B photoeyes@?Bphotoeyecovertrigger@etreenode current = ownerobject(c); //current conveyor object treenode item = parnode(1); //flowitem that is covering the photoeye int photoeye = parval(2); //photoeye number (row in the table) int covermode = parval(3); //mode 1 = green to yellow, mode 2 = yellow to red #define GreenToYellow 1 #define YellowToRed 2 #define either covermode Bphotoeyeuncovertrigger@dtreenode current = ownerobject(c); //current conveyor object treenode item = parnode(1); //flowitem that was covering the photoeye int photoeye = parval(2); //photoeye number (row in the table) int covermode = parval(3); //mode 1 = yellow to green, mode 2 = red to green #define YellowToGreen 1 #define RedToGreen 2 #define either covermode Borientationmode@?Bzorient@Byorient@B userlength@Bscaleitemsize@Bsectiontotallength@@Bblockedlength@Bnotifyofblockedlength@Bzerospeedtime@Blastpositivespeed@BconvkinematicAdo not touchue("../Port Chooser>getfocZB>t(itemcurrent(node("../portnames",c)))); if(port == 0) { return(0); } setcurrent(0); if(objectexists(ownerobject(tonode(get(rank(item, port)))))) { setitem(ownerobject(tonode(get(rank(item, port))))); createview( gets(node(">special/guifocusclass",item)), nodetopath(item, 1), nodetopath(item, 1) ); }m^B nrreleased@Bpull@B sendtoport@ztreenode item = parnode(1); treenode current = ownerobject(c); /**First available*/ /** \nOpen all ports.*/ return 0 ;@Breceivefromport@@treenode current = ownerobject(c); /**Any Port*/ return 0; @Bpullrequirement@treenode current = ownerobject(c); treenode item = parnode(1); int port = parval(2); /**No Requirement*/ /** \nAlways return true.*/ return 1;@B\MAINodevade?o?0l$6Lk@6\ B entrytrigger@Ztreenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); @B exittrigger@[treenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); @B usetransport@@Btransportpriority@Bpreempttransport@Btransportdispatcher@gtreenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); /**Port by Expression*/ /** \nCenter port number: */ int portnum = /**/1/**/; /** \n\nNote: The expression may be a constant value or the result of a command (getitemtype(item), getlabelnum(item, "labelname"), etc).*/ return tonum(centerobject(current,portnum));@BMAINodevade:/prlobaaria? l?0$o6Lk@6\}D c  4x  =l ORTBnroftransportsout@Bnroftransportsin@B outwaitinfo@Bsendtocontinuous@Bpullcontinuous@Blifo@Bmessagetrigger@%treenode current = ownerobject(c); @Bondrawtrigger@treenode current = ownerobject(c); treenode view = parnode(1); // If this function returns a true, the default draw code of the object will not be executed. B timetables@B networknodes@Btimeoflaststop@B nrofstops@Bstatebeforestop@Bcollisionspheres@Bcollisionobjects@B resettrigger@%treenode current = ownerobject(c); B savedstate@Bresetposition@B behaviour@@Beventfunctions@Bcppfunctions@@Bcppvariables@@Bfsnode* cursection@Bdouble cursecstartx@Bdouble cursecstarty@Bdouble cursecstartz@Bdouble cursecstartangle@Bdouble cursectype@Bdouble cursecstartlength@Bdouble curseclength@Bdouble cursecrise@Bdouble cursecangle@Bdouble cursecradius@Bdouble accummaxloc@Bdouble inport@Bfsnode* lastreleased@Bfsnode* curtransporter@Bdouble* protectlocs@Bunsigned char portinfoflag@Bvisual@@ Bcolor@a@OnDrawBred@?Bgreen@?Bblue@?Bpicture@c$bitmaps\newconveyorpicturesmall.bmpBshape@u***B shapeindex@vB nochildscale@_?B imagebase@s***Bimageindexbase@tB imageobject@qfs3d\RollerConveyor.bmpBimageindexobject@rC@Bspecial@@Btitle@dFixed Resource MultiserviceB description@bB guifocus@|%VIEW:/standardviews/ObjectPropertiesBguifocusclass@}VIEW:/pages/ConveyorParametersB objectinfo@@BCurContent: 0@BMaxContent: 0@BAvgContent: 0.0@B ignoredraw@fB displaygroup@ standardBdisplaygrouplist@@B standard@Bfixedresource@Blabels@@Bspatial@@ B spatialx@M*@B spatialy@NB spatialz@OB spatialsx@P?B spatialsy@Q?B spatialsz@R?B spatialrx@SB spatialry@TB spatialrz@UB centroid@e?B connections@@Bconnectionsin@ @Bconnectionsout@ @Bconnectionscenter@ @Bevents@ @Bstats@@Bstate@@Bstate_current@,@Bstate_changetime@B state_since@-Bstate_profile@.State@2Bidle@B processing@Bbusy@Bblocked@B generating@Bempty@B collecting@B releasing@Bwaiting_for_operator@Bwaiting_for_transporter@B breakdown@Bscheduled_down@B conveying@B travel_empty@Btravel_loaded@Boffset_travel_empty@Boffset_travel_loaded@Bloading@B unloading@Bdown@Bsetup@Butilize@Bfull@B not_empty@Bfilling@Bstarved@Bmixing@Bflowing@Ballocated_idle@B off_shift@B change_over@Brepair@B maintenance@Blunch@B on_break@Bsuspend@B available@Bpreprocessing@Bpostprocessing@B inspecting@B operating@Bstandby@Bpurging@B cleaning@B accelerating@B maxspeed@B decelerating@Bstopped@Bwaiting@B accumulating@B state_graph@0Bcontent@@Bstats_contentmin@4Bstats_contentmax@5Bstats_contentavg@6Bstats_contentupdates@7Bstats_contentsince@8Bstats_contentgraph@9Content vs. TimeBstats_contentgraphmaxpoints@:Y@Bstats_content@2B staytime@@Bstats_staytimemin@<Bstats_staytimemax@=Bstats_staytimeavg@>Bstats_staytimeupdates@?Bstats_staytimegraph@A StaytimeBstats_staytimehisto@C@B parameters@@B startvalue@B endvalue@Y@Bbuckets@4@Bdata@ Staytime@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B interval@@Bmean@Blo@Bhi@Bpercent@W@Bauto@?Bstats_staytimegraphmaxpoints@BY@Bstats_staytimesince@@B throughput@@B stats_input@KB stats_output@LBstats_throughput@DBstats_throughputgraph@E ThroughputBstats_throughputgraphmaxpoints@FBstats_creationtime@JBstats_lastmovetime@IBstored@B Apply Lid@objectBclasses@@B Processor@˒ABFixedResource@rABFlexsimObject@@oAB superclasses@@BFixedResource@ABFlexsimObject@@oAB variables@@9B cycletime@$treenode current = ownerobject(c); treenode item = parnode(1); /**By Expression*/ /** \nExpression: */ double value = /**/10/**/; /** \n\nNote: The expression may be a constant value or the result of a command (getitemtype(item), getlabelnum(item, "labelname"), etc).*/ return value;@B\MAINodevade?o?0l$9@ 6\7P} B setuptime@treenode current = ownerobject(c); treenode item = parnode(1); treenode port = parval(2); /**No Setup Time (return zero)*/ return 0;@B maxcontent@?@Buseprocessoperators@Busesetupoperators@Bnrofprocessoperators@?Bprocessoperatorpriority@Bpreemptprocessoperators@Bprocessdispatcher@Ptreenode current = ownerobject(c); treenode item = parnode(1); /**Port by Expression*/ /** \nCenter port number: */ int portnum = /**/1/**/; /** \n\nNote: The expression may be a constant value or the result of a command (getitemtype(item), getlabelnum(item, "labelname"), etc).*/ return tonum(centerobject(current,portnum));@BlMAINodevade:/pr?o?0l$6@6\ cx h 4\  =P ); Bsetupfinishtrigger@Btreenode item = parnode(1); treenode current = ownerobject(c); @Bprocessfinishtrigger@Btreenode item = parnode(1); treenode current = ownerobject(c); @Bmtbf@mtreenode current = ownerobject(c); /**No Breakdowns*/ /** \nReturn a 0 for MTBF and MTTR.*/ return 0; @Bbreakdowntrigger@%treenode current = ownerobject(c); @Bmttr@ltreenode current = ownerobject(c); /**No Breakdowns*/ /** \nReturn a 0 for MTBF and MTTR.*/ return 0; @Brepairtrigger@%treenode current = ownerobject(c); @Busedownoperators@Bnrofdownoperators@?Bdownoperatorpriority@Bpreemptdownoperators@Bdowndispatcher@Ptreenode current = ownerobject(c); treenode item = parnode(1); /**Port by Expression*/ /** \nCenter port number: */ int portnum = /**/1/**/; /** \n\nNote: The expression may be a constant value or the result of a command (getitemtype(item), getlabelnum(item, "labelname"), etc).*/ return tonum(centerobject(current,portnum));@BlMAINodevade:/pr?o?0l$6@6\cxh4\=P); Bcurdowndispatcher@@B nextdown@Bconvey@?Bnextrepairtime@B usesameop@?Bnrofsetupoperators@?Bprocessingdownflag@?B mtbfstates@@B@@@B totaltime@B nrreleased@Bpull@B sendtoport@ztreenode item = parnode(1); treenode current = ownerobject(c); /**First available*/ /** \nOpen all ports.*/ return 0 ;@Breceivefromport@@treenode current = ownerobject(c); /**Any Port*/ return 0; @Bpullrequirement@treenode current = ownerobject(c); treenode item = parnode(1); int port = parval(2); /**No Requirement*/ /** \nAlways return true.*/ return 1;@B\MAINodevade?o?0l$6Lk@6\ B entrytrigger@Ztreenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); @B exittrigger@[treenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); @B usetransport@@Btransportpriority@Bpreempttransport@Btransportdispatcher@gtreenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); /**Port by Expression*/ /** \nCenter port number: */ int portnum = /**/1/**/; /** \n\nNote: The expression may be a constant value or the result of a command (getitemtype(item), getlabelnum(item, "labelname"), etc).*/ return tonum(centerobject(current,portnum));@BMAINodevade:/prlobaaria? l?0$o6Lk@6\}D c  4x  =l Bnroftransportsout@Bnroftransportsin@B outwaitinfo@Bsendtocontinuous@Bpullcontinuous@Blifo@Bmessagetrigger@%treenode current = ownerobject(c); @Bondrawtrigger@treenode current = ownerobject(c); treenode view = parnode(1); // If this function returns a true, the default draw code of the object will not be executed. B timetables@B networknodes@Btimeoflaststop@B nrofstops@Bstatebeforestop@Bcollisionspheres@Bcollisionobjects@B resettrigger@%treenode current = ownerobject(c); B savedstate@Bresetposition@B behaviour@@Beventfunctions@Bcppfunctions@@B cppvariables@@Bdouble inport@Bfsnode* lastreleased@Bfsnode* curtransporter@Bdouble* protectlocs@Bunsigned char portinfoflag@Bvisual@@ Bcolor@a@Bred@RQ?Bgreen@333333?Bblue@'1Z?Bshape@ufs3d\procsr_color.3dsB shapeindex@v:@Bpicture@c"bitmaps\processorpicturesmall.bmpB imageobject@q***Bimageindexobject@rB imagebase@s***Bimageindexbase@tB nochildscale@_?B special@@Btitle@dFixed Resource MultiserviceB description@bB guifocus@|%VIEW:/standardviews/ObjectPropertiesBguifocusclass@} VIEW:/pages/ProcessorParametersB spatial@@B spatialx@M @B spatialy@NB spatialz@OB spatialsx@P@B spatialsy@Q@B spatialsz@R{Gz@B spatialrx@SB spatialry@TB spatialrz@UB offsetx@VB offsety@WB offsetz@XB offsetsx@\?B offsetsy@]?B offsetsz@^?B offsetrx@YB offsetry@ZB offsetrz@[B centroid@e?B objectinfo@@B Output: 0@B %Idle: 0.0@B%Processing: 0.0@B ignoredraw@fB displaygroup@ standardBdisplaygrouplist@@B standard@Blabels@@B connections@@Bconnectionsin@ @Bconnectionsout@ @Bconnectionscenter@ @Bevents@ @Bstats@@Bstate@@Bstate_current@,?Bstate_changetime@B state_since@-Bstate_profile@.State@2Bidle@B processing@Bbusy@Bblocked@B generating@Bempty@B collecting@B releasing@Bwaiting_for_operator@Bwaiting_for_transporter@B breakdown@Bscheduled_down@B conveying@B travel_empty@Btravel_loaded@Boffset_travel_empty@Boffset_travel_loaded@Bloading@B unloading@Bdown@Bsetup@Butilize@Bfull@B not_empty@Bfilling@Bstarved@Bmixing@Bflowing@Ballocated_idle@B off_shift@B change_over@Brepair@B maintenance@Blunch@B on_break@Bsuspend@B available@Bpreprocessing@Bpostprocessing@B inspecting@B operating@Bstandby@Bpurging@B cleaning@B accelerating@B maxspeed@B decelerating@Bstopped@Bwaiting@B accumulating@B state_graph@0Bcontent@@Bstats_contentmin@4Bstats_contentmax@5Bstats_contentavg@6Bstats_contentupdates@7Bstats_contentsince@8Bstats_contentgraph@9Content vs. TimeBstats_contentgraphmaxpoints@:Y@Bstats_content@2B staytime@@Bstats_staytimemin@<Bstats_staytimemax@=Bstats_staytimeavg@>Bstats_staytimeupdates@?Bstats_staytimegraph@A StaytimeBstats_staytimehisto@C@B parameters@@B startvalue@B endvalue@Y@Bbuckets@4@Bdata@ Staytime@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B interval@@Bmean@Blo@Bhi@Bpercent@W@Bauto@?Bstats_staytimegraphmaxpoints@BY@Bstats_staytimesince@@B throughput@@B stats_input@KB stats_output@LBstats_throughput@DBstats_throughputgraph@E ThroughputBstats_throughputgraphmaxpoints@FBstats_creationtime@JBstats_lastmovetime@IBstored@BWelding@objectBclasses@@B Processor@˒ABFixedResource@rABFlexsimObject@@oAB superclasses@@BFixedResource@ABFlexsimObject@@oAB variables@@9B cycletime@$treenode current = ownerobject(c); treenode item = parnode(1); /**By Expression*/ /** \nExpression: */ double value = /**/10/**/; /** \n\nNote: The expression may be a constant value or the result of a command (getitemtype(item), getlabelnum(item, "labelname"), etc).*/ return value;@B\MAINodevade?o?0l$9@ 6\7P} B setuptime@treenode current = ownerobject(c); treenode item = parnode(1); treenode port = parval(2); /**No Setup Time (return zero)*/ return 0;@B maxcontent@?@Buseprocessoperators@Busesetupoperators@Bnrofprocessoperators@?Bprocessoperatorpriority@Bpreemptprocessoperators@Bprocessdispatcher@Ptreenode current = ownerobject(c); treenode item = parnode(1); /**Port by Expression*/ /** \nCenter port number: */ int portnum = /**/1/**/; /** \n\nNote: The expression may be a constant value or the result of a command (getitemtype(item), getlabelnum(item, "labelname"), etc).*/ return tonum(centerobject(current,portnum));@BlMAINodevade:/pr?o?0l$6@6\ cx h 4\  =P ); Bsetupfinishtrigger@Btreenode item = parnode(1); treenode current = ownerobject(c); @Bprocessfinishtrigger@Btreenode item = parnode(1); treenode current = ownerobject(c); @Bmtbf@mtreenode current = ownerobject(c); /**No Breakdowns*/ /** \nReturn a 0 for MTBF and MTTR.*/ return 0; @Bbreakdowntrigger@%treenode current = ownerobject(c); @Bmttr@ltreenode current = ownerobject(c); /**No Breakdowns*/ /** \nReturn a 0 for MTBF and MTTR.*/ return 0; @Brepairtrigger@%treenode current = ownerobject(c); @Busedownoperators@Bnrofdownoperators@?Bdownoperatorpriority@Bpreemptdownoperators@Bdowndispatcher@Ptreenode current = ownerobject(c); treenode item = parnode(1); /**Port by Expression*/ /** \nCenter port number: */ int portnum = /**/1/**/; /** \n\nNote: The expression may be a constant value or the result of a command (getitemtype(item), getlabelnum(item, "labelname"), etc).*/ return tonum(centerobject(current,portnum));@BlMAINodevade:/pr?o?0l$6@6\cxh4\=P); Bcurdowndispatcher@@B nextdown@Bconvey@?Bnextrepairtime@B usesameop@?Bnrofsetupoperators@?Bprocessingdownflag@?B mtbfstates@@B@@@B totaltime@B nrreleased@Bpull@B sendtoport@ztreenode item = parnode(1); treenode current = ownerobject(c); /**First available*/ /** \nOpen all ports.*/ return 0 ;@Breceivefromport@@treenode current = ownerobject(c); /**Any Port*/ return 0; @Bpullrequirement@treenode current = ownerobject(c); treenode item = parnode(1); int port = parval(2); /**No Requirement*/ /** \nAlways return true.*/ return 1;@B\MAINodevade?o?0l$6Lk@6\ B entrytrigger@Ztreenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); @B exittrigger@[treenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); @B usetransport@@Btransportpriority@Bpreempttransport@Btransportdispatcher@gtreenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); /**Port by Expression*/ /** \nCenter port number: */ int portnum = /**/1/**/; /** \n\nNote: The expression may be a constant value or the result of a command (getitemtype(item), getlabelnum(item, "labelname"), etc).*/ return tonum(centerobject(current,portnum));@BMAINodevade:/prlobaaria? l?0$o6Lk@6\}D c  4x  =l Bnroftransportsout@Bnroftransportsin@B outwaitinfo@Bsendtocontinuous@Bpullcontinuous@Blifo@Bmessagetrigger@%treenode current = ownerobject(c); @Bondrawtrigger@treenode current = ownerobject(c); treenode view = parnode(1); // If this function returns a true, the default draw code of the object will not be executed. B timetables@B networknodes@Btimeoflaststop@B nrofstops@Bstatebeforestop@Bcollisionspheres@Bcollisionobjects@B resettrigger@%treenode current = ownerobject(c); B savedstate@Bresetposition@B behaviour@@Beventfunctions@Bcppfunctions@@B cppvariables@@Bdouble inport@Bfsnode* lastreleased@Bfsnode* curtransporter@Bdouble* protectlocs@Bunsigned char portinfoflag@Bvisual@@ Bcolor@a@Bred@RQ?Bgreen@333333?Bblue@'1Z?Bshape@ufs3d\procsr_color.3dsB shapeindex@v:@Bpicture@c"bitmaps\processorpicturesmall.bmpB imageobject@q***Bimageindexobject@rB imagebase@s***Bimageindexbase@tB nochildscale@_?B special@@Btitle@dFixed Resource MultiserviceB description@bB guifocus@|%VIEW:/standardviews/ObjectPropertiesBguifocusclass@} VIEW:/pages/ProcessorParametersB spatial@@B spatialx@M3@B spatialy@NB spatialz@OB spatialsx@P@B spatialsy@Q@B spatialsz@R{Gz@B spatialrx@SB spatialry@TB spatialrz@UB offsetx@VB offsety@WB offsetz@XB offsetsx@\?B offsetsy@]?B offsetsz@^?B offsetrx@YB offsetry@ZB offsetrz@[B centroid@e?B objectinfo@@B Output: 0@B %Idle: 0.0@B%Processing: 0.0@B ignoredraw@fB displaygroup@ standardBdisplaygrouplist@@B standard@Blabels@@B connections@@Bconnectionsin@ @Bconnectionsout@ @Bconnectionscenter@ @Bevents@ @Bstats@@Bstate@@Bstate_current@,?Bstate_changetime@B state_since@-Bstate_profile@.State@2Bidle@B processing@Bbusy@Bblocked@B generating@Bempty@B collecting@B releasing@Bwaiting_for_operator@Bwaiting_for_transporter@B breakdown@Bscheduled_down@B conveying@B travel_empty@Btravel_loaded@Boffset_travel_empty@Boffset_travel_loaded@Bloading@B unloading@Bdown@Bsetup@Butilize@Bfull@B not_empty@Bfilling@Bstarved@Bmixing@Bflowing@Ballocated_idle@B off_shift@B change_over@Brepair@B maintenance@Blunch@B on_break@Bsuspend@B available@Bpreprocessing@Bpostprocessing@B inspecting@B operating@Bstandby@Bpurging@B cleaning@B accelerating@B maxspeed@B decelerating@Bstopped@Bwaiting@B accumulating@B state_graph@0Bcontent@@Bstats_contentmin@4Bstats_contentmax@5Bstats_contentavg@6Bstats_contentupdates@7Bstats_contentsince@8Bstats_contentgraph@9Content vs. TimeBstats_contentgraphmaxpoints@:Y@Bstats_content@2B staytime@@Bstats_staytimemin@<Bstats_staytimemax@=Bstats_staytimeavg@>Bstats_staytimeupdates@?Bstats_staytimegraph@A StaytimeBstats_staytimehisto@C@B parameters@@B startvalue@B endvalue@Y@Bbuckets@4@Bdata@ Staytime@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B interval@@Bmean@Blo@Bhi@Bpercent@W@Bauto@?Bstats_staytimegraphmaxpoints@BY@Bstats_staytimesince@@B throughput@@B stats_input@KB stats_output@LBstats_throughput@DBstats_throughputgraph@E ThroughputBstats_throughputgraphmaxpoints@FBstats_creationtime@JBstats_lastmovetime@IBstored@BTesting@objectBclasses@@B Processor@˒ABFixedResource@rABFlexsimObject@@oAB superclasses@@BFixedResource@ABFlexsimObject@@oAB variables@@9B cycletime@$treenode current = ownerobject(c); treenode item = parnode(1); /**By Expression*/ /** \nExpression: */ double value = /**/10/**/; /** \n\nNote: The expression may be a constant value or the result of a command (getitemtype(item), getlabelnum(item, "labelname"), etc).*/ return value;@B\MAINodevade?o?0l$9@ 6\7P} B setuptime@treenode current = ownerobject(c); treenode item = parnode(1); treenode port = parval(2); /**No Setup Time (return zero)*/ return 0;@B maxcontent@?@Buseprocessoperators@Busesetupoperators@Bnrofprocessoperators@?Bprocessoperatorpriority@Bpreemptprocessoperators@Bprocessdispatcher@Ptreenode current = ownerobject(c); treenode item = parnode(1); /**Port by Expression*/ /** \nCenter port number: */ int portnum = /**/1/**/; /** \n\nNote: The expression may be a constant value or the result of a command (getitemtype(item), getlabelnum(item, "labelname"), etc).*/ return tonum(centerobject(current,portnum));@BlMAINodevade:/pr?o?0l$6@6\ cx h 4\  =P ); Bsetupfinishtrigger@Btreenode item = parnode(1); treenode current = ownerobject(c); @Bprocessfinishtrigger@Btreenode item = parnode(1); treenode current = ownerobject(c); @Bmtbf@mtreenode current = ownerobject(c); /**No Breakdowns*/ /** \nReturn a 0 for MTBF and MTTR.*/ return 0; @Bbreakdowntrigger@%treenode current = ownerobject(c); @Bmttr@ltreenode current = ownerobject(c); /**No Breakdowns*/ /** \nReturn a 0 for MTBF and MTTR.*/ return 0; @Brepairtrigger@%treenode current = ownerobject(c); @Busedownoperators@Bnrofdownoperators@?Bdownoperatorpriority@Bpreemptdownoperators@Bdowndispatcher@Ptreenode current = ownerobject(c); treenode item = parnode(1); /**Port by Expression*/ /** \nCenter port number: */ int portnum = /**/1/**/; /** \n\nNote: The expression may be a constant value or the result of a command (getitemtype(item), getlabelnum(item, "labelname"), etc).*/ return tonum(centerobject(current,portnum));@BlMAINodevade:/pr?o?0l$6@6\cxh4\=P); Bcurdowndispatcher@@B nextdown@Bconvey@?Bnextrepairtime@B usesameop@?Bnrofsetupoperators@?Bprocessingdownflag@?B mtbfstates@@B@@@B totaltime@B nrreleased@Bpull@B sendtoport@ztreenode item = parnode(1); treenode current = ownerobject(c); /**First available*/ /** \nOpen all ports.*/ return 0 ;@Breceivefromport@@treenode current = ownerobject(c); /**Any Port*/ return 0; @Bpullrequirement@treenode current = ownerobject(c); treenode item = parnode(1); int port = parval(2); /**No Requirement*/ /** \nAlways return true.*/ return 1;@B\MAINodevade?o?0l$6Lk@6\ B entrytrigger@Ztreenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); @B exittrigger@[treenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); @B usetransport@@Btransportpriority@Bpreempttransport@Btransportdispatcher@gtreenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); /**Port by Expression*/ /** \nCenter port number: */ int portnum = /**/1/**/; /** \n\nNote: The expression may be a constant value or the result of a command (getitemtype(item), getlabelnum(item, "labelname"), etc).*/ return tonum(centerobject(current,portnum));@BMAINodevade:/prlobaaria? l?0$o6Lk@6\}D c  4x  =l Bnroftransportsout@Bnroftransportsin@B outwaitinfo@Bsendtocontinuous@Bpullcontinuous@Blifo@Bmessagetrigger@%treenode current = ownerobject(c); @Bondrawtrigger@treenode current = ownerobject(c); treenode view = parnode(1); // If this function returns a true, the default draw code of the object will not be executed. B timetables@B networknodes@Btimeoflaststop@B nrofstops@Bstatebeforestop@Bcollisionspheres@Bcollisionobjects@B resettrigger@%treenode current = ownerobject(c); B savedstate@Bresetposition@B behaviour@@Beventfunctions@Bcppfunctions@@B cppvariables@@Bdouble inport@Bfsnode* lastreleased@Bfsnode* curtransporter@Bdouble* protectlocs@Bunsigned char portinfoflag@Bvisual@@ Bcolor@a@Bred@RQ?Bgreen@333333?Bblue@'1Z?Bshape@ufs3d\procsr_color.3dsB shapeindex@v:@Bpicture@c"bitmaps\processorpicturesmall.bmpB imageobject@q***Bimageindexobject@rB imagebase@s***Bimageindexbase@tB nochildscale@_?B special@@Btitle@dFixed Resource MultiserviceB description@bB guifocus@|%VIEW:/standardviews/ObjectPropertiesBguifocusclass@} VIEW:/pages/ProcessorParametersB spatial@@B spatialx@M8@B spatialy@NB spatialz@OB spatialsx@P@B spatialsy@Q@B spatialsz@R{Gz@B spatialrx@SB spatialry@TB spatialrz@UB offsetx@VB offsety@WB offsetz@XB offsetsx@\?B offsetsy@]?B offsetsz@^?B offsetrx@YB offsetry@ZB offsetrz@[B centroid@e?B objectinfo@@B Output: 0@B %Idle: 0.0@B%Processing: 0.0@B ignoredraw@fB displaygroup@ standardBdisplaygrouplist@@B standard@Blabels@@B connections@@Bconnectionsin@ @Bconnectionsout@ @Bconnectionscenter@ @Bevents@ @Bstats@@Bstate@@Bstate_current@,?Bstate_changetime@B state_since@-Bstate_profile@.State@2Bidle@B processing@Bbusy@Bblocked@B generating@Bempty@B collecting@B releasing@Bwaiting_for_operator@Bwaiting_for_transporter@B breakdown@Bscheduled_down@B conveying@B travel_empty@Btravel_loaded@Boffset_travel_empty@Boffset_travel_loaded@Bloading@B unloading@Bdown@Bsetup@Butilize@Bfull@B not_empty@Bfilling@Bstarved@Bmixing@Bflowing@Ballocated_idle@B off_shift@B change_over@Brepair@B maintenance@Blunch@B on_break@Bsuspend@B available@Bpreprocessing@Bpostprocessing@B inspecting@B operating@Bstandby@Bpurging@B cleaning@B accelerating@B maxspeed@B decelerating@Bstopped@Bwaiting@B accumulating@B state_graph@0Bcontent@@Bstats_contentmin@4Bstats_contentmax@5Bstats_contentavg@6Bstats_contentupdates@7Bstats_contentsince@8Bstats_contentgraph@9Content vs. TimeBstats_contentgraphmaxpoints@:Y@Bstats_content@2B staytime@@Bstats_staytimemin@<Bstats_staytimemax@=Bstats_staytimeavg@>Bstats_staytimeupdates@?Bstats_staytimegraph@A StaytimeBstats_staytimehisto@C@B parameters@@B startvalue@B endvalue@Y@Bbuckets@4@Bdata@ Staytime@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B interval@@Bmean@Blo@Bhi@Bpercent@W@Bauto@?Bstats_staytimegraphmaxpoints@BY@Bstats_staytimesince@@B throughput@@B stats_input@KB stats_output@LBstats_throughput@DBstats_throughputgraph@E ThroughputBstats_throughputgraphmaxpoints@FBstats_creationtime@JBstats_lastmovetime@IBstored@BBuffer@objectB superclasses@@BFixedResource@ABFlexsimObject@@oABclasses@@BQueue@ ʒABFixedResource@rABFlexsimObject@@oAB variables@@,B maxcontent@$@@B usebatching@B batchsize@@B maxwaittime@Bflush@Bcurrentbatchsize@Bendcollectingtrigger@Btreenode item = parnode(1); treenode current = ownerobject(c); @B placemode@?B stackinitz@B curxfringe@Bcuryloc@B curmaxysize@Bcurzloc@B curmaxzsize@Bproductspacing@B nrreleased@Bpull@B sendtoport@ztreenode item = parnode(1); treenode current = ownerobject(c); /**First available*/ /** \nOpen all ports.*/ return 0 ;@Breceivefromport@@treenode current = ownerobject(c); /**Any Port*/ return 0; @Bpullrequirement@treenode current = ownerobject(c); treenode item = parnode(1); int port = parval(2); /**No Requirement*/ /** \nAlways return true.*/ return 1;@B\MAINodevade?o?0l$6Lk@6\ B entrytrigger@Ztreenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); @B exittrigger@[treenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); @B usetransport@@Btransportpriority@Bpreempttransport@Btransportdispatcher@gtreenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); /**Port by Expression*/ /** \nCenter port number: */ int portnum = /**/1/**/; /** \n\nNote: The expression may be a constant value or the result of a command (getitemtype(item), getlabelnum(item, "labelname"), etc).*/ return tonum(centerobject(current,portnum));@BMAINodevade:/prlobaaria? l?0$o6Lk@6\}D c  4x  =l Bnroftransportsout@Bnroftransportsin@B outwaitinfo@@Bsendtocontinuous@Bpullcontinuous@Blifo@Bmessagetrigger@%treenode current = ownerobject(c); @Bondrawtrigger@treenode current = ownerobject(c); treenode view = parnode(1); // If this function returns a true, the default draw code of the object will not be executed. B timetables@B networknodes@Btimeoflaststop@B nrofstops@Bstatebeforestop@Bcollisionspheres@Bcollisionobjects@B resettrigger@%treenode current = ownerobject(c); B savedstate@Bresetposition@B behaviour@@Beventfunctions@Bcppfunctions@@Bcppvariables@@Bint lastpredrawoutput@Bint lastpredrawinput@Bdouble inport@Bfsnode* lastreleased@Bfsnode* curtransporter@Bdouble* protectlocs@Bunsigned char portinfoflag@Bspecial@@Btitle@dFixed Resource QueueB description@bB guifocus@|%VIEW:/standardviews/ObjectPropertiesBguifocusclass@}VIEW:/pages/QueueParametersBvisual@@ Bcolor@a@Bred@MbX9?Bgreen@MbX9?Bblue@MbX9?Bshape@ufs3d\queue_n_color.3dsB shapeindex@v<@Bpicture@cbitmaps\queuepicturesmall.bmpB imageobject@q***Bimageindexobject@rB imagebase@s***Bimageindexbase@tB nochildscale@_?B spatial@@B spatialx@M=@B spatialy@NB spatialz@OB spatialsx@P@B spatialsy@Q?B spatialsz@R?B spatialrx@SB spatialry@TB spatialrz@UB offsetx@VB offsety@WBoffsetz@XB offsetsx@\?B offsetsy@]?B offsetsz@^?B offsetrx@YB offsetry@ZB offsetrz@[B centroid@e?B objectinfo@@BCurContent: 0@BMaxContent: 0@BAvgStaytime: 0.0@B ignoredraw@fB displaygroup@ standardBdisplaygrouplist@@B standard@Blabels@@B connections@@Bconnectionsin@ @Bconnectionsout@ @Bconnectionscenter@ @Bevents@ @Bstats@@Bstate@@Bstate_current@,@Bstate_changetime@B state_since@-Bstate_profile@.State@2Bidle@B processing@Bbusy@Bblocked@B generating@Bempty@B collecting@B releasing@Bwaiting_for_operator@Bwaiting_for_transporter@B breakdown@Bscheduled_down@B conveying@B travel_empty@Btravel_loaded@Boffset_travel_empty@Boffset_travel_loaded@Bloading@B unloading@Bdown@Bsetup@Butilize@Bfull@B not_empty@Bfilling@Bstarved@Bmixing@Bflowing@Ballocated_idle@B off_shift@B change_over@Brepair@B maintenance@Blunch@B on_break@Bsuspend@B available@Bpreprocessing@Bpostprocessing@B inspecting@B operating@Bstandby@Bpurging@B cleaning@B accelerating@B maxspeed@B decelerating@Bstopped@Bwaiting@B accumulating@B state_graph@0Bcontent@@Bstats_contentmin@4Bstats_contentmax@5Bstats_contentavg@6Bstats_contentupdates@7Bstats_contentsince@8Bstats_contentgraph@9Content vs. TimeBstats_contentgraphmaxpoints@:Y@Bstats_content@2B staytime@@Bstats_staytimemin@<Bstats_staytimemax@=Bstats_staytimeavg@>Bstats_staytimeupdates@?Bstats_staytimegraph@A StaytimeBstats_staytimehisto@C@B parameters@@B startvalue@B endvalue@Y@Bbuckets@4@Bdata@ Staytime@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B interval@@Bmean@Blo@Bhi@Bpercent@W@Bauto@?Bstats_staytimegraphmaxpoints@BY@Bstats_staytimesince@@B throughput@@B stats_input@KB stats_output@LBstats_throughput@DBstats_throughputgraph@E ThroughputBstats_throughputgraphmaxpoints@FBstats_creationtime@JBstats_lastmovetime@IBstored@@BRobot9@objectBclasses@@BRobot@咐AB TaskExecuter@õAB Dispatcher@ABFlexsimObject@@oAB superclasses@@B TaskExecuter@@ߒAB Dispatcher@ABFlexsimObject@@oAB variables@@HBextensionspeed@?Binitialextension@@Bdestextension@@Bmaxextension@@Brotationspeed@4@Binitialrotation@B destrotation@Bmovestarttime@B destyrot@B inityrot@Bgldraw@B yrotspeed@4@Bactivetasksequence@B maxcontent@?B loadtime@Etreenode item = parnode(1); treenode current = ownerobject(c); treenode station = parnode(2); /**By Expression*/ /** \nExpression: */ double value = /**/0/**/; /** \n\nNote: The expression may be a constant value or the result of a command (getitemtype(item), getlabelnum(item, "labelname"), etc).*/ return value;@B`xMAINodevade? l?0$o?Ll@9\}D 7l B loadtrigger@btreenode item = parnode(1); treenode current = ownerobject(c); treenode station = parnode(2); @B unloadtime@Etreenode item = parnode(1); treenode current = ownerobject(c); treenode station = parnode(2); /**By Expression*/ /** \nExpression: */ double value = /**/0/**/; /** \n\nNote: The expression may be a constant value or the result of a command (getitemtype(item), getlabelnum(item, "labelname"), etc).*/ return value;@B`xMAINodevade? l?0$o?Ll@9\}D 7l Bunloadtrigger@btreenode item = parnode(1); treenode current = ownerobject(c); treenode station = parnode(2); @B maxspeed@@B acceleration@?B deceleration@?B navigator@Boldbreakrequirement@Bbreakto@treenode activets = parnode(1); treenode current = ownerobject(c); /**New Tasksequences Only*/ /** \nOnly break to task sequences that have not been started already.*/ treenode tsqueue = gettasksequencequeue(current); treenode returnts = NULL; for(int index = 1; index <= content(tsqueue) && ! returnts; index++) { treenode curts = rank(tsqueue, index); if(gettotalnroftasks(curts) == getnroftasks(curts)) returnts = curts; } return tonum(returnts);@Bl:MAINodevlobaarianect nterd ard to? l?0$o?XL=@?h 6x    ?    4  =   #` T =H  < =0  >|  =p   5     )  * =  &  =  4 }c=celB travelinfo@@B travelstartx@B travelstarty@B travelstartz@Btraveldistance@Btraveldirection@B travelendx@B travelendy@B travelendz@B travelacc@B traveldec@Btravelstarttime@~Btravelendtime@Btraveltimealpha@Btraveltimebeta@B travelvpeak@B travelvmax@B travelvstart@B travelvend@Bmodifyrotation@B useoffsets@?Boffsettingnow@Boffsetbegintime@Boffsettotaltime@B offsetlocx@B offsetlocy@B offsetlocz@B offsetbeginx@B offsetbeginy@B offsetbeginz@Boffsetbeginxrot@Boffsetbeginyrot@Boffsetbeginzrot@B loadedspeed@@B emptyspeed@@Bcurloadunloadtime@Blastupdatedspeed@B travelvstart@B travelvend@Blastspeedupdatetime@Bcollisiontrigger@treenode thisobject=ownerobject(c); treenode otherobject=parnode(1); treenode thissphere=parnode(2); treenode othersphere=parnode(3); Bcollcheckinterval@?Bdrawcollspheres@B incollision@Bcollcheckstate@Btotaltraveldist@B kinematics@Bflipthreshold@f@Bpassimmediately@@Bpassto@"treenode tasksequence = parnode(1); treenode current = ownerobject(c); /**First Available*/ /** \nIf there are no objects currently available, then queue the tasksequence up using the Queue Strategy and wait until someone connected to its output ports becomes available.*/ return 0;@Btasksequencequeue@Bqueuestrategy@treenode tasksequence = parnode(1); treenode current = ownerobject(c); /**Sort by TaskSequence Priority*/ return getpriority(tasksequence);@BX MAINodev? l?0$o?XL=@Bcoordinatedtasks@Bonresourceavailable@treenode current = ownerobject(c); int port = parval(1); treenode resource = parnode(2); treenode nextts = parnode(3); treenode lastts = parnode(4); Bmessagetrigger@%treenode current = ownerobject(c); @Bondrawtrigger@treenode current = ownerobject(c); treenode view = parnode(1); // If this function returns a true, the default draw code of the object will not be executed. B timetables@B networknodes@Btimeoflaststop@B nrofstops@Bstatebeforestop@Bcollisionspheres@Bcollisionobjects@B resettrigger@%treenode current = ownerobject(c); B savedstate@Bresetposition@B behaviour@@Beventfunctions@Bcppfunctions@@B cppvariables@@Bdouble offsetloc[3] @Bfsnode* activetask@Bdouble* protectlocs@Bunsigned char portinfoflag@Bvisual@@ Bcolor@a@Bred@B`"?Bgreen@(\?Bblue@&1?Bshape@ufs3d\robot.wrlB shapeindex@vB@B picture@cbitmaps\Robotpicturesmall.bmpB imageobject@q***Bimageindexobject@rB imagebase@s***Bimageindexbase@tB nochildscale@_?B special@@Btitle@dObjectB description@bB guifocus@|%VIEW:/standardviews/ObjectPropertiesBguifocusclass@}VIEW:/pages/RobotParametersB spatial@@B spatialx@M&@B spatialy@NB spatialz@OB spatialsx@Pffffff?B spatialsy@Qsh-=?B spatialsz@R< ףp=?B spatialrx@SB spatialry@TB spatialrz@UBoffsetx@VB offsety@W?Boffsetz@XB offsetsx@\?B offsetsy@]ffffff?B offsetsz@^?B offsetrx@YB offsetry@ZB offsetrz@[V@B centroid@e?B ignoredraw@fB displaygroup@ standardBdisplaygrouplist@@B standard@B objectinfo@@B Output: 0@B Status: idle@?Blabels@@B connections@@Bconnectionsin@ @Bconnectionsout@ @Bconnectionscenter@ @Bevents@ @Bstats@@Bstate@@Bstate_current@,?Bstate_changetime@B state_since@-Bstate_profile@.State@2Bidle@B processing@Bbusy@Bblocked@B generating@Bempty@B collecting@B releasing@Bwaiting_for_operator@Bwaiting_for_transporter@B breakdown@Bscheduled_down@B conveying@B travel_empty@Btravel_loaded@Boffset_travel_empty@Boffset_travel_loaded@Bloading@B unloading@Bdown@Bsetup@Butilize@Bfull@B not_empty@Bfilling@Bstarved@Bmixing@Bflowing@Ballocated_idle@B off_shift@B change_over@Brepair@B maintenance@Blunch@B on_break@Bsuspend@B available@Bpreprocessing@Bpostprocessing@B inspecting@B operating@Bstandby@Bpurging@B cleaning@B accelerating@B maxspeed@B decelerating@Bstopped@Bwaiting@B accumulating@B state_graph@0Bcontent@@Bstats_contentmin@4Bstats_contentmax@5Bstats_contentavg@6Bstats_contentupdates@7Bstats_contentsince@8Bstats_contentgraph@9Content vs. TimeBstats_contentgraphmaxpoints@:Y@Bstats_content@2B staytime@@Bstats_staytimemin@<Bstats_staytimemax@=Bstats_staytimeavg@>Bstats_staytimeupdates@?Bstats_staytimegraph@A StaytimeBstats_staytimehisto@C@B parameters@@B startvalue@B endvalue@Y@Bbuckets@4@Bdata@ Staytime@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B interval@@Bmean@Blo@Bhi@Bpercent@W@Bauto@?Bstats_staytimegraphmaxpoints@BY@Bstats_staytimesince@@B throughput@@B stats_input@KB stats_output@LBstats_throughput@DBstats_throughputgraph@E ThroughputBstats_throughputgraphmaxpoints@FBstats_creationtime@JBstats_lastmovetime@IBstored@BRobot10@objectBclasses@@BRobot@咐AB TaskExecuter@õAB Dispatcher@ABFlexsimObject@@oAB superclasses@@B TaskExecuter@@ߒAB Dispatcher@ABFlexsimObject@@oAB variables@@HBextensionspeed@?Binitialextension@@Bdestextension@@Bmaxextension@@Brotationspeed@4@Binitialrotation@B destrotation@Bmovestarttime@B destyrot@B inityrot@Bgldraw@B yrotspeed@4@Bactivetasksequence@B maxcontent@?B loadtime@Etreenode item = parnode(1); treenode current = ownerobject(c); treenode station = parnode(2); /**By Expression*/ /** \nExpression: */ double value = /**/0/**/; /** \n\nNote: The expression may be a constant value or the result of a command (getitemtype(item), getlabelnum(item, "labelname"), etc).*/ return value;@B`xMAINodev? l?0$o?Ll@9\ ?  7l !B loadtrigger@btreenode item = parnode(1); treenode current = ownerobject(c); treenode station = parnode(2); @B unloadtime@Etreenode item = parnode(1); treenode current = ownerobject(c); treenode station = parnode(2); /**By Expression*/ /** \nExpression: */ double value = /**/0/**/; /** \n\nNote: The expression may be a constant value or the result of a command (getitemtype(item), getlabelnum(item, "labelname"), etc).*/ return value;@B`xMAINodev? l?0$o?Ll@9\ ?  7l VBunloadtrigger@btreenode item = parnode(1); treenode current = ownerobject(c); treenode station = parnode(2); @B maxspeed@@B acceleration@?B deceleration@?B navigator@Boldbreakrequirement@Bbreakto@treenode activets = parnode(1); treenode current = ownerobject(c); /**New Tasksequences Only*/ /** \nOnly break to task sequences that have not been started already.*/ treenode tsqueue = gettasksequencequeue(current); treenode returnts = NULL; for(int index = 1; index <= content(tsqueue) && ! returnts; index++) { treenode curts = rank(tsqueue, index); if(gettotalnroftasks(curts) == getnroftasks(curts)) returnts = curts; } return tonum(returnts);@Bl:MAINodevlobaarianect nterd ard to? l?0$o?XL=@?h 6x    ?    4  =   #` T =H  < =0  >|  =p   5     )  * =  &  =  4 }c=rt)B travelinfo@@B travelstartx@B travelstarty@B travelstartz@Btraveldistance@Btraveldirection@B travelendx@B travelendy@B travelendz@B travelacc@B traveldec@Btravelstarttime@~Btravelendtime@Btraveltimealpha@Btraveltimebeta@B travelvpeak@B travelvmax@B travelvstart@B travelvend@Bmodifyrotation@B useoffsets@?Boffsettingnow@Boffsetbegintime@Boffsettotaltime@B offsetlocx@B offsetlocy@B offsetlocz@B offsetbeginx@B offsetbeginy@B offsetbeginz@Boffsetbeginxrot@Boffsetbeginyrot@Boffsetbeginzrot@B loadedspeed@@B emptyspeed@@Bcurloadunloadtime@Blastupdatedspeed@B travelvstart@B travelvend@Blastspeedupdatetime@Bcollisiontrigger@treenode thisobject=ownerobject(c); treenode otherobject=parnode(1); treenode thissphere=parnode(2); treenode othersphere=parnode(3); Bcollcheckinterval@?Bdrawcollspheres@B incollision@Bcollcheckstate@Btotaltraveldist@B kinematics@Bflipthreshold@f@Bpassimmediately@@Bpassto@"treenode tasksequence = parnode(1); treenode current = ownerobject(c); /**First Available*/ /** \nIf there are no objects currently available, then queue the tasksequence up using the Queue Strategy and wait until someone connected to its output ports becomes available.*/ return 0;@Btasksequencequeue@Bqueuestrategy@treenode tasksequence = parnode(1); treenode current = ownerobject(c); /**Sort by TaskSequence Priority*/ return getpriority(tasksequence);@BX MAINodev? l?0$o?XL=@Bcoordinatedtasks@Bonresourceavailable@treenode current = ownerobject(c); int port = parval(1); treenode resource = parnode(2); treenode nextts = parnode(3); treenode lastts = parnode(4); Bmessagetrigger@%treenode current = ownerobject(c); @Bondrawtrigger@treenode current = ownerobject(c); treenode view = parnode(1); // If this function returns a true, the default draw code of the object will not be executed. B timetables@B networknodes@Btimeoflaststop@B nrofstops@Bstatebeforestop@Bcollisionspheres@Bcollisionobjects@B resettrigger@%treenode current = ownerobject(c); B savedstate@Bresetposition@B behaviour@@Beventfunctions@Bcppfunctions@@B cppvariables@@Bdouble offsetloc[3] @Bfsnode* activetask@Bdouble* protectlocs@Bunsigned char portinfoflag@Bvisual@@ Bcolor@a@Bred@B`"?Bgreen@(\?Bblue@&1?Bshape@ufs3d\robot.wrlB shapeindex@vB@B picture@cbitmaps\Robotpicturesmall.bmpB imageobject@q***Bimageindexobject@rB imagebase@s***Bimageindexbase@tB nochildscale@_?B special@@Btitle@dObjectB description@bB guifocus@|%VIEW:/standardviews/ObjectPropertiesBguifocusclass@}VIEW:/pages/RobotParametersB spatial@@B spatialx@M2@B spatialy@NB spatialz@OB spatialsx@Pffffff?B spatialsy@Qsh-=?B spatialsz@R< ףp=?B spatialrx@SB spatialry@TB spatialrz@UBoffsetx@VB offsety@W?Boffsetz@XB offsetsx@\?B offsetsy@]ffffff?B offsetsz@^?B offsetrx@YB offsetry@ZB offsetrz@[V@B centroid@e?B ignoredraw@fB displaygroup@ standardBdisplaygrouplist@@B standard@B objectinfo@@B Output: 0@B Status: idle@?Blabels@@B connections@@Bconnectionsin@ @Bconnectionsout@ @Bconnectionscenter@ @Bevents@ @Bstats@@Bstate@@Bstate_current@,?Bstate_changetime@B state_since@-Bstate_profile@.State@2Bidle@B processing@Bbusy@Bblocked@B generating@Bempty@B collecting@B releasing@Bwaiting_for_operator@Bwaiting_for_transporter@B breakdown@Bscheduled_down@B conveying@B travel_empty@Btravel_loaded@Boffset_travel_empty@Boffset_travel_loaded@Bloading@B unloading@Bdown@Bsetup@Butilize@Bfull@B not_empty@Bfilling@Bstarved@Bmixing@Bflowing@Ballocated_idle@B off_shift@B change_over@Brepair@B maintenance@Blunch@B on_break@Bsuspend@B available@Bpreprocessing@Bpostprocessing@B inspecting@B operating@Bstandby@Bpurging@B cleaning@B accelerating@B maxspeed@B decelerating@Bstopped@Bwaiting@B accumulating@B state_graph@0Bcontent@@Bstats_contentmin@4Bstats_contentmax@5Bstats_contentavg@6Bstats_contentupdates@7Bstats_contentsince@8Bstats_contentgraph@9Content vs. TimeBstats_contentgraphmaxpoints@:Y@Bstats_content@2B staytime@@Bstats_staytimemin@<Bstats_staytimemax@=Bstats_staytimeavg@>Bstats_staytimeupdates@?Bstats_staytimegraph@A StaytimeBstats_staytimehisto@C@B parameters@@B startvalue@B endvalue@Y@Bbuckets@4@Bdata@ Staytime@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B interval@@Bmean@Blo@Bhi@Bpercent@W@Bauto@?Bstats_staytimegraphmaxpoints@BY@Bstats_staytimesince@@B throughput@@B stats_input@KB stats_output@LBstats_throughput@DBstats_throughputgraph@E ThroughputBstats_throughputgraphmaxpoints@FBstats_creationtime@JBstats_lastmovetime@IBstored@BPit@objectB superclasses@@BFixedResource@ABFlexsimObject@@oABclasses@@BRack@`ڒABFixedResource@rABFlexsimObject@@oAB variables@@,B placeinbay@treenode item = parnode(1); treenode current = ownerobject(c); /**Random Bay if Available*/ /** \nMaximum items per cell: */ int cellcap = /**/1/**/; /** \n\nNote: If all cells are full, it will be placed in the originally chosen random bay.*/ int nrofbays = rackgetnrofbays(current); int firstguess = duniform(1, nrofbays); int curguess = firstguess; while(curguess <= nrofbays) { if( rackgetbaycontent(current, curguess) < (cellcap * rackgetnroflevels(current, curguess))) return curguess; curguess++; } curguess = firstguess - 1; while(curguess >= 1) { if( rackgetbaycontent(current, curguess) < (cellcap * rackgetnroflevels(current, curguess))) return curguess; curguess--; } return firstguess;@Bt\..>tnkx>tex>val  ? l?0$o6@ 6h  \ =P  6   4x   6  4   'TD44( =44= 64d5p &4454  '8(4 =44=54H5T $44hBplaceinlevel@8treenode item = parnode(1); treenode current = ownerobject(c); double baynumber = parval(2); /**Random Level if Available*/ /** \nMaximum items per cell: */ int cellcap = /**/1/**/; /** \n\nNote: If the randomly chosen level is occupied, then search higher numbered levels first, then lower numbered levels. If all cells are full, it will placed in the originally chosen random level.*/ int nroflevels = rackgetnroflevels(current,baynumber); int firstguess = duniform(1, nroflevels ); int curguess = firstguess; while(curguess <= nroflevels ) { if( rackgetcellcontent(current, baynumber, curguess) < cellcap ) return curguess; curguess++; } curguess = firstguess - 1; while(curguess >= 1) { if( rackgetcellcontent(current, baynumber, curguess) < cellcap ) return curguess; curguess--; } return firstguess; @BPZ..>tnkx>tex>val? l?0$o9Lk@6\ 6   7x  =l  6   4   6  4   'X 4L84,7 = 4h5t &4454  ' 447= 4$ 50 $4;4DBminimumstaytime@<treenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); /**By Expression*/ /** \nExpression: */ double value = /**/120/**/; /** \n\nNote: The expression may be a constant value or the result of a command (getitemtype(item), getlabelnum(item, "labelname"), etc).*/ return value;@B`x..>tnkx>tex? l?0$o6Lk@9\x 6 7l  Benddwelltimetrigger@Btreenode item = parnode(1); treenode current = ownerobject(c); @B maxcontent@i@Bcontenttable@@ B@@B@@B@B@@B@@B@B@@B@B@@B@B@@B@@B@B@@B@B@@B@B@@B@@B@B@@B@@B@B@@B@Blocationtable@@ B@@B@B@@@B@B@@@B@B@@@B@B@ @@B@B@$@@B@B@(@@B@B@,@@B@B@0@@B@B@2@@B@B sizetable@@ BBay1@@@BLevel1@?BBay2@@@BLevel1@?BBay3@@@BLevel1@?BBay4@@@BLevel1@?BBay5@@@BLevel1@?BBay6@@@BLevel1@?BBay7@@@BLevel1@?BBay8@@@BLevel1@?BBay9@@@BLevel1@?BBay10@@@BLevel1@?B rackdrawmode@?Bpickplaceyoffset@B tiltvalue@B tiltangle@Bmarkreadytogo@B floorstorage@?Bopacity@?B nrreleased@Bpull@B sendtoport@0treenode item = parnode(1); treenode current = ownerobject(c); /**By Expression*/ /** \nOutput Port: */ double value = /**/getitemtype(item)/**/; /** \n\nNote: The expression may be a constant value or the result of a command (getitemtype(item), getlabelnum(item, "labelname"), etc).*/ return value; @BDt..>tnkx>tex? l?0$o9XL=@9\ 7h lueBreceivefromport@@treenode current = ownerobject(c); /**Any Port*/ return 0; @Bpullrequirement@treenode current = ownerobject(c); treenode item = parnode(1); int port = parval(2); /**No Requirement*/ /** \nAlways return true.*/ return 1;@B\nkx>tex?o?0l$6Lk@6\ B entrytrigger@Ztreenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); @B exittrigger@[treenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); @B usetransport@?@Btransportpriority@Bpreempttransport@Btransportdispatcher@gtreenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); /**Port by Expression*/ /** \nCenter port number: */ int portnum = /**/1/**/; /** \n\nNote: The expression may be a constant value or the result of a command (getitemtype(item), getlabelnum(item, "labelname"), etc).*/ return tonum(centerobject(current,portnum));@B..>tnkx>tex? l?0$o6Lk@6\ 6 c  4x  =l Bnroftransportsout@Bnroftransportsin@B outwaitinfo@@B@Bsendtocontinuous@Bpullcontinuous@Blifo@Bmessagetrigger@%treenode current = ownerobject(c); @Bondrawtrigger@treenode current = ownerobject(c); treenode view = parnode(1); // If this function returns a true, the default draw code of the object will not be executed. B timetables@B networknodes@Btimeoflaststop@B nrofstops@Bstatebeforestop@Bcollisionspheres@Bcollisionobjects@B resettrigger@%treenode current = ownerobject(c); B savedstate@Bresetposition@B behaviour@@Beventfunctions@@Bcppfunctions@@Bcppvariables@@Bint lastpredrawoutput@Bint lastpredrawinput@Bdouble inport@Bfsnode* lastreleased@Bfsnode* curtransporter@Bdouble* protectlocs@Bunsigned char portinfoflag@Bvisual@@ Bcolor@a@Bred@?Bgreen@?Bblue@?Bshape@u***B shapeindex@vBpicture@c&bitmaps\WarehouseRackpicturesmall.bmpB imageobject@qbitmaps\rackshelf.bmpBimageindexobject@rD@B imagebase@s***Bimageindexbase@tB nochildscale@_?B spatial@@ B spatialsx@P4@B spatialsy@Q?B spatialsz@R@@B centroid@e?B spatialx@MH@B spatialy@N@B spatialz@O?B spatialrx@SB spatialry@TB spatialrz@UB special@@Btitle@dFixed Resource SinkB description@bB guifocus@|%VIEW:/standardviews/ObjectPropertiesBguifocusclass@}VIEW:/pages/RackParametersB objectinfo@@BCurContent: 0@BMaxContent: 0@BAvgContent: 0.0@B ignoredraw@fB displaygroup@ standardBdisplaygrouplist@@B standard@Blabels@@B connections@@Bconnectionsin@ @B@@B@?B@Bconnectionsout@ @B@@B@B@Bconnectionscenter@ @B@@B@B@Bevents@ @Bstats@@Bstate@@Bstate_current@,@Bstate_changetime@B state_since@-Bstate_profile@.State@2Bidle@B processing@Bbusy@Bblocked@B generating@Bempty@B collecting@B releasing@Bwaiting_for_operator@Bwaiting_for_transporter@B breakdown@Bscheduled_down@B conveying@B travel_empty@Btravel_loaded@Boffset_travel_empty@Boffset_travel_loaded@Bloading@B unloading@Bdown@Bsetup@Butilize@Bfull@B not_empty@Bfilling@Bstarved@Bmixing@Bflowing@Ballocated_idle@B off_shift@B change_over@Brepair@B maintenance@Blunch@B on_break@Bsuspend@B available@Bpreprocessing@Bpostprocessing@B inspecting@B operating@Bstandby@Bpurging@B cleaning@B accelerating@B maxspeed@B decelerating@Bstopped@Bwaiting@B accumulating@B state_graph@0Bcontent@@Bstats_contentmin@4Bstats_contentmax@5Bstats_contentavg@6Bstats_contentupdates@7Bstats_contentsince@8Bstats_contentgraph@9Content vs. TimeBstats_contentgraphmaxpoints@:Y@Bstats_content@2B staytime@@Bstats_staytimemin@<Bstats_staytimemax@=Bstats_staytimeavg@>Bstats_staytimeupdates@?Bstats_staytimegraph@A StaytimeBstats_staytimehisto@C@B parameters@@B startvalue@B endvalue@Y@Bbuckets@4@Bdata@ Staytime@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B interval@@Bmean@Blo@Bhi@Bpercent@W@Bauto@?Bstats_staytimegraphmaxpoints@BY@Bstats_staytimesince@@B throughput@@B stats_input@KB stats_output@LBstats_throughput@DBstats_throughputgraph@E ThroughputBstats_throughputgraphmaxpoints@FBstats_creationtime@JBstats_lastmovetime@IBstored@@BCrane @objectBclasses@@BCrane@`璐AB TaskExecuter@õAB Dispatcher@ABFlexsimObject@@oAB superclasses@@B TaskExecuter@@ߒAB Dispatcher@ABFlexsimObject@@oAB variables@@HB shellxloc@QxC@B shellyloc@(\{@B shellzloc@B shellsizex@>@B shellsizey@.@B shellsizez@@Bmoving@B liftheight@@Btravelsequence@L>XY>DB cranespeeds@@BGantry@@B Max_Speed@@BAcceleration@?BDeceleration@?B Trolley@@B@@B@?B@?B Hoist_Lift@@B@@B@?B@?B Hoist_Drop@@B@@B@?B@?BcranekinematicsA8 do not touch)???(aí`@uxD^@&R=7`@F@ףp= ?`H@@J_g?heobuxD^@4Z_@?@@Gz?@(\@(\@(\@: re4Z_@66)`@?NO?NO?NO?@@@tial4Z_@^qFe`@?@@?@@@@e); ^qFe`@&R=7`@?gY(?gY(?gY(?Q Q @%tnkx>tex? l?0$o?Ll@9\  7l  B loadtrigger@btreenode item = parnode(1); treenode current = ownerobject(c); treenode station = parnode(2); @B unloadtime@Etreenode item = parnode(1); treenode current = ownerobject(c); treenode station = parnode(2); /**By Expression*/ /** \nExpression: */ double value = /**/0/**/; /** \n\nNote: The expression may be a constant value or the result of a command (getitemtype(item), getlabelnum(item, "labelname"), etc).*/ return value;@B`x..>tnkx>tex? l?0$o?Ll@9\  7l  TBunloadtrigger@btreenode item = parnode(1); treenode current = ownerobject(c); treenode station = parnode(2); @B\ defugercinkx? l?0$o?Ll@ B maxspeed@@B acceleration@?B deceleration@?B navigator@Boldbreakrequirement@Bbreakto@treenode activets = parnode(1); treenode current = ownerobject(c); /**New Tasksequences Only*/ /** \nOnly break to task sequences that have not been started already.*/ treenode tsqueue = gettasksequencequeue(current); treenode returnts = NULL; for(int index = 1; index <= content(tsqueue) && ! returnts; index++) { treenode curts = rank(tsqueue, index); if(gettotalnroftasks(curts) == getnroftasks(curts)) returnts = curts; } return tonum(returnts);@Bl:..>tnkx>tex vdittipt? l?0$o?XL=@?h 6x    ?     4  =   #` T =H  < =0  >|  =p   5     )  * =   &  =  4 6c=B travelinfo@@B travelstartx@B travelstarty@B travelstartz@Btraveldistance@Btraveldirection@B travelendx@B travelendy@B travelendz@B travelacc@B traveldec@Btravelstarttime@~Btravelendtime@Btraveltimealpha@Btraveltimebeta@B travelvpeak@B travelvmax@B travelvstart@B travelvend@Bmodifyrotation@B useoffsets@?Boffsettingnow@Boffsetbegintime@uxD^@Boffsettotaltime@ +@B offsetlocx@@B offsetlocy@@B offsetlocz@Gz?B offsetbeginx@F@B offsetbeginy@B offsetbeginz@ףp= ?Boffsetbeginxrot@Boffsetbeginyrot@Boffsetbeginzrot@B loadedspeed@@B emptyspeed@@Bcurloadunloadtime@Blastupdatedspeed@B travelvstart@B travelvend@Blastspeedupdatetime@uxD^@Bcollisiontrigger@treenode thisobject=ownerobject(c); treenode otherobject=parnode(1); treenode thissphere=parnode(2); treenode othersphere=parnode(3); Bcollcheckinterval@?Bdrawcollspheres@B incollision@Bcollcheckstate@Btotaltraveldist@B kinematics@Bflipthreshold@f@Bpassimmediately@@Bpassto@"treenode tasksequence = parnode(1); treenode current = ownerobject(c); /**First Available*/ /** \nIf there are no objects currently available, then queue the tasksequence up using the Queue Strategy and wait until someone connected to its output ports becomes available.*/ return 0;@Btasksequencequeue@@Bqueuestrategy@treenode tasksequence = parnode(1); treenode current = ownerobject(c); /**Sort by TaskSequence Priority*/ return getpriority(tasksequence);@BX ..>tnkx>tex? l?0$o?XL=@@ Bcoordinatedtasks@@Bonresourceavailable@treenode current = ownerobject(c); int port = parval(1); treenode resource = parnode(2); treenode nextts = parnode(3); treenode lastts = parnode(4); Bmessagetrigger@%treenode current = ownerobject(c); @Bondrawtrigger@treenode current = ownerobject(c); treenode view = parnode(1); // If this function returns a true, the default draw code of the object will not be executed. B timetables@B networknodes@Btimeoflaststop@B nrofstops@Bstatebeforestop@Bcollisionspheres@Bcollisionobjects@B resettrigger@%treenode current = ownerobject(c); B savedstate@Bresetposition@B behaviour@@Beventfunctions@Bcppfunctions@@B cppvariables@@Bdouble lastxloc@Bdouble lastyloc@Bdouble lastzloc@Bdouble justcreated@Bdouble offsetloc[3] @Bfsnode* activetask@Bdouble* protectlocs@Bunsigned char portinfoflag@Bvisual@@ Bshape@ufs3d\texturebox.wrlB shapeindex@v@Bpicture@cbitmaps\Cranepicturesmall.bmpB imageobject@qfs3d\concrete.bmpBimageindexobject@rE@B imagebase@s***Bimageindexbase@tBcolor@a@Bred@ffffff?Bgreen@ffffff?Bblue@?B nochildscale@_?Bspecial@@Btitle@dObjectB description@bB guifocus@|%VIEW:/standardviews/ObjectPropertiesBguifocusclass@}VIEW:/pages/CraneParametersBspatial@@B spatialx@M`H@B spatialy@N@B spatialz@OJ_g?B spatialsx@P?B spatialsy@Q?B spatialsz@R?B spatialrx@SB spatialry@TB spatialrz@UBoffsetx@VBoffsety@WBoffsetz@XB offsetsx@\?B offsetsy@]?B offsetsz@^?B offsetrx@YB offsetry@ZB offsetrz@[B centroid@e?B ignoredraw@fB displaygroup@ standardBdisplaygrouplist@@B standard@B objectinfo@@B Output: 0@B Status: idle@?Blabels@@B connections@@Bconnectionsin@ @Bconnectionsout@ @Bconnectionscenter@ @B@@B@B@B@@B@B@B@@B@B@Bevents@ @Bstats@@Bstate@@Bstate_current@,?Bstate_changetime@B state_since@-Bstate_profile@.State@2Bidle@B processing@Bbusy@Bblocked@B generating@Bempty@B collecting@B releasing@Bwaiting_for_operator@Bwaiting_for_transporter@B breakdown@Bscheduled_down@B conveying@B travel_empty@Btravel_loaded@Boffset_travel_empty@Boffset_travel_loaded@Bloading@B unloading@Bdown@Bsetup@Butilize@Bfull@B not_empty@Bfilling@Bstarved@Bmixing@Bflowing@Ballocated_idle@B off_shift@B change_over@Brepair@B maintenance@Blunch@B on_break@Bsuspend@B available@Bpreprocessing@Bpostprocessing@B inspecting@B operating@Bstandby@Bpurging@B cleaning@B accelerating@B maxspeed@B decelerating@Bstopped@Bwaiting@B accumulating@B state_graph@0Bcontent@@Bstats_contentmin@4Bstats_contentmax@5Bstats_contentavg@6Bstats_contentupdates@7Bstats_contentsince@8Bstats_contentgraph@9Content vs. TimeBstats_contentgraphmaxpoints@:Y@Bstats_content@2B staytime@@Bstats_staytimemin@<Bstats_staytimemax@=Bstats_staytimeavg@>Bstats_staytimeupdates@?Bstats_staytimegraph@A StaytimeBstats_staytimehisto@C@B parameters@@B startvalue@B endvalue@Y@Bbuckets@4@Bdata@ Staytime@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B interval@@Bmean@Blo@Bhi@Bpercent@W@Bauto@?Bstats_staytimegraphmaxpoints@BY@Bstats_staytimesince@@B throughput@@B stats_input@KB stats_output@LBstats_throughput@DBstats_throughputgraph@E ThroughputBstats_throughputgraphmaxpoints@FBstats_creationtime@JBstats_lastmovetime@IBstored@@bDefaultNavigator@object Bclasses@@B Navigator@ ABFlexsimObject@@oAB superclasses@@BFlexsimObject@AB variables@@Btravelmembers@@Bactivetravelmembers@@Blastupdatetime@Bmessagetrigger@%treenode current = ownerobject(c); @Bondrawtrigger@treenode current = ownerobject(c); treenode view = parnode(1); // If this function returns a true, the default draw code of the object will not be executed. B timetables@B networknodes@Btimeoflaststop@B nrofstops@Bstatebeforestop@Bcollisionspheres@Bcollisionobjects@B resettrigger@%treenode current = ownerobject(c); B savedstate@Bresetposition@B behaviour@@Beventfunctions@Bcppfunctions@@B cppvariables@@Bdouble* protectlocs@Bunsigned char portinfoflag@Bspatial@@ B spatialsx@P-C6?B spatialsy@Q-C6?B spatialsz@R-C6?B spatialx@MB spatialy@NB spatialz@OB spatialrx@SB spatialry@TB spatialrz@UB centroid@e?Bspecial@@B guifocus@|!VIEW:/standardviews/objecteditorBtitle@dObjectB description@bBlabels@@Bvisual@@B nochildscale@_?B connections@@Bconnectionsin@ @Bconnectionsout@ @Bconnectionscenter@ @Bevents@ @Bstats@@Bstate@@Bstate_current@,@Bstate_changetime@B state_since@-Bstate_profile@.State@2Bidle@B processing@Bbusy@Bblocked@B generating@Bempty@B collecting@B releasing@Bwaiting_for_operator@Bwaiting_for_transporter@B breakdown@Bscheduled_down@B conveying@B travel_empty@Btravel_loaded@Boffset_travel_empty@Boffset_travel_loaded@Bloading@B unloading@Bdown@Bsetup@Butilize@Bfull@B not_empty@Bfilling@Bstarved@Bmixing@Bflowing@Ballocated_idle@B off_shift@B change_over@Brepair@B maintenance@Blunch@B on_break@Bsuspend@B available@Bpreprocessing@Bpostprocessing@B inspecting@B operating@Bstandby@Bpurging@B cleaning@B accelerating@B maxspeed@B decelerating@Bstopped@Bwaiting@B accumulating@B state_graph@0Bcontent@@Bstats_contentmin@4Bstats_contentmax@5Bstats_contentavg@6Bstats_contentupdates@7Bstats_contentsince@8Bstats_contentgraph@9Content vs. TimeBstats_contentgraphmaxpoints@:Y@Bstats_content@2B staytime@@Bstats_staytimemin@<Bstats_staytimemax@=Bstats_staytimeavg@>Bstats_staytimeupdates@?Bstats_staytimegraph@A StaytimeBstats_staytimehisto@C@B parameters@@B startvalue@B endvalue@Y@Bbuckets@4@Bdata@ Staytime@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B interval@@Bmean@Blo@Bhi@Bpercent@W@Bauto@?Bstats_staytimegraphmaxpoints@BY@Bstats_staytimesince@@B throughput@@B stats_input@KB stats_output@LBstats_throughput@DBstats_throughputgraph@E ThroughputBstats_throughputgraphmaxpoints@FBstats_creationtime@JBstats_lastmovetime@IBstored@BCharger Preperation@objectBclasses@@B Processor@˒ABFixedResource@rABFlexsimObject@@oAB superclasses@@BFixedResource@ABFlexsimObject@@oAB variables@@9B cycletime@$treenode current = ownerobject(c); treenode item = parnode(1); /**By Expression*/ /** \nExpression: */ double value = /**/10/**/; /** \n\nNote: The expression may be a constant value or the result of a command (getitemtype(item), getlabelnum(item, "labelname"), etc).*/ return value;@B\:/nonkx>tex?o?0l$9@  ;l7P} B setuptime@treenode current = ownerobject(c); treenode item = parnode(1); treenode port = parval(2); /**No Setup Time (return zero)*/ return 0;@B maxcontent@?@Buseprocessoperators@?Busesetupoperators@Bnrofprocessoperators@?Bprocessoperatorpriority@Bpreemptprocessoperators@Bprocessdispatcher@Ptreenode current = ownerobject(c); treenode item = parnode(1); /**Port by Expression*/ /** \nCenter port number: */ int portnum = /**/1/**/; /** \n\nNote: The expression may be a constant value or the result of a command (getitemtype(item), getlabelnum(item, "labelname"), etc).*/ return tonum(centerobject(current,portnum));@Bl:/nonkx>tex?o?0l$6@ ;l cx h 4\  =P ); Bsetupfinishtrigger@Btreenode item = parnode(1); treenode current = ownerobject(c); @Bprocessfinishtrigger@Btreenode item = parnode(1); treenode current = ownerobject(c); @Bmtbf@mtreenode current = ownerobject(c); /**No Breakdowns*/ /** \nReturn a 0 for MTBF and MTTR.*/ return 0; @Bbreakdowntrigger@%treenode current = ownerobject(c); @Bmttr@ltreenode current = ownerobject(c); /**No Breakdowns*/ /** \nReturn a 0 for MTBF and MTTR.*/ return 0; @Brepairtrigger@%treenode current = ownerobject(c); @Busedownoperators@Bnrofdownoperators@?Bdownoperatorpriority@Bpreemptdownoperators@Bdowndispatcher@Ptreenode current = ownerobject(c); treenode item = parnode(1); /**Port by Expression*/ /** \nCenter port number: */ int portnum = /**/1/**/; /** \n\nNote: The expression may be a constant value or the result of a command (getitemtype(item), getlabelnum(item, "labelname"), etc).*/ return tonum(centerobject(current,portnum));@BlMAINodev?o?0l$6@?hcxh4\=P); Bcurdowndispatcher@@B nextdown@Bconvey@?Bnextrepairtime@B usesameop@?Bnrofsetupoperators@?Bprocessingdownflag@?B mtbfstates@@B@@@B totaltime@B nrreleased@Bpull@B sendtoport@ztreenode item = parnode(1); treenode current = ownerobject(c); /**First available*/ /** \nOpen all ports.*/ return 0 ;@Breceivefromport@@treenode current = ownerobject(c); /**Any Port*/ return 0; @Bpullrequirement@treenode current = ownerobject(c); treenode item = parnode(1); int port = parval(2); /**No Requirement*/ /** \nAlways return true.*/ return 1;@B\nkx>tex?o?0l$6Lk@6\ B entrytrigger@Ztreenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); @B exittrigger@[treenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); @B usetransport@@Btransportpriority@Bpreempttransport@Btransportdispatcher@gtreenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); /**Port by Expression*/ /** \nCenter port number: */ int portnum = /**/1/**/; /** \n\nNote: The expression may be a constant value or the result of a command (getitemtype(item), getlabelnum(item, "labelname"), etc).*/ return tonum(centerobject(current,portnum));@Bnkx>tex? l?0$o6Lk@6\  c  4x  =l Bnroftransportsout@Bnroftransportsin@B outwaitinfo@@Bsendtocontinuous@Bpullcontinuous@Blifo@Bmessagetrigger@%treenode current = ownerobject(c); @Bondrawtrigger@treenode current = ownerobject(c); treenode view = parnode(1); // If this function returns a true, the default draw code of the object will not be executed. B timetables@B networknodes@@Btimeoflaststop@B nrofstops@@Bstatebeforestop@Bcollisionspheres@Bcollisionobjects@B resettrigger@%treenode current = ownerobject(c); B savedstate@Bresetposition@B behaviour@@Beventfunctions@Bcppfunctions@@B cppvariables@@Bdouble inport@Bfsnode* lastreleased@Bfsnode* curtransporter@Bdouble* protectlocs@Bunsigned char portinfoflag@Bvisual@@ Bcolor@a@Bred@RQ?Bgreen@333333?Bblue@'1Z?Bshape@ufs3d\procsr_color.3dsB shapeindex@v:@Bpicture@c"bitmaps\processorpicturesmall.bmpB imageobject@q***Bimageindexobject@rB imagebase@s***Bimageindexbase@tB nochildscale@_?B special@@Btitle@dFixed Resource MultiserviceB description@bB guifocus@|%VIEW:/standardviews/ObjectPropertiesBguifocusclass@} VIEW:/pages/ProcessorParametersB spatial@@B spatialx@M@@B spatialy@NB spatialz@OB spatialsx@P@B spatialsy@Q@B spatialsz@R{Gz@B spatialrx@SB spatialry@TB spatialrz@UB offsetx@VB offsety@WB offsetz@XB offsetsx@\?B offsetsy@]?B offsetsz@^?B offsetrx@YB offsetry@ZB offsetrz@[B centroid@e?B objectinfo@@B Output: 0@B %Idle: 0.0@B%Processing: 0.0@B ignoredraw@fB displaygroup@ standardBdisplaygrouplist@@B standard@Blabels@@B connections@@Bconnectionsin@ @Bconnectionsout@ @Bconnectionscenter@ @Bevents@ @Bstats@@Bstate@@Bstate_current@,?Bstate_changetime@B state_since@-Bstate_profile@.State@2Bidle@B processing@Bbusy@Bblocked@B generating@Bempty@B collecting@B releasing@Bwaiting_for_operator@Bwaiting_for_transporter@B breakdown@Bscheduled_down@B conveying@B travel_empty@Btravel_loaded@Boffset_travel_empty@Boffset_travel_loaded@Bloading@B unloading@Bdown@Bsetup@Butilize@Bfull@B not_empty@Bfilling@Bstarved@Bmixing@Bflowing@Ballocated_idle@B off_shift@B change_over@Brepair@B maintenance@Blunch@B on_break@Bsuspend@B available@Bpreprocessing@Bpostprocessing@B inspecting@B operating@Bstandby@Bpurging@B cleaning@B accelerating@B maxspeed@B decelerating@Bstopped@Bwaiting@B accumulating@B state_graph@0Bcontent@@Bstats_contentmin@4Bstats_contentmax@5Bstats_contentavg@6Bstats_contentupdates@7Bstats_contentsince@8Bstats_contentgraph@9Content vs. TimeBstats_contentgraphmaxpoints@:Y@Bstats_content@2B staytime@@Bstats_staytimemin@<Bstats_staytimemax@=Bstats_staytimeavg@>Bstats_staytimeupdates@?Bstats_staytimegraph@A StaytimeBstats_staytimehisto@C@B parameters@@B startvalue@B endvalue@Y@Bbuckets@4@Bdata@ Staytime@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B interval@@Bmean@Blo@Bhi@Bpercent@W@Bauto@?Bstats_staytimegraphmaxpoints@BY@Bstats_staytimesince@@B throughput@@B stats_input@KB stats_output@LBstats_throughput@DBstats_throughputgraph@E ThroughputBstats_throughputgraphmaxpoints@FBstats_creationtime@JBstats_lastmovetime@IBstored@@BFull flasks depart@objectB superclasses@@BFixedResource@ABFlexsimObject@@oABclasses@@BSink@`͒ABFixedResource@rABFlexsimObject@@oAB variables@@B recycle@?B nrreleased@Bpull@B sendtoport@ztreenode item = parnode(1); treenode current = ownerobject(c); /**First available*/ /** \nOpen all ports.*/ return 0 ;@Breceivefromport@@treenode current = ownerobject(c); /**Any Port*/ return 0; @Bpullrequirement@treenode current = ownerobject(c); treenode item = parnode(1); int port = parval(2); /**No Requirement*/ /** \nAlways return true.*/ return 1;@B\MAINodev?o?0l$6Lk@6\ B entrytrigger@Ztreenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); @B exittrigger@[treenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); @B usetransport@@Btransportpriority@Bpreempttransport@Btransportdispatcher@gtreenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); /**Port by Expression*/ /** \nCenter port number: */ int portnum = /**/1/**/; /** \n\nNote: The expression may be a constant value or the result of a command (getitemtype(item), getlabelnum(item, "labelname"), etc).*/ return tonum(centerobject(current,portnum));@BMAINodevloba? l?0$o6Lk@6\ ?  c  4x  =l Bnroftransportsout@Bnroftransportsin@B outwaitinfo@Bsendtocontinuous@Bpullcontinuous@Blifo@Bmessagetrigger@%treenode current = ownerobject(c); @Bondrawtrigger@treenode current = ownerobject(c); treenode view = parnode(1); // If this function returns a true, the default draw code of the object will not be executed. B timetables@B networknodes@Btimeoflaststop@B nrofstops@Bstatebeforestop@Bcollisionspheres@Bcollisionobjects@B resettrigger@%treenode current = ownerobject(c); B savedstate@Bresetposition@B behaviour@@Beventfunctions@Bcppfunctions@@B cppvariables@Bvisual@@ Bcolor@a@Bred@333333?Bgreen@?Bblue@333333?Bshape@ufs3d\Sink.3DSB shapeindex@v=@Bpicture@cbitmaps\sinkpicturesmall.bmpB imageobject@q***Bimageindexobject@rB imagebase@s***Bimageindexbase@tB nochildscale@_?B special@@Btitle@dFixed Resource SinkB description@bB guifocus@|%VIEW:/standardviews/ObjectPropertiesBguifocusclass@}VIEW:/pages/SinkParametersB spatial@@B spatialx@MR@B spatialy@NB spatialz@OB spatialsx@P?B spatialsy@Q?B spatialsz@R?B spatialrx@SB spatialry@TB spatialrz@UBoffsetx@VBoffsety@WBoffsetz@XB offsetsx@\?B offsetsy@]?B offsetsz@^1Zd?B offsetrx@YB offsetry@ZB offsetrz@[B centroid@e?B objectinfo@@B Input: 0@B ignoredraw@fB displaygroup@ standardBdisplaygrouplist@@B standard@Blabels@@B connections@@Bconnectionsin@ @Bconnectionsout@ @Bconnectionscenter@ @Bevents@ @Bstats@@Bstate@@Bstate_current@,@Bstate_changetime@B state_since@-Bstate_profile@.State@2Bidle@B processing@Bbusy@Bblocked@B generating@Bempty@B collecting@B releasing@Bwaiting_for_operator@Bwaiting_for_transporter@B breakdown@Bscheduled_down@B conveying@B travel_empty@Btravel_loaded@Boffset_travel_empty@Boffset_travel_loaded@Bloading@B unloading@Bdown@Bsetup@Butilize@Bfull@B not_empty@Bfilling@Bstarved@Bmixing@Bflowing@Ballocated_idle@B off_shift@B change_over@Brepair@B maintenance@Blunch@B on_break@Bsuspend@B available@Bpreprocessing@Bpostprocessing@B inspecting@B operating@Bstandby@Bpurging@B cleaning@B accelerating@B maxspeed@B decelerating@Bstopped@Bwaiting@B accumulating@B state_graph@0Bcontent@@Bstats_contentmin@4Bstats_contentmax@5Bstats_contentavg@6Bstats_contentupdates@7Bstats_contentsince@8Bstats_contentgraph@9Content vs. TimeBstats_contentgraphmaxpoints@:Y@Bstats_content@2B staytime@@Bstats_staytimemin@<Bstats_staytimemax@=Bstats_staytimeavg@>Bstats_staytimeupdates@?Bstats_staytimegraph@A StaytimeBstats_staytimehisto@C@B parameters@@B startvalue@B endvalue@Y@Bbuckets@4@Bdata@ Staytime@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B interval@@Bmean@Blo@Bhi@Bpercent@W@Bauto@?Bstats_staytimegraphmaxpoints@BY@Bstats_staytimesince@@B throughput@@B stats_input@KB stats_output@LBstats_throughput@DBstats_throughputgraph@E ThroughputBstats_throughputgraphmaxpoints@FBstats_creationtime@JBstats_lastmovetime@IBstored@BFlask Loading@objectBclasses@@B Combiner@ϒAB Processor@ABFixedResource@rABFlexsimObject@@oAB superclasses@@B Processor@˒ABFixedResource@rABFlexsimObject@@oAB variables@@ABcollectingcontainer@?Bcomponentlist@@Bcurrentcomponentsum@Btargetcomponentsum@Bpack@@Boverriddenreceivefromport@%// This code isn't used any more @Boverriddenpullrequirement@%// This code isn't used any more. @B recycle@@B cycletime@$treenode current = ownerobject(c); treenode item = parnode(1); /**By Expression*/ /** \nExpression: */ double value = /**/10/**/; /** \n\nNote: The expression may be a constant value or the result of a command (getitemtype(item), getlabelnum(item, "labelname"), etc).*/ return value;@B\MAINodev?o?0l$9@ 6\7P0; B setuptime@treenode current = ownerobject(c); treenode item = parnode(1); treenode port = parval(2); /**No Setup Time (return zero)*/ return 0;@B maxcontent@?@Buseprocessoperators@Busesetupoperators@Bnrofprocessoperators@?Bprocessoperatorpriority@Bpreemptprocessoperators@Bprocessdispatcher@Ptreenode current = ownerobject(c); treenode item = parnode(1); /**Port by Expression*/ /** \nCenter port number: */ int portnum = /**/1/**/; /** \n\nNote: The expression may be a constant value or the result of a command (getitemtype(item), getlabelnum(item, "labelname"), etc).*/ return tonum(centerobject(current,portnum));@BlMAINodev?o?0l$6@6\ cx h 4\  =P ); Bsetupfinishtrigger@Btreenode item = parnode(1); treenode current = ownerobject(c); @Bprocessfinishtrigger@Btreenode item = parnode(1); treenode current = ownerobject(c); @Bmtbf@mtreenode current = ownerobject(c); /**No Breakdowns*/ /** \nReturn a 0 for MTBF and MTTR.*/ return 0; @Bbreakdowntrigger@%treenode current = ownerobject(c); @Bmttr@ltreenode current = ownerobject(c); /**No Breakdowns*/ /** \nReturn a 0 for MTBF and MTTR.*/ return 0; @Brepairtrigger@%treenode current = ownerobject(c); @Busedownoperators@Bnrofdownoperators@?Bdownoperatorpriority@Bpreemptdownoperators@Bdowndispatcher@Ptreenode current = ownerobject(c); treenode item = parnode(1); /**Port by Expression*/ /** \nCenter port number: */ int portnum = /**/1/**/; /** \n\nNote: The expression may be a constant value or the result of a command (getitemtype(item), getlabelnum(item, "labelname"), etc).*/ return tonum(centerobject(current,portnum));@BlMAINodev?o?0l$6@6\cxh4\=PBcurdowndispatcher@@B nextdown@Bconvey@?Bnextrepairtime@B usesameop@?Bnrofsetupoperators@?Bprocessingdownflag@?B mtbfstates@@B@@@B totaltime@B nrreleased@Bpull@B sendtoport@ztreenode item = parnode(1); treenode current = ownerobject(c); /**First available*/ /** \nOpen all ports.*/ return 0 ;@Breceivefromport@@treenode current = ownerobject(c); /**Any Port*/ return 0; @Bpullrequirement@treenode current = ownerobject(c); treenode item = parnode(1); int port = parval(2); /**No Requirement*/ /** \nAlways return true.*/ return 1;@B\MAINodev?o?0l$6Lk@6\} B entrytrigger@Ztreenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); @B exittrigger@[treenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); @B usetransport@@Btransportpriority@Bpreempttransport@Btransportdispatcher@gtreenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); /**Port by Expression*/ /** \nCenter port number: */ int portnum = /**/1/**/; /** \n\nNote: The expression may be a constant value or the result of a command (getitemtype(item), getlabelnum(item, "labelname"), etc).*/ return tonum(centerobject(current,portnum));@BMAINodevloba? l?0$o6Lk@6\ ?  c  4x  =l Bnroftransportsout@Bnroftransportsin@B outwaitinfo@Bsendtocontinuous@Bpullcontinuous@Blifo@Bmessagetrigger@%treenode current = ownerobject(c); @Bondrawtrigger@treenode current = ownerobject(c); treenode view = parnode(1); // If this function returns a true, the default draw code of the object will not be executed. B timetables@B networknodes@Btimeoflaststop@B nrofstops@Bstatebeforestop@Bcollisionspheres@Bcollisionobjects@B resettrigger@%treenode current = ownerobject(c); B savedstate@Bresetposition@B behaviour@@Beventfunctions@Bcppfunctions@@B cppvariables@Bvisual@@ Bcolor@a@Bred@Bgreen@Mb?Bblue@jt?Bshape@ufs3d\comb_color.3dsB shapeindex@v>@Bpicture@c!bitmaps\combinerpicturesmall.bmpB imageobject@q***Bimageindexobject@rB imagebase@s***Bimageindexbase@tB nochildscale@_?B special@@Btitle@dFixed Resource MultiserviceB description@bB guifocus@|%VIEW:/standardviews/ObjectPropertiesBguifocusclass@}VIEW:/pages/CombinerParametersB spatial@@B spatialx@M@Q@B spatialy@NB spatialz@OB spatialsx@P@B spatialsy@Q@B spatialsz@R?B spatialrx@SB spatialry@TB spatialrz@UB offsetx@VB offsety@WB offsetz@XB offsetsx@\?B offsetsy@]?B offsetsz@^?B offsetrx@YB offsetry@ZB offsetrz@[B centroid@e?B ignoredraw@fB displaygroup@ standardBdisplaygrouplist@@B standard@B objectinfo@@B Output: 0@B %Idle: 0.0@B%Processing: 0.0@Blabels@@B connections@@Bconnectionsin@ @Bconnectionsout@ @Bconnectionscenter@ @Bevents@ @Bstats@@Bstate@@Bstate_current@,?Bstate_changetime@B state_since@-Bstate_profile@.State@2Bidle@B processing@Bbusy@Bblocked@B generating@Bempty@B collecting@B releasing@Bwaiting_for_operator@Bwaiting_for_transporter@B breakdown@Bscheduled_down@B conveying@B travel_empty@Btravel_loaded@Boffset_travel_empty@Boffset_travel_loaded@Bloading@B unloading@Bdown@Bsetup@Butilize@Bfull@B not_empty@Bfilling@Bstarved@Bmixing@Bflowing@Ballocated_idle@B off_shift@B change_over@Brepair@B maintenance@Blunch@B on_break@Bsuspend@B available@Bpreprocessing@Bpostprocessing@B inspecting@B operating@Bstandby@Bpurging@B cleaning@B accelerating@B maxspeed@B decelerating@Bstopped@Bwaiting@B accumulating@B state_graph@0Bcontent@@Bstats_contentmin@4Bstats_contentmax@5Bstats_contentavg@6Bstats_contentupdates@7Bstats_contentsince@8Bstats_contentgraph@9Content vs. TimeBstats_contentgraphmaxpoints@:Y@Bstats_content@2B staytime@@Bstats_staytimemin@<Bstats_staytimemax@=Bstats_staytimeavg@>Bstats_staytimeupdates@?Bstats_staytimegraph@A StaytimeBstats_staytimehisto@C@B parameters@@B startvalue@B endvalue@Y@Bbuckets@4@Bdata@ Staytime@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B interval@@Bmean@Blo@Bhi@Bpercent@W@Bauto@?Bstats_staytimegraphmaxpoints@BY@Bstats_staytimesince@@B throughput@@B stats_input@KB stats_output@LBstats_throughput@DBstats_throughputgraph@E ThroughputBstats_throughputgraphmaxpoints@FBstats_creationtime@JBstats_lastmovetime@IBstored@B Source16 @objectBsuperclasses@@BFixedResource@ABFlexsimObject@ABclasses@@BSource@ȒABFixedResource@ABFlexsimObject@AB variables@@)B arrivalmode@@Binterarrivaltime@2treenode current = ownerobject(c); /**Statistical Distribution: */ return /**/exponential(0,10,1)/**/; /** bernoulli(prob, succeed-value, fail-value, stream) beta(min, max, shape1, shape2, stream) binomial (trials, prob, stream) cempirical (tablename, stream) dempirical (tablename, stream) duniform (min, max, stream) empirical (tablename, stream) erlang (location, scale, shape, stream) exponential (location, scale, stream) gamma (location, scale, shape, stream) geometric (prob, stream) inversegaussian (location, scale, shape, stream) invertedweibull (location, scale, shape, stream) johnsonbounded (min, max, shape1, shape2, stream) johnsonunbounded (location, scale, shape1, shape2, stream) loglaplace (location, scale, shape, stream) loglogistic (location, scale, shape, stream) lognormal (location, scale, shape, stream) lognormal2 (location, scale, shape, stream) negbinomial (successes, prob, stream) normal (mean, stddev, stream) pearsont5 (location, scale, shape, stream) pearsont6 (location, scale, shape1, shape2, stream) poisson (mean, stream) triangular (min, max, mode, stream) uniform (min, max, stream) weibull (location, scale, shape, stream) */@B8 :/nonkx?o $ t(cBtimezerocreate@Binterarrivalitemtype@?B itemclass@@B schedule@@B Arrival1@@B ArrivalTime@?B ItemName@ProductB ItemType@?B Quantity@@Brepeat@B sequence@@B Arrival1@@B ItemName@ProductB ItemType@?B Quantity@?Bsequencecurrow@?Bcreationtrigger@treenode item = parnode(1); treenode current = ownerobject(c); int rownumber = parval(2); //row number of the schedule/sequence table @B flowitembin@@BSource16subnode@Bcreateparticle@B nrreleased@Bpull@B sendtoport@ztreenode item = parnode(1); treenode current = ownerobject(c); /**First available*/ /** \nOpen all ports.*/ return 0 ;@Breceivefromport@@treenode current = ownerobject(c); /**Any Port*/ return 0; @Bpullrequirement@treenode current = ownerobject(c); treenode item = parnode(1); int port = parval(2); /**No Requirement*/ /** \nAlways return true.*/ return 1;@B\ragfara?o?0l$6Lk@ B entrytrigger@Ztreenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); @B exittrigger@[treenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); @B usetransport@@Btransportpriority@Bpreempttransport@Btransportdispatcher@gtreenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); /**Port by Expression*/ /** \nCenter port number: */ int portnum = /**/1/**/; /** \n\nNote: The expression may be a constant value or the result of a command (getitemtype(item), getlabelnum(item, "labelname"), etc).*/ return tonum(centerobject(current,portnum));@Bnkx>tex? l?0$o6Lk@6\H c  4x  =l Bnroftransportsout@Bnroftransportsin@B outwaitinfo@@B@Bsendtocontinuous@Bpullcontinuous@Blifo@Bmessagetrigger@%treenode current = ownerobject(c); @Bondrawtrigger@treenode current = ownerobject(c); treenode view = parnode(1); // If this function returns a true, the default draw code of the object will not be executed. B timetables@B networknodes@Btimeoflaststop@B nrofstops@Bstatebeforestop@Bcollisionspheres@Bcollisionobjects@B resettrigger@%treenode current = ownerobject(c); B savedstate@Bresetposition@B behaviour@@Beventfunctions@Bcppfunctions@@Bcppvariables@@Bfsnode * flowitemtocreate@Bdouble inport@Bfsnode* lastreleased@Bfsnode* curtransporter@Bdouble* protectlocs@Bunsigned char portinfoflag@Bvisual@@ Bcolor@a@Bred@333333?Bgreen@ffffff?Bblue@333333?Bshape@ufs3d\Source.3DSB shapeindex@v;@Bpicture@cbitmaps\sourcepicturesmall.bmpB imageobject@q***Bimageindexobject@rB imagebase@s***Bimageindexbase@tB nochildscale@_?B special@@Btitle@dFixed Resource SourceB description@bB guifocus@|%VIEW:/standardviews/ObjectPropertiesBguifocusclass@}VIEW:/pages/SourceParametersB spatial@@B spatialx@ME@B spatialy@N?B spatialz@OB spatialsx@P?B spatialsy@Q?B spatialsz@R?B spatialrx@SB spatialry@TB spatialrz@UB centroid@e?Boffsetx@VBoffsety@WBoffsetz@XB offsetsx@\?B offsetsy@]?B offsetsz@^/$@B offsetrx@YB offsetry@ZB offsetrz@[B objectinfo@@B Output: 0@BBlocked: 0.0%@B ignoredraw@fB displaygroup@ standardBdisplaygrouplist@@B standard@Blabels@@B connections@@Bconnectionsin@ @Bconnectionsout@ @B@|@B@B@Bconnectionscenter@ @Bevents@ @Bstats@@Bstate@@Bstate_current@,@Bstate_changetime@B state_since@-Bstate_profile@.State@2Bidle@B processing@Bbusy@Bblocked@B generating@Bempty@B collecting@B releasing@Bwaiting_for_operator@Bwaiting_for_transporter@B breakdown@Bscheduled_down@B conveying@B travel_empty@Btravel_loaded@Boffset_travel_empty@Boffset_travel_loaded@Bloading@B unloading@Bdown@Bsetup@Butilize@Bfull@B not_empty@Bfilling@Bstarved@Bmixing@Bflowing@Ballocated_idle@B off_shift@B change_over@Brepair@B maintenance@Blunch@B on_break@Bsuspend@B available@Bpreprocessing@Bpostprocessing@B inspecting@B operating@Bstandby@Bpurging@B cleaning@B accelerating@B maxspeed@B decelerating@Bstopped@Bwaiting@B accumulating@B state_graph@0Bcontent@@Bstats_contentmin@4Bstats_contentmax@5Bstats_contentavg@6Bstats_contentupdates@7Bstats_contentsince@8Bstats_contentgraph@9Content vs. TimeBstats_contentgraphmaxpoints@:Y@Bstats_content@2B staytime@@Bstats_staytimemin@<Bstats_staytimemax@=Bstats_staytimeavg@>Bstats_staytimeupdates@?Bstats_staytimegraph@A StaytimeBstats_staytimehisto@C@B parameters@@B startvalue@B endvalue@Y@Bbuckets@4@Bdata@ Staytime@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B interval@@Bmean@Blo@Bhi@Bpercent@W@Bauto@?Bstats_staytimegraphmaxpoints@BY@Bstats_staytimesince@@B throughput@@B stats_input@KB stats_output@LBstats_throughput@DBstats_throughputgraph@E ThroughputBstats_throughputgraphmaxpoints@FBstats_creationtime@JBstats_lastmovetime@IBstored@@B Source17 @objectBsuperclasses@@BFixedResource@ABFlexsimObject@ABclasses@@BSource@ȒABFixedResource@ABFlexsimObject@AB variables@@)B arrivalmode@@Binterarrivaltime@2treenode current = ownerobject(c); /**Statistical Distribution: */ return /**/exponential(0,10,1)/**/; /** bernoulli(prob, succeed-value, fail-value, stream) beta(min, max, shape1, shape2, stream) binomial (trials, prob, stream) cempirical (tablename, stream) dempirical (tablename, stream) duniform (min, max, stream) empirical (tablename, stream) erlang (location, scale, shape, stream) exponential (location, scale, stream) gamma (location, scale, shape, stream) geometric (prob, stream) inversegaussian (location, scale, shape, stream) invertedweibull (location, scale, shape, stream) johnsonbounded (min, max, shape1, shape2, stream) johnsonunbounded (location, scale, shape1, shape2, stream) loglaplace (location, scale, shape, stream) loglogistic (location, scale, shape, stream) lognormal (location, scale, shape, stream) lognormal2 (location, scale, shape, stream) negbinomial (successes, prob, stream) normal (mean, stddev, stream) pearsont5 (location, scale, shape, stream) pearsont6 (location, scale, shape1, shape2, stream) poisson (mean, stream) triangular (min, max, mode, stream) uniform (min, max, stream) weibull (location, scale, shape, stream) */@B8 :/nonkx?o $ Btimezerocreate@Binterarrivalitemtype@?B itemclass@@B schedule@@B Arrival1@@B ArrivalTime@$@B ItemName@ProductB ItemType@@B Quantity@$@Brepeat@B sequence@@B Arrival1@@B ItemName@ProductB ItemType@?B Quantity@?Bsequencecurrow@?Bcreationtrigger@treenode item = parnode(1); treenode current = ownerobject(c); int rownumber = parval(2); //row number of the schedule/sequence table @B flowitembin@@BSource17subnode@Bcreateparticle@B nrreleased@Bpull@B sendtoport@ztreenode item = parnode(1); treenode current = ownerobject(c); /**First available*/ /** \nOpen all ports.*/ return 0 ;@Breceivefromport@@treenode current = ownerobject(c); /**Any Port*/ return 0; @Bpullrequirement@treenode current = ownerobject(c); treenode item = parnode(1); int port = parval(2); /**No Requirement*/ /** \nAlways return true.*/ return 1;@B\ragf?o?0l$6Lk@6\ B entrytrigger@Ztreenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); @B exittrigger@[treenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); @B usetransport@@Btransportpriority@Bpreempttransport@Btransportdispatcher@gtreenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); /**Port by Expression*/ /** \nCenter port number: */ int portnum = /**/1/**/; /** \n\nNote: The expression may be a constant value or the result of a command (getitemtype(item), getlabelnum(item, "labelname"), etc).*/ return tonum(centerobject(current,portnum));@Bnkx>tex? l?0$o6Lk@6\H c  4x  =l ct Bnroftransportsout@Bnroftransportsin@B outwaitinfo@@B@Bsendtocontinuous@Bpullcontinuous@Blifo@Bmessagetrigger@%treenode current = ownerobject(c); @Bondrawtrigger@treenode current = ownerobject(c); treenode view = parnode(1); // If this function returns a true, the default draw code of the object will not be executed. B timetables@B networknodes@Btimeoflaststop@B nrofstops@Bstatebeforestop@Bcollisionspheres@Bcollisionobjects@B resettrigger@%treenode current = ownerobject(c); B savedstate@Bresetposition@B behaviour@@Beventfunctions@Bcppfunctions@@Bcppvariables@@Bfsnode * flowitemtocreate@Bdouble inport@Bfsnode* lastreleased@Bfsnode* curtransporter@Bdouble* protectlocs@Bunsigned char portinfoflag@Bvisual@@ Bcolor@a@Bred@333333?Bgreen@ffffff?Bblue@333333?Bshape@ufs3d\Source.3DSB shapeindex@v;@Bpicture@cbitmaps\sourcepicturesmall.bmpB imageobject@q***Bimageindexobject@rB imagebase@s***Bimageindexbase@tB nochildscale@_?B special@@Btitle@dFixed Resource SourceB description@bB guifocus@|%VIEW:/standardviews/ObjectPropertiesBguifocusclass@}VIEW:/pages/SourceParametersB spatial@@B spatialx@ME@B spatialy@NB spatialz@OB spatialsx@P?B spatialsy@Q?B spatialsz@R?B spatialrx@SB spatialry@TB spatialrz@UB centroid@e?Boffsetx@VBoffsety@WBoffsetz@XB offsetsx@\?B offsetsy@]?B offsetsz@^/$@B offsetrx@YB offsetry@ZB offsetrz@[B objectinfo@@B Output: 0@BBlocked: 0.0%@B ignoredraw@fB displaygroup@ standardBdisplaygrouplist@@B standard@Blabels@@B connections@@Bconnectionsin@ @Bconnectionsout@ @B@@B@B@Bconnectionscenter@ @Bevents@ @Bstats@@Bstate@@Bstate_current@,@Bstate_changetime@B state_since@-Bstate_profile@.State@2Bidle@B processing@Bbusy@Bblocked@B generating@Bempty@B collecting@B releasing@Bwaiting_for_operator@Bwaiting_for_transporter@B breakdown@Bscheduled_down@B conveying@B travel_empty@Btravel_loaded@Boffset_travel_empty@Boffset_travel_loaded@Bloading@B unloading@Bdown@Bsetup@Butilize@Bfull@B not_empty@Bfilling@Bstarved@Bmixing@Bflowing@Ballocated_idle@B off_shift@B change_over@Brepair@B maintenance@Blunch@B on_break@Bsuspend@B available@Bpreprocessing@Bpostprocessing@B inspecting@B operating@Bstandby@Bpurging@B cleaning@B accelerating@B maxspeed@B decelerating@Bstopped@Bwaiting@B accumulating@B state_graph@0Bcontent@@Bstats_contentmin@4Bstats_contentmax@5Bstats_contentavg@6Bstats_contentupdates@7Bstats_contentsince@8Bstats_contentgraph@9Content vs. TimeBstats_contentgraphmaxpoints@:Y@Bstats_content@2B staytime@@Bstats_staytimemin@<Bstats_staytimemax@=Bstats_staytimeavg@>Bstats_staytimeupdates@?Bstats_staytimegraph@A StaytimeBstats_staytimehisto@C@B parameters@@B startvalue@B endvalue@Y@Bbuckets@4@Bdata@ Staytime@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B interval@@Bmean@Blo@Bhi@Bpercent@W@Bauto@?Bstats_staytimegraphmaxpoints@BY@Bstats_staytimesince@@B throughput@@B stats_input@KB stats_output@LBstats_throughput@DBstats_throughputgraph@E ThroughputBstats_throughputgraphmaxpoints@FBstats_creationtime@JBstats_lastmovetime@IBstored@@BQueue18@objectB superclasses@@BFixedResource@ABFlexsimObject@ABclasses@@BQueue@ ʒABFixedResource@ABFlexsimObject@AB variables@@,B maxcontent@$@@B usebatching@B batchsize@@B maxwaittime@Bflush@Bcurrentbatchsize@Bendcollectingtrigger@Btreenode item = parnode(1); treenode current = ownerobject(c); @B placemode@?B stackinitz@B curxfringe@Bcuryloc@B curmaxysize@Bcurzloc@B curmaxzsize@Bproductspacing@B nrreleased@Bpull@B sendtoport@ztreenode item = parnode(1); treenode current = ownerobject(c); /**First available*/ /** \nOpen all ports.*/ return 0 ;@Breceivefromport@@treenode current = ownerobject(c); /**Any Port*/ return 0; @Bpullrequirement@treenode current = ownerobject(c); treenode item = parnode(1); int port = parval(2); /**No Requirement*/ /** \nAlways return true.*/ return 1;@B\nkx>tex?o?0l$6Lk@6\ B entrytrigger@Ztreenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); @B exittrigger@[treenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); @B usetransport@?@Btransportpriority@Bpreempttransport@Btransportdispatcher@gtreenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); /**Port by Expression*/ /** \nCenter port number: */ int portnum = /**/1/**/; /** \n\nNote: The expression may be a constant value or the result of a command (getitemtype(item), getlabelnum(item, "labelname"), etc).*/ return tonum(centerobject(current,portnum));@B..>tnkx>tex? l?0$o6Lk@6\L c  4x  =l  Bnroftransportsout@Bnroftransportsin@B outwaitinfo@@Bsendtocontinuous@Bpullcontinuous@Blifo@Bmessagetrigger@%treenode current = ownerobject(c); @Bondrawtrigger@treenode current = ownerobject(c); treenode view = parnode(1); // If this function returns a true, the default draw code of the object will not be executed. B timetables@B networknodes@Btimeoflaststop@B nrofstops@Bstatebeforestop@Bcollisionspheres@Bcollisionobjects@B resettrigger@%treenode current = ownerobject(c); B savedstate@Bresetposition@B behaviour@@Beventfunctions@Bcppfunctions@@Bcppvariables@@Bint lastpredrawoutput@Bint lastpredrawinput@Bdouble inport@Bfsnode* lastreleased@Bfsnode* curtransporter@Bdouble* protectlocs@Bunsigned char portinfoflag@Bspecial@@Btitle@dFixed Resource QueueB description@bB guifocus@|%VIEW:/standardviews/ObjectPropertiesBguifocusclass@}VIEW:/pages/QueueParametersBvisual@@ Bcolor@a@Bred@MbX9?Bgreen@MbX9?Bblue@MbX9?Bshape@ufs3d\queue_n_color.3dsB shapeindex@v<@Bpicture@cbitmaps\queuepicturesmall.bmpB imageobject@q***Bimageindexobject@rB imagebase@s***Bimageindexbase@tB nochildscale@_?B spatial@@B spatialx@MF@B spatialy@N?B spatialz@OB spatialsx@P@B spatialsy@Q?B spatialsz@R?B spatialrx@SB spatialry@TB spatialrz@UB offsetx@VB offsety@WBoffsetz@XB offsetsx@\?B offsetsy@]?B offsetsz@^?B offsetrx@YB offsetry@ZB offsetrz@[B centroid@e?B objectinfo@@BCurContent: 0@BMaxContent: 0@BAvgStaytime: 0.0@B ignoredraw@fB displaygroup@ standardBdisplaygrouplist@@B standard@Blabels@@B connections@@Bconnectionsin@ @B@B@B@?B@B@@B@?B@Bconnectionsout@ @Bconnectionscenter@ @B@@B@B@Bevents@ @Bstats@@Bstate@@Bstate_current@,@Bstate_changetime@B state_since@-Bstate_profile@.State@2Bidle@B processing@Bbusy@Bblocked@B generating@Bempty@B collecting@B releasing@Bwaiting_for_operator@Bwaiting_for_transporter@B breakdown@Bscheduled_down@B conveying@B travel_empty@Btravel_loaded@Boffset_travel_empty@Boffset_travel_loaded@Bloading@B unloading@Bdown@Bsetup@Butilize@Bfull@B not_empty@Bfilling@Bstarved@Bmixing@Bflowing@Ballocated_idle@B off_shift@B change_over@Brepair@B maintenance@Blunch@B on_break@Bsuspend@B available@Bpreprocessing@Bpostprocessing@B inspecting@B operating@Bstandby@Bpurging@B cleaning@B accelerating@B maxspeed@B decelerating@Bstopped@Bwaiting@B accumulating@B state_graph@0Bcontent@@Bstats_contentmin@4Bstats_contentmax@5Bstats_contentavg@6Bstats_contentupdates@7Bstats_contentsince@8Bstats_contentgraph@9Content vs. TimeBstats_contentgraphmaxpoints@:Y@Bstats_content@2B staytime@@Bstats_staytimemin@<Bstats_staytimemax@=Bstats_staytimeavg@>Bstats_staytimeupdates@?Bstats_staytimegraph@A StaytimeBstats_staytimehisto@C@B parameters@@B startvalue@B endvalue@Y@Bbuckets@4@Bdata@ Staytime@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B interval@@Bmean@Blo@Bhi@Bpercent@W@Bauto@?Bstats_staytimegraphmaxpoints@BY@Bstats_staytimesince@@B throughput@@B stats_input@KB stats_output@LBstats_throughput@DBstats_throughputgraph@E ThroughputBstats_throughputgraphmaxpoints@FBstats_creationtime@JBstats_lastmovetime@IBstored@@BQueue19@objectB superclasses@@BFixedResource@ABFlexsimObject@ABclasses@@BQueue@ ʒABFixedResource@ABFlexsimObject@AB variables@@,B maxcontent@$@@B usebatching@B batchsize@@B maxwaittime@Bflush@Bcurrentbatchsize@Bendcollectingtrigger@Btreenode item = parnode(1); treenode current = ownerobject(c); @B placemode@?B stackinitz@B curxfringe@Bcuryloc@B curmaxysize@Bcurzloc@B curmaxzsize@Bproductspacing@B nrreleased@Bpull@B sendtoport@ztreenode item = parnode(1); treenode current = ownerobject(c); /**First available*/ /** \nOpen all ports.*/ return 0 ;@Breceivefromport@@treenode current = ownerobject(c); /**Any Port*/ return 0; @Bpullrequirement@treenode current = ownerobject(c); treenode item = parnode(1); int port = parval(2); /**No Requirement*/ /** \nAlways return true.*/ return 1;@B\nkx>tex?o?0l$6Lk@6\ B entrytrigger@Ztreenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); @B exittrigger@[treenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); @B usetransport@?@Btransportpriority@Bpreempttransport@Btransportdispatcher@gtreenode item = parnode(1); treenode current = ownerobject(c); int port = parval(2); /**Port by Expression*/ /** \nCenter port number: */ int portnum = /**/1/**/; /** \n\nNote: The expression may be a constant value or the result of a command (getitemtype(item), getlabelnum(item, "labelname"), etc).*/ return tonum(centerobject(current,portnum));@B..>tnkx>tex? l?0$o6Lk@6\L c  4x  =l Bnroftransportsout@Bnroftransportsin@B outwaitinfo@@B@Bsendtocontinuous@Bpullcontinuous@Blifo@Bmessagetrigger@%treenode current = ownerobject(c); @Bondrawtrigger@treenode current = ownerobject(c); treenode view = parnode(1); // If this function returns a true, the default draw code of the object will not be executed. B timetables@B networknodes@Btimeoflaststop@B nrofstops@Bstatebeforestop@Bcollisionspheres@Bcollisionobjects@B resettrigger@%treenode current = ownerobject(c); B savedstate@Bresetposition@B behaviour@@Beventfunctions@Bcppfunctions@@Bcppvariables@@Bint lastpredrawoutput@Bint lastpredrawinput@Bdouble inport@Bfsnode* lastreleased@Bfsnode* curtransporter@Bdouble* protectlocs@Bunsigned char portinfoflag@Bspecial@@Btitle@dFixed Resource QueueB description@bB guifocus@|%VIEW:/standardviews/ObjectPropertiesBguifocusclass@}VIEW:/pages/QueueParametersBvisual@@ Bcolor@a@Bred@MbX9?Bgreen@MbX9?Bblue@MbX9?Bshape@ufs3d\queue_n_color.3dsB shapeindex@v<@Bpicture@cbitmaps\queuepicturesmall.bmpB imageobject@q***Bimageindexobject@rB imagebase@s***Bimageindexbase@tB nochildscale@_?B spatial@@B spatialx@MF@B spatialy@NB spatialz@OB spatialsx@P@B spatialsy@Q@B spatialsz@R?B spatialrx@SB spatialry@TB spatialrz@UB offsetx@VB offsety@WBoffsetz@XB offsetsx@\?B offsetsy@]?B offsetsz@^?B offsetrx@YB offsetry@ZB offsetrz@[B centroid@e?B objectinfo@@BCurContent: 0@BMaxContent: 0@BAvgStaytime: 0.0@B ignoredraw@fB displaygroup@ standardBdisplaygrouplist@@B standard@Blabels@@B connections@@Bconnectionsin@ @B@f@B@?B@Bconnectionsout@ @B@@B@B@Bconnectionscenter@ @B@@B@B@Bevents@ @Bstats@@Bstate@@Bstate_current@,@Bstate_changetime@B state_since@-Bstate_profile@.State@2Bidle@B processing@Bbusy@Bblocked@B generating@Bempty@B collecting@B releasing@Bwaiting_for_operator@Bwaiting_for_transporter@B breakdown@Bscheduled_down@B conveying@B travel_empty@Btravel_loaded@Boffset_travel_empty@Boffset_travel_loaded@Bloading@B unloading@Bdown@Bsetup@Butilize@Bfull@B not_empty@Bfilling@Bstarved@Bmixing@Bflowing@Ballocated_idle@B off_shift@B change_over@Brepair@B maintenance@Blunch@B on_break@Bsuspend@B available@Bpreprocessing@Bpostprocessing@B inspecting@B operating@Bstandby@Bpurging@B cleaning@B accelerating@B maxspeed@B decelerating@Bstopped@Bwaiting@B accumulating@B state_graph@0Bcontent@@Bstats_contentmin@4Bstats_contentmax@5Bstats_contentavg@6Bstats_contentupdates@7Bstats_contentsince@8Bstats_contentgraph@9Content vs. TimeBstats_contentgraphmaxpoints@:Y@Bstats_content@2B staytime@@Bstats_staytimemin@<Bstats_staytimemax@=Bstats_staytimeavg@>Bstats_staytimeupdates@?Bstats_staytimegraph@A StaytimeBstats_staytimehisto@C@B parameters@@B startvalue@B endvalue@Y@Bbuckets@4@Bdata@ Staytime@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B@B interval@@Bmean@Blo@Bhi@Bpercent@W@Bauto@?Bstats_staytimegraphmaxpoints@BY@Bstats_staytimesince@@B throughput@@B stats_input@KB stats_output@LBstats_throughput@DBstats_throughputgraph@E ThroughputBstats_throughputgraphmaxpoints@FBstats_creationtime@JBstats_lastmovetime@IBstored@@