{10.5.0.3374} {Enterprise Dynamics startup information} if(StartingED, SoftStartED([])); {Model information} AddLayer([Main], 1, 1, 0); AddLayer([Visuals], 11, 2, 1); AddLayer([Background], 19, 3, 2); AddLayer([Model], 19, 4, 3); {Load required atoms} StoreActiveAtom; LoadAtomFromFile([Product], pDir([Atoms\BASIC MODELING\Product.atm])); LoadAtomFromFile([Queue], pDir([Atoms\BASIC MODELING\Queue.atm])); LoadAtomFromFile([Sink], pDir([Atoms\BASIC MODELING\Sink.atm])); LoadAtomFromFile([Source], pDir([Atoms\BASIC MODELING\Source.atm])); LoadAtomFromFile([Network Controller], pDir([Atoms\NETWORK\Network Controller.atm])); LoadAtomFromFile([Network Node], pDir([Atoms\NETWORK\Network Node.atm])); LoadAtomFromFile([Node Manipulator], pDir([Atoms\NETWORK\Node Manipulator.atm])); LoadAtomFromFile([Ground Storage], pDir([Atoms\STORAGE\Ground Storage.atm])); LoadAtomFromFile([Warehouse], pDir([Atoms\STORAGE\Warehouse.atm])); LoadAtomFromFile([Non Accumulating Conveyor], pDir([Atoms\TRANSPORT\CONVEYORS\NONACCUMULATING\Non Accumulating Conveyor.atm])); LoadAtomFromFile([Elevator], pDir([Atoms\TRANSPORT\ELEVATION\Elevator.atm])); LoadAtomFromFile([Advanced Transporter], pDir([Atoms\TRANSPORT\FLOORBOUND\Advanced Transporter.atm])); LoadAtomFromFile([Battery Charging Station], pDir([Atoms\TRANSPORT\FLOORBOUND\Battery Charging Station.atm])); LoadAtomFromFile([Destinator], pDir([Atoms\TRANSPORT\FLOORBOUND\Destinator.atm])); LoadAtomFromFile([Dispatcher], pDir([Atoms\TRANSPORT\FLOORBOUND\Dispatcher.atm])); LoadAtomFromFile([Transporter], pDir([Atoms\TRANSPORT\FLOORBOUND\Transporter.atm])); RestoreActiveAtom; {Atom: Network Node31} sets; AtomByName([Network Node], Main); if(not(AtomExists), Error([Cannot find mother atom 'Network Node'. Inheriting from BaseClass.])); CreateAtom(a, s, [Network Node31], 1, false); SetAtt([ShowPaths], 1); SetAtt([ShowNode], 1); SetAtt([network], 1); SetAtt([nodenumber], 1); SetAtt([ShowName], 0); SetAtt([ShowConnectionsToAtoms], 1); SetAtt([ShowSpeedLimit], 1); SetAtomSettings([], 0, 6320); Set(Icon(a), RegisterIcon(IconsDir([bmp\atoms\server.bmp]), [server])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\NetworkNode.ico])); Set(DdbRec, [>t-node:1.>t-netreference:719018144.>t-node1:1.]); SetChannels(0, 3); SetChannelRanges(0, 255, 0, 255); SetLoadAtomID(44); SetChannelRequestCount(1, 0, true, true, 0, 0, [], []); SetChannelRequestCount(2, 0, true, true, 0, 0, [], []); SetChannelRequestCount(3, 0, true, true, 0, 0, [], []); SetLoc(77, 15, 0); SetSize(1, 1, 0); LockPosition(false); LockSize(true); DisableIconRotation(false); SetTable(3, 8); CreateTableColumn(0, 0, [`Direction` `Network Node33` `Network Node34` `Network Node62` ]); CreateTableColumn(1, 0, [`Capacity` 1000000 1000000 1000000 ]); CreateTableColumn(2, 0, [`Content` 0 0 0 ]); CreateTableColumn(3, 0, [`Use speed limit` 0 0 0 ]); CreateTableColumn(4, 0, [4DS[`Speed limit [m/s]` 0 0 0 ]4DS]); CreateTableColumn(5, 0, [4DS[`Penalty [m]` 0 0 0 ]4DS]); CreateTableColumn(6, 0, [`Use trigger` 0 0 0 ]); CreateTableColumn(7, 0, [`Entry trigger` 0 0 0 ]); CreateTableColumn(8, 0, [`Exit trigger` 0 0 0 ]); SetStatus(0); ExecLateInit; {Atom: Network Node33} sets; AtomByName([Network Node], Main); if(not(AtomExists), Error([Cannot find mother atom 'Network Node'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Network Node33], 1, false); SetAtt([ShowPaths], 1); SetAtt([ShowNode], 1); SetAtt([network], 1); SetAtt([nodenumber], 2); SetAtt([ShowName], 0); SetAtt([ShowConnectionsToAtoms], 1); SetAtt([ShowSpeedLimit], 1); SetAtomSettings([], 0, 6320); Set(Icon(a), RegisterIcon(IconsDir([bmp\atoms\server.bmp]), [server])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\NetworkNode.ico])); Set(DdbRec, [>t-node:1.>t-netreference:719018144.>t-node1:2.]); SetChannels(0, 2); SetChannelRanges(0, 255, 0, 255); SetLoadAtomID(46); SetChannelRequestCount(1, 0, true, true, 0, 0, [], []); SetChannelRequestCount(2, 0, true, true, 0, 0, [], []); SetLoc(77, 9, 0); SetSize(1, 1, 0); LockPosition(false); LockSize(true); DisableIconRotation(false); SetTable(1, 8); CreateTableColumn(0, 0, [`Direction` `Network Node31` ]); CreateTableColumn(1, 0, [`Capacity` 1000000 ]); CreateTableColumn(2, 0, [`Content` 0 ]); CreateTableColumn(3, 0, [`Use speed limit` 0 ]); CreateTableColumn(4, 0, [4DS[`Speed limit [m/s]` 0 ]4DS]); CreateTableColumn(5, 0, [4DS[`Penalty [m]` 0 ]4DS]); CreateTableColumn(6, 0, [`Use trigger` 0 ]); CreateTableColumn(7, 0, [`Entry trigger` 0 ]); CreateTableColumn(8, 0, [`Exit trigger` 0 ]); SetStatus(0); ExecLateInit; {Atom: Network Node34} sets; AtomByName([Network Node], Main); if(not(AtomExists), Error([Cannot find mother atom 'Network Node'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Network Node34], 1, false); SetAtt([ShowPaths], 1); SetAtt([ShowNode], 1); SetAtt([network], 1); SetAtt([nodenumber], 3); SetAtt([ShowName], 0); SetAtt([ShowConnectionsToAtoms], 1); SetAtt([ShowSpeedLimit], 1); SetAtomSettings([], 0, 6320); Set(Icon(a), RegisterIcon(IconsDir([bmp\atoms\server.bmp]), [server])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\NetworkNode.ico])); Set(DdbRec, [>t-node:1.>t-netreference:719018144.>t-node1:3.]); SetChannels(0, 3); SetChannelRanges(0, 255, 0, 255); SetLoadAtomID(47); SetChannelRequestCount(1, 0, true, true, 0, 0, [], []); SetChannelRequestCount(2, 0, true, true, 0, 0, [], []); SetChannelRequestCount(3, 0, true, true, 0, 0, [], []); SetLoc(85, 15, 0); SetSize(1, 1, 0); LockPosition(false); LockSize(true); DisableIconRotation(false); SetTable(3, 8); CreateTableColumn(0, 0, [`Direction` `Network Node31` `Network Node35` `Network Node36` ]); CreateTableColumn(1, 0, [`Capacity` 1000000 1000000 1000000 ]); CreateTableColumn(2, 0, [`Content` 0 0 0 ]); CreateTableColumn(3, 0, [`Use speed limit` 0 0 0 ]); CreateTableColumn(4, 0, [4DS[`Speed limit [m/s]` 0 0 0 ]4DS]); CreateTableColumn(5, 0, [4DS[`Penalty [m]` 0 0 0 ]4DS]); CreateTableColumn(6, 0, [`Use trigger` 0 0 0 ]); CreateTableColumn(7, 0, [`Entry trigger` 0 0 0 ]); CreateTableColumn(8, 0, [`Exit trigger` 0 0 0 ]); SetStatus(0); ExecLateInit; {Atom: Network Node35} sets; AtomByName([Network Node], Main); if(not(AtomExists), Error([Cannot find mother atom 'Network Node'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Network Node35], 1, false); SetAtt([ShowPaths], 1); SetAtt([ShowNode], 1); SetAtt([network], 1); SetAtt([nodenumber], 4); SetAtt([ShowName], 0); SetAtt([ShowConnectionsToAtoms], 1); SetAtt([ShowSpeedLimit], 1); SetAtomSettings([], 0, 6320); Set(Icon(a), RegisterIcon(IconsDir([bmp\atoms\server.bmp]), [server])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\NetworkNode.ico])); Set(DdbRec, [>t-node:1.>t-netreference:719018144.>t-node1:4.]); SetChannels(0, 1); SetChannelRanges(0, 255, 0, 255); SetLoadAtomID(48); SetChannelRequestCount(1, 0, true, true, 0, 0, [], []); SetLoc(85, 9, 0); SetSize(1, 1, 0); LockPosition(false); LockSize(true); DisableIconRotation(false); SetTable(1, 8); CreateTableColumn(0, 0, [`Direction` `Network Node34` ]); CreateTableColumn(1, 0, [`Capacity` 1000000 ]); CreateTableColumn(2, 0, [`Content` 0 ]); CreateTableColumn(3, 0, [`Use speed limit` 0 ]); CreateTableColumn(4, 0, [4DS[`Speed limit [m/s]` 0 ]4DS]); CreateTableColumn(5, 0, [4DS[`Penalty [m]` 0 ]4DS]); CreateTableColumn(6, 0, [`Use trigger` 0 ]); CreateTableColumn(7, 0, [`Entry trigger` 0 ]); CreateTableColumn(8, 0, [`Exit trigger` 0 ]); SetStatus(0); ExecLateInit; {Atom: Network Node36} sets; AtomByName([Network Node], Main); if(not(AtomExists), Error([Cannot find mother atom 'Network Node'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Network Node36], 1, false); SetAtt([ShowPaths], 1); SetAtt([ShowNode], 1); SetAtt([network], 1); SetAtt([nodenumber], 5); SetAtt([ShowName], 0); SetAtt([ShowConnectionsToAtoms], 1); SetAtt([ShowSpeedLimit], 1); SetAtomSettings([], 0, 6320); Set(Icon(a), RegisterIcon(IconsDir([bmp\atoms\server.bmp]), [server])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\NetworkNode.ico])); Set(DdbRec, [>t-node:1.>t-netreference:719018144.>t-node1:5.]); SetChannels(0, 3); SetChannelRanges(0, 255, 0, 255); SetLoadAtomID(49); SetChannelRequestCount(1, 0, true, true, 0, 0, [], []); SetChannelRequestCount(2, 0, true, true, 0, 0, [], []); SetChannelRequestCount(3, 0, true, true, 0, 0, [], []); SetLoc(93, 15, 0); SetSize(1, 1, 0); LockPosition(false); LockSize(true); DisableIconRotation(false); SetTable(3, 8); CreateTableColumn(0, 0, [`Direction` `Network Node34` `Network Node37` `Network Node38` ]); CreateTableColumn(1, 0, [`Capacity` 1000000 1000000 1000000 ]); CreateTableColumn(2, 0, [`Content` 0 0 0 ]); CreateTableColumn(3, 0, [`Use speed limit` 0 0 0 ]); CreateTableColumn(4, 0, [4DS[`Speed limit [m/s]` 0 0 0 ]4DS]); CreateTableColumn(5, 0, [4DS[`Penalty [m]` 0 0 0 ]4DS]); CreateTableColumn(6, 0, [`Use trigger` 0 0 0 ]); CreateTableColumn(7, 0, [`Entry trigger` 0 0 0 ]); CreateTableColumn(8, 0, [`Exit trigger` 0 0 0 ]); SetStatus(0); ExecLateInit; {Atom: Network Node37} sets; AtomByName([Network Node], Main); if(not(AtomExists), Error([Cannot find mother atom 'Network Node'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Network Node37], 1, false); SetAtt([ShowPaths], 1); SetAtt([ShowNode], 1); SetAtt([network], 1); SetAtt([nodenumber], 6); SetAtt([ShowName], 0); SetAtt([ShowConnectionsToAtoms], 1); SetAtt([ShowSpeedLimit], 1); SetAtomSettings([], 0, 6320); Set(Icon(a), RegisterIcon(IconsDir([bmp\atoms\server.bmp]), [server])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\NetworkNode.ico])); Set(DdbRec, [>t-node:1.>t-netreference:719018144.>t-node1:6.]); SetChannels(0, 1); SetChannelRanges(0, 255, 0, 255); SetLoadAtomID(50); SetChannelRequestCount(1, 0, true, true, 0, 0, [], []); SetLoc(93, 9, 0); SetSize(1, 1, 0); LockPosition(false); LockSize(true); DisableIconRotation(false); SetTable(1, 8); CreateTableColumn(0, 0, [`Direction` `Network Node36` ]); CreateTableColumn(1, 0, [`Capacity` 1000000 ]); CreateTableColumn(2, 0, [`Content` 0 ]); CreateTableColumn(3, 0, [`Use speed limit` 0 ]); CreateTableColumn(4, 0, [4DS[`Speed limit [m/s]` 0 ]4DS]); CreateTableColumn(5, 0, [4DS[`Penalty [m]` 0 ]4DS]); CreateTableColumn(6, 0, [`Use trigger` 0 ]); CreateTableColumn(7, 0, [`Entry trigger` 0 ]); CreateTableColumn(8, 0, [`Exit trigger` 0 ]); SetStatus(0); ExecLateInit; {Atom: Network Node38} sets; AtomByName([Network Node], Main); if(not(AtomExists), Error([Cannot find mother atom 'Network Node'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Network Node38], 1, false); SetAtt([ShowPaths], 1); SetAtt([ShowNode], 1); SetAtt([network], 1); SetAtt([nodenumber], 7); SetAtt([ShowName], 0); SetAtt([ShowConnectionsToAtoms], 1); SetAtt([ShowSpeedLimit], 1); SetAtomSettings([], 0, 6320); Set(Icon(a), RegisterIcon(IconsDir([bmp\atoms\server.bmp]), [server])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\NetworkNode.ico])); Set(DdbRec, [>t-node:1.>t-netreference:719018144.>t-node1:7.]); SetChannels(0, 2); SetChannelRanges(0, 255, 0, 255); SetLoadAtomID(51); SetChannelRequestCount(1, 0, true, true, 0, 0, [], []); SetChannelRequestCount(2, 0, true, true, 0, 0, [], []); SetLoc(101, 15, 0); SetSize(1, 1, 0); LockPosition(false); LockSize(true); DisableIconRotation(false); SetTable(2, 8); CreateTableColumn(0, 0, [`Direction` `Network Node36` `Network Node39` ]); CreateTableColumn(1, 0, [`Capacity` 1000000 1000000 ]); CreateTableColumn(2, 0, [`Content` 0 0 ]); CreateTableColumn(3, 0, [`Use speed limit` 0 0 ]); CreateTableColumn(4, 0, [4DS[`Speed limit [m/s]` 0 0 ]4DS]); CreateTableColumn(5, 0, [4DS[`Penalty [m]` 0 0 ]4DS]); CreateTableColumn(6, 0, [`Use trigger` 0 0 ]); CreateTableColumn(7, 0, [`Entry trigger` 0 0 ]); CreateTableColumn(8, 0, [`Exit trigger` 0 0 ]); SetStatus(0); ExecLateInit; {Atom: Network Node39} sets; AtomByName([Network Node], Main); if(not(AtomExists), Error([Cannot find mother atom 'Network Node'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Network Node39], 1, false); SetAtt([ShowPaths], 1); SetAtt([ShowNode], 1); SetAtt([network], 1); SetAtt([nodenumber], 8); SetAtt([ShowName], 0); SetAtt([ShowConnectionsToAtoms], 1); SetAtt([ShowSpeedLimit], 1); SetAtomSettings([], 0, 6320); Set(Icon(a), RegisterIcon(IconsDir([bmp\atoms\server.bmp]), [server])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\NetworkNode.ico])); Set(DdbRec, [>t-node:1.>t-netreference:719018144.>t-node1:8.]); SetChannels(0, 1); SetChannelRanges(0, 255, 0, 255); SetLoadAtomID(52); SetChannelRequestCount(1, 0, true, true, 0, 0, [], []); SetLoc(101, 9, 0); SetSize(1, 1, 0); LockPosition(false); LockSize(true); DisableIconRotation(false); SetTable(1, 8); CreateTableColumn(0, 0, [`Direction` `Network Node38` ]); CreateTableColumn(1, 0, [`Capacity` 1000000 ]); CreateTableColumn(2, 0, [`Content` 0 ]); CreateTableColumn(3, 0, [`Use speed limit` 0 ]); CreateTableColumn(4, 0, [4DS[`Speed limit [m/s]` 0 ]4DS]); CreateTableColumn(5, 0, [4DS[`Penalty [m]` 0 ]4DS]); CreateTableColumn(6, 0, [`Use trigger` 0 ]); CreateTableColumn(7, 0, [`Entry trigger` 0 ]); CreateTableColumn(8, 0, [`Exit trigger` 0 ]); SetStatus(0); ExecLateInit; {Atom: E-Ladesäulen} sets; AtomByName([Battery Charging Station], Main); if(not(AtomExists), Error([Cannot find mother atom 'Battery Charging Station'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [E-Ladesäulen], 1, false); SetAtt([TreeCreation], 0); SetAtt([Stations], 3); SetExprAtt([ChargingCurrent], [1000]); SetAtt([DockPosition], 0); SetAtomSettings([], 32768, 1194); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\Battery Charging Station.ico])); Set(DdbRec, [>t-chargingstation:1.>t-network:1.>t-nodeconnections-n1:1.>t-node1:10.]); SetLoadAtomID(77); SetLoc(49, 8, 0); SetSize(7.5, 3, 0.1); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); ExecLateInit; {Atom: Incoming Queue} sets; AtomByName([Incoming Queue], Main); if(not(AtomExists), Error([Cannot find mother atom 'Incoming Queue'. Inheriting from BaseClass.])); CreateAtom(a, s, [Incoming Queue], 1, false); SetExprAtt([SendTo], [min(nroc(c),-(+(nroc(c),1),indexmatch(nroc(c),1,ocready(-(+(nroc(c),1),count),c))))]); SetAtt([Capacity], 10); SetAtt([EntryTrigger], 0); SetAtt([ExitTrigger], 0); SetExprAtt([QueueDiscipline], [{.content(c)|Fifo (First In First Out) .}content(c)]); SetAtt([DrawLoc], 2); SetExprAtt([InStrategy], [{.openallic(c)|Any inputchannel .}openallic(c)]); SetAtt([3DIcon], 2); SetAtomSettings([], 12615680, 3200); Set(Icon(a), RegisterIcon(IconsDir([bmp\atoms\queue.bmp]), [queue])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\Prohibited.ico])); SetChannels(1, 4); SetChannelRanges(1, 255, 1, 255); SetLoadAtomID(78); SetChannelRequestCount(1, 0, true, false, 0, 0, [], []); SetChannelRequestCount(2, 0, true, false, 0, 0, [], []); SetChannelRequestCount(3, 0, true, false, 0, 0, [], []); SetChannelRequestCount(4, 0, true, false, 0, 0, [], []); SetLoc(-2, 0, 0); SetSize(2, 1, 0); LockPosition(true); LockSize(true); DisableIconRotation(false); SetStatus(13); ExecLateInit; {Atom: Docking Station1} sets; AtomByName([Docking Station], Main); if(not(AtomExists), Error([Cannot find mother atom 'Docking Station'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Docking Station1], 1, false); SetAtt([docknumber], 1); SetAtt([exchangetime], 0); SetExprAtt([chargingcurrent], [1000]); SetAtt([chargingtime], 60.5891394750255); SetAtt([batt_refreshrate], 1); SetAtt([batt_curtime], 0); SetAtomSettings([], 0, 3242); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\Prohibited.ico])); SetChannels(1, 1); SetChannelRanges(1, 100, 1, 100); SetLoadAtomID(79); SetChannelRequestCount(1, 0, true, true, 0, 0, [], []); SetSize(1, 1, 1); LockPosition(true); LockSize(true); DisableIconRotation(false); SetStatus(1); ExecLateInit; {Atom: Docking Station2} sets; AtomByName([Docking Station], Main); if(not(AtomExists), Error([Cannot find mother atom 'Docking Station'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Docking Station2], 1, false); SetAtt([docknumber], 2); SetAtt([exchangetime], 0); SetExprAtt([chargingcurrent], [1000]); SetAtt([chargingtime], 0); SetAtt([batt_refreshrate], 1); SetAtt([batt_curtime], 0); SetAtomSettings([], 0, 3242); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\Prohibited.ico])); SetChannels(1, 1); SetChannelRanges(1, 100, 1, 100); SetLoadAtomID(144); SetChannelRequestCount(1, 0, true, true, 0, 0, [], []); SetLoc(2.5, 0, 0); SetSize(1, 1, 1); LockPosition(true); LockSize(true); DisableIconRotation(false); SetStatus(1); ExecLateInit; {Atom: Docking Station3} sets; AtomByName([Docking Station], Main); if(not(AtomExists), Error([Cannot find mother atom 'Docking Station'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Docking Station3], 1, false); SetAtt([docknumber], 3); SetAtt([exchangetime], 0); SetExprAtt([chargingcurrent], [1000]); SetAtt([chargingtime], 0); SetAtt([batt_refreshrate], 1); SetAtt([batt_curtime], 0); SetAtomSettings([], 0, 3242); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\Prohibited.ico])); SetChannels(1, 1); SetChannelRanges(1, 100, 1, 100); SetLoadAtomID(145); SetLoc(5, 0, 0); SetSize(1, 1, 1); LockPosition(true); LockSize(true); DisableIconRotation(false); SetStatus(1); ExecLateInit; Up; {Atom: Network Node62} sets; AtomByName([Network Node], Main); if(not(AtomExists), Error([Cannot find mother atom 'Network Node'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Network Node62], 1, false); SetAtt([ShowPaths], 1); SetAtt([ShowNode], 1); SetAtt([network], 1); SetAtt([nodenumber], 9); SetAtt([ShowName], 0); SetAtt([ShowConnectionsToAtoms], 1); SetAtt([ShowSpeedLimit], 1); SetAtomSettings([], 0, 6320); Set(Icon(a), RegisterIcon(IconsDir([bmp\atoms\server.bmp]), [server])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\NetworkNode.ico])); Set(DdbRec, [>t-node:1.>t-netreference:719018144.>t-node1:9.]); SetChannels(0, 3); SetChannelRanges(0, 255, 0, 255); SetLoadAtomID(119); SetChannelRequestCount(1, 0, true, true, 0, 0, [], []); SetChannelRequestCount(2, 0, true, true, 0, 0, [], []); SetChannelRequestCount(3, 0, true, true, 0, 0, [], []); SetLoc(49, 15, 0); SetSize(1, 1, 0); LockPosition(false); LockSize(true); DisableIconRotation(false); SetTable(3, 8); CreateTableColumn(0, 64, [`Direction` `Network Node31` `Network Node63` `Network Node49` ]); CreateTableColumn(1, 64, [`Capacity` 1000000 1000000 1000000 ]); CreateTableColumn(2, 64, [`Content` 0 0 0 ]); CreateTableColumn(3, 64, [`Use speed limit` 0 0 0 ]); CreateTableColumn(4, 64, [4DS[`Speed limit [m/s]` 0 1 0 ]4DS]); CreateTableColumn(5, 64, [4DS[`Penalty [m]` 0 0 0 ]4DS]); CreateTableColumn(6, 64, [`Use trigger` 0 0 0 ]); CreateTableColumn(7, 64, [`Entry trigger` 0 0 0 ]); CreateTableColumn(8, 64, [`Exit trigger` 0 0 0 ]); SetStatus(0); ExecLateInit; {Atom: Network Node63} sets; AtomByName([Network Node], Main); if(not(AtomExists), Error([Cannot find mother atom 'Network Node'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Network Node63], 1, false); SetAtt([ShowPaths], 1); SetAtt([ShowNode], 1); SetAtt([network], 1); SetAtt([nodenumber], 10); SetAtt([ShowName], 0); SetAtt([ShowConnectionsToAtoms], 1); SetAtt([ShowSpeedLimit], 1); SetAtomSettings([], 0, 6320); Set(Icon(a), RegisterIcon(IconsDir([bmp\atoms\server.bmp]), [server])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\NetworkNode.ico])); Set(DdbRec, [>t-node:1.>t-netreference:719018144.>t-node1:10.]); SetChannels(0, 2); SetChannelRanges(0, 255, 0, 255); SetLoadAtomID(120); SetChannelRequestCount(1, 0, true, true, 0, 0, [], []); SetChannelRequestCount(2, 0, true, true, 0, 0, [], []); SetLoc(49, 11, 0); SetSize(1, 1, 0); LockPosition(false); LockSize(true); DisableIconRotation(false); SetTable(1, 8); CreateTableColumn(0, 64, [`Direction` `Network Node62` ]); CreateTableColumn(1, 64, [`Capacity` 1000000 ]); CreateTableColumn(2, 64, [`Content` 0 ]); CreateTableColumn(3, 64, [`Use speed limit` 0 ]); CreateTableColumn(4, 64, [4DS[`Speed limit [m/s]` 1 ]4DS]); CreateTableColumn(5, 64, [4DS[`Penalty [m]` 0 ]4DS]); CreateTableColumn(6, 64, [`Use trigger` 0 ]); CreateTableColumn(7, 64, [`Entry trigger` 0 ]); CreateTableColumn(8, 64, [`Exit trigger` 0 ]); SetStatus(0); ExecLateInit; {Atom: Netzwerk Controller} sets; AtomByName([Network Controller], Main); if(not(AtomExists), Error([Cannot find mother atom 'Network Controller'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Netzwerk Controller], 1, false); SetAtt([network], 1); SetAtt([optimize], 0); SetAtt([distancetable], 719016032); SetAtt([nodetable], 719014976); SetAtt([pointertable], 719013920); SetAtt([renamenodes], 0); SetAtt([angletable], 719012864); SetAtt([atomtable], 719011808); SetAtt([batterytable], 719010752); SetAtt([batterydistancetable], 719009696); SetAtomSettings([], 0, 530464); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\NetworkController.ico])); Set(DdbRec, [>atom1:718940992.>atom2:757017520.]); SetLoadAtomID(121); SetLoc(3, -5, 0); SetSize(9, 2, 0); LockPosition(false); LockSize(false); DisableIconRotation(false); SetTable(12, 12); CreateTableColumn(0, 0, [`` `Network Node31` `Network Node33` `Network Node34` `Network Node35` `Network Node36` `Network Node37` `Network Node38` `Network Node39` `Network Node62` `Network Node63` `Network Node55` `Network Node49` ]); CreateTableColumn(1, 0, [`Network Node31` `` 1 1 `` `` `` `` `` 1 ]); CreateTableColumn(2, 0, [`Network Node33` 1 ]); CreateTableColumn(3, 0, [`Network Node34` 1 `` `` 1 1 ]); CreateTableColumn(4, 0, [`Network Node35` `` `` 1 ]); CreateTableColumn(5, 0, [`Network Node36` `` `` 1 `` `` 1 1 ]); CreateTableColumn(6, 0, [`Network Node37` `` `` `` `` 1 ]); CreateTableColumn(7, 0, [`Network Node38` `` `` `` `` 1 `` `` 1 ]); CreateTableColumn(8, 0, [`Network Node39` `` `` `` `` `` `` 1 ]); CreateTableColumn(9, 0, [`Network Node62` 1 `` `` `` `` `` `` `` `` 1 `` 1 ]); CreateTableColumn(10, 0, [`Network Node63` `` `` `` `` `` `` `` `` 1 ]); CreateTableColumn(11, 0, [`Network Node55` `` `` `` `` `` `` `` `` `` `` `` 1 ]); CreateTableColumn(12, 0, [`Network Node49` `` `` `` `` `` `` `` `` 1 `` 1 ]); SetStatus(0); ExecLateInit; {Atom: Distance Table} sets; BaseClass; CreateAtom(a, s, [Distance Table], 1, false); SetAtomSettings([], 0, 3200); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetLoadAtomID(122); SetSize(1, 1, 1); LockPosition(false); LockSize(false); DisableIconRotation(false); SetTable(12, 12); CreateTableColumn(0, 0, [`` `Network Node31` `Network Node33` `Network Node34` `Network Node35` `Network Node36` `Network Node37` `Network Node38` `Network Node39` `Network Node62` `Network Node63` `Network Node55` `Network Node49` ]); CreateTableColumn(1, 0, [`Network Node31` 0 6 8 14 16 22 24 30 28 32 52 42 ]); CreateTableColumn(2, 0, [`Network Node33` 6 0 14 20 22 28 30 36 34 38 58 48 ]); CreateTableColumn(3, 0, [`Network Node34` 8 14 0 6 8 14 16 22 36 40 60 50 ]); CreateTableColumn(4, 0, [`Network Node35` 14 20 6 0 14 20 22 28 42 46 66 56 ]); CreateTableColumn(5, 0, [`Network Node36` 16 22 8 14 0 6 8 14 44 48 68 58 ]); CreateTableColumn(6, 0, [`Network Node37` 22 28 14 20 6 0 14 20 50 54 74 64 ]); CreateTableColumn(7, 0, [`Network Node38` 24 30 16 22 8 14 0 6 52 56 76 66 ]); CreateTableColumn(8, 0, [`Network Node39` 30 36 22 28 14 20 6 0 58 62 82 72 ]); CreateTableColumn(9, 0, [`Network Node62` 28 34 36 42 44 50 52 58 0 4 24 14 ]); CreateTableColumn(10, 0, [`Network Node63` 32 38 40 46 48 54 56 62 4 0 28 18 ]); CreateTableColumn(11, 0, [`Network Node55` 52 58 60 66 68 74 76 82 24 28 0 10 ]); CreateTableColumn(12, 0, [`Network Node49` 42 48 50 56 58 64 66 72 14 18 10 0 ]); SetStatus(0); ExecLateInit; {Atom: Node Table} sets; BaseClass; CreateAtom(a, Up(s), [Node Table], 1, false); SetAtomSettings([], 0, 3200); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetLoadAtomID(123); SetSize(1, 1, 1); LockPosition(false); LockSize(false); DisableIconRotation(false); SetTable(12, 12); CreateTableColumn(0, 0, [`` `Network Node31` `Network Node33` `Network Node34` `Network Node35` `Network Node36` `Network Node37` `Network Node38` `Network Node39` `Network Node62` `Network Node63` `Network Node55` `Network Node49` ]); CreateTableColumn(1, 0, [`Network Node31` 1 1 1 3 3 5 5 7 1 9 12 9 ]); CreateTableColumn(2, 0, [`Network Node33` 2 2 1 3 3 5 5 7 1 9 12 9 ]); CreateTableColumn(3, 0, [`Network Node34` 3 1 3 3 3 5 5 7 1 9 12 9 ]); CreateTableColumn(4, 0, [`Network Node35` 3 1 4 4 3 5 5 7 1 9 12 9 ]); CreateTableColumn(5, 0, [`Network Node36` 3 1 5 3 5 5 5 7 1 9 12 9 ]); CreateTableColumn(6, 0, [`Network Node37` 3 1 5 3 6 6 5 7 1 9 12 9 ]); CreateTableColumn(7, 0, [`Network Node38` 3 1 5 3 7 5 7 7 1 9 12 9 ]); CreateTableColumn(8, 0, [`Network Node39` 3 1 5 3 7 5 8 8 1 9 12 9 ]); CreateTableColumn(9, 0, [`Network Node62` 9 1 1 3 3 5 5 7 9 9 12 9 ]); CreateTableColumn(10, 0, [`Network Node63` 9 1 1 3 3 5 5 7 10 10 12 9 ]); CreateTableColumn(11, 0, [`Network Node55` 9 1 1 3 3 5 5 7 12 9 11 11 ]); CreateTableColumn(12, 0, [`Network Node49` 9 1 1 3 3 5 5 7 12 9 12 12 ]); SetStatus(0); ExecLateInit; {Atom: Pointer Table} sets; BaseClass; CreateAtom(a, Up(s), [Pointer Table], 1, false); SetAtomSettings([], 0, 3200); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetChannels(0, 12); SetLoadAtomID(124); SetChannelRequestCount(1, 0, true, true, 0, 0, [], []); SetChannelRequestCount(2, 0, true, true, 0, 0, [], []); SetChannelRequestCount(3, 0, true, true, 0, 0, [], []); SetChannelRequestCount(4, 0, true, true, 0, 0, [], []); SetChannelRequestCount(5, 0, true, true, 0, 0, [], []); SetChannelRequestCount(6, 0, true, true, 0, 0, [], []); SetChannelRequestCount(7, 0, true, true, 0, 0, [], []); SetChannelRequestCount(8, 0, true, true, 0, 0, [], []); SetChannelRequestCount(9, 0, true, true, 0, 0, [], []); SetChannelRequestCount(10, 0, true, true, 0, 0, [], []); SetChannelRequestCount(11, 0, true, true, 0, 0, [], []); SetChannelRequestCount(12, 0, true, true, 0, 0, [], []); SetSize(1, 1, 1); LockPosition(false); LockSize(false); DisableIconRotation(false); SetTable(12, 1); CreateTableColumn(0, 0, [`` `Network Node31` `Network Node33` `Network Node34` `Network Node35` `Network Node36` `Network Node37` `Network Node38` `Network Node39` `Network Node62` `Network Node63` `Network Node55` `Network Node49` ]); CreateTableColumn(1, 0, [1 706680048 706678992 706677936 706676880 706675824 719029760 719028704 719027648 719020256 719019200 719021312 719003360 ]); SetStatus(0); ExecLateInit; {Atom: Angle Table} sets; BaseClass; CreateAtom(a, Up(s), [Angle Table], 1, false); SetAtomSettings([], 0, 3200); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetLoadAtomID(125); SetSize(1, 1, 1); LockPosition(false); LockSize(false); DisableIconRotation(false); SetTable(12, 12); CreateTableColumn(0, 0, [`` `Network Node31` `Network Node33` `Network Node34` `Network Node35` `Network Node36` `Network Node37` `Network Node38` `Network Node39` `Network Node62` `Network Node63` `Network Node55` `Network Node49` ]); CreateTableColumn(1, 0, [`Network Node31` `` 90 180 `` `` `` `` `` 0 ]); CreateTableColumn(2, 0, [`Network Node33` 270 ]); CreateTableColumn(3, 0, [`Network Node34` 0 `` `` 90 180 ]); CreateTableColumn(4, 0, [`Network Node35` `` `` 270 ]); CreateTableColumn(5, 0, [`Network Node36` `` `` 0 `` `` 90 180 ]); CreateTableColumn(6, 0, [`Network Node37` `` `` `` `` 270 ]); CreateTableColumn(7, 0, [`Network Node38` `` `` `` `` 0 `` `` 90 ]); CreateTableColumn(8, 0, [`Network Node39` `` `` `` `` `` `` 270 ]); CreateTableColumn(9, 0, [`Network Node62` 180 `` `` `` `` `` `` `` `` 90 `` 0 ]); CreateTableColumn(10, 0, [`Network Node63` `` `` `` `` `` `` `` `` 270 ]); CreateTableColumn(11, 0, [`Network Node55` `` `` `` `` `` `` `` `` `` `` `` 270 ]); CreateTableColumn(12, 0, [`Network Node49` `` `` `` `` `` `` `` `` 180 `` 90 ]); SetStatus(0); ExecLateInit; {Atom: Atom Table} sets; BaseClass; CreateAtom(a, Up(s), [Atom Table], 1, false); SetAtomSettings([], 0, 3200); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetChannels(0, 2); SetLoadAtomID(126); SetChannelRequestCount(1, 0, true, true, 0, 0, [], []); SetChannelRequestCount(2, 0, true, true, 0, 0, [], []); SetSize(1, 1, 1); LockPosition(false); LockSize(false); DisableIconRotation(false); SetTable(2, 2); CreateTableColumn(0, 0, [`` `JIS-Bodenlager - (A- & B-Teile)` `1. Puffer - Scheibe & Scheinwerfer ` ]); CreateTableColumn(1, 0, [`Pointer Value` 719007584 719041376 ]); CreateTableColumn(2, 0, [`Connected Node` 11 2 ]); SetStatus(0); ExecLateInit; {Atom: Battery Pointer Table} sets; BaseClass; CreateAtom(a, Up(s), [Battery Pointer Table], 1, false); SetAtomSettings([], 0, 3200); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetChannels(0, 1); SetLoadAtomID(127); SetChannelRequestCount(1, 0, true, true, 0, 0, [], []); SetSize(1, 1, 1); LockPosition(false); LockSize(false); DisableIconRotation(false); SetTable(1, 2); CreateTableColumn(0, 0, [`` `E-Ladesäulen` ]); CreateTableColumn(1, 0, [`Pointer Value` 719026592 ]); CreateTableColumn(2, 0, [`Connected Node` 10 ]); SetStatus(0); ExecLateInit; {Atom: Battery Distance Table} sets; BaseClass; CreateAtom(a, Up(s), [Battery Distance Table], 1, false); SetAtomSettings([], 0, 3200); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetLoadAtomID(128); SetSize(1, 1, 1); LockPosition(false); LockSize(false); DisableIconRotation(false); SetTable(1, 2); CreateTableColumn(0, 0, [`` `E-Ladesäulen` ]); CreateTableColumn(1, 0, [`JIS-Bodenlager` 28 ]); CreateTableColumn(2, 0, [`Queue27` 38 ]); SetStatus(0); ExecLateInit; Up; {Atom: Wareneingang} sets; AtomByName([Source], Main); if(not(AtomExists), Error([Cannot find mother atom 'Source'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Wareneingang], 1, false); SetExprAtt([SendTo], [{.~1|~1~.}1]); SetExprAtt([CycleTime], [180]); SetExprAtt([CreationTrigger], [{.Icon(i) := ~2 + mod(input(c) - 1, ~1)|4. Ordered icons: products are assigned ~4~ types of icons in repeating sequence starting with icon number ~41~.}Icon(i) := 41 + mod(input(c) - 1, 4)]); SetExprAtt([ExitTrigger], [4DS[Do( Label([row], i) := 1 + Trunc((Output(c) - 1)/4), Label([column], i) := 4 - Mod(Output(c) - 1,4) ) ]4DS]); SetExprAtt([FirstProduct], [10]); SetExprAtt([MaxProducts], [{.~1|2. Generate maximum ~40~ products.}40]); SetAtt([Icon3D], 4); SetAtomSettings([], 7168771, 176); Set(Icon(a), RegisterIcon(IconsDir([bmp\atoms\source.bmp]), [source])); AddModel3D( RegisterModel3D(Model3DDir([source.wrl]), [source.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([source_Resized.wrl]), [Source_Resized.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\Source.ico])); SetChannels(1, 1); SetChannelRanges(1, 1, 1, 255); SetLoadAtomID(130); SetChannelRequestCount(1, 0, true, false, 0, 0, [], []); SetLoc(3, 5, 0); SetSize(5, 2, 2); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(2); ExecLateInit; {Atom: JIS-Bodenlager - (A- & B-Teile)} sets; AtomByName([Ground Storage], Main); if(not(AtomExists), Error([Cannot find mother atom 'Ground Storage'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [JIS-Bodenlager - (A- & B-Teile)], 1, false); SetAtt([rows], 10); SetAtt([columns], 4); SetAtt([currow], 1); SetAtt([curcol], 1); SetExprAtt([entrytrigger], [0]); SetExprAtt([exittrigger], [4DS[do( if( Icon(c) = 41, do( Label([Zulieferteil 1]) ) ), if( Icon(c) = 42, do( Label([Zulieferteil 2]) ) ), if( Icon(c) = 43, do( Label([Zulieferteil 3]) ) ), if( Icon(c) = 44, do( Label([Zulieferteil 4]) ) ) )]4DS]); SetExprAtt([putinrow], [4DS[label([row],i)]4DS]); SetExprAtt([putincol], [4DS[label([column],i)]4DS]); SetExprAtt([instrategy], [{.openallic(c)|Any inputchannel.}openallic(c)]); SetExprAtt([queuediscipline], [{.content(c)|Fifo (First In First Out).}content(c)]); SetExprAtt([sendto], [{.~1|~1~.}1]); SetExprAtt([prodtosend], [first(c)]); SetAtt([temp], 0); SetAtt([showcontents], 1); SetAtt([SizeToRowsCols], 1); SetAtt([2DView], 1); SetAtt([Detection], 1); SetAtomSettings([], 0, 8368); Set(Icon(a), RegisterIcon(IconsDir([bmp\buffers\warehouse.bmp]), [warehouse])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); AddTexture( RegisterTexture(IconsDir([Bmp\Buffers\warehouse.bmp]), [warehouse.bmp], 128, 64, 255, 255, 0, 0, 0, 0), a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\GroundStorage.ico])); Set(DdbRec, [>t-network:1.>t-nodeconnections-n1:1.>t-node1:11.]); SetChannels(1, 1); SetChannelRanges(1, 255, 0, 255); SetLoadAtomID(132); SetChannelRequestCount(1, 0, true, false, 0, 0, [], []); SetLoc(31, 5, 0); SetSize(4, 10, 0); LockPosition(false); LockSize(false); DisableIconRotation(false); SetTable(10, 4); CreateTableColumn(0, 64, [`` 1 2 3 4 5 6 7 8 9 10 ]); CreateTableColumn(1, 64, [1 0 0 0 0 0 0 0 0 0 0 ]); CreateTableColumn(2, 64, [2 0 0 0 0 0 0 0 0 0 0 ]); CreateTableColumn(3, 64, [3 0 0 0 0 0 0 0 0 0 0 ]); CreateTableColumn(4, 64, [4 0 0 0 0 0 0 0 0 0 0 ]); SetStatus(15); ExecLateInit; {Atom: Network Node55} sets; AtomByName([Network Node], Main); if(not(AtomExists), Error([Cannot find mother atom 'Network Node'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Network Node55], 1, false); SetAtt([ShowPaths], 1); SetAtt([ShowNode], 1); SetAtt([network], 1); SetAtt([nodenumber], 11); SetAtt([ShowName], 0); SetAtt([ShowConnectionsToAtoms], 1); SetAtt([ShowSpeedLimit], 1); SetAtomSettings([], 0, 6320); Set(Icon(a), RegisterIcon(IconsDir([bmp\atoms\server.bmp]), [server])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\NetworkNode.ico])); Set(DdbRec, [>t-node:1.>t-node1:11.>t-netreference:719018144.]); SetChannels(0, 2); SetChannelRanges(0, 255, 0, 255); SetLoadAtomID(134); SetChannelRequestCount(1, 0, true, true, 0, 0, [], []); SetChannelRequestCount(2, 0, true, true, 0, 0, [], []); SetLoc(35, 5, 0); SetSize(1, 1, 0); LockPosition(false); LockSize(true); DisableIconRotation(false); SetTable(1, 8); CreateTableColumn(0, 0, [`Direction` `Network Node49` ]); CreateTableColumn(1, 0, [`Capacity` 1000000 ]); CreateTableColumn(2, 0, [`Content` 0 ]); CreateTableColumn(3, 0, [`Use speed limit` 0 ]); CreateTableColumn(4, 0, [4DS[`Speed limit [m/s]` 0 ]4DS]); CreateTableColumn(5, 0, [4DS[`Penalty [m]` 0 ]4DS]); CreateTableColumn(6, 0, [`Use trigger` 0 ]); CreateTableColumn(7, 0, [`Entry trigger` 0 ]); CreateTableColumn(8, 0, [`Exit trigger` 0 ]); SetStatus(0); ExecLateInit; {Atom: Advanced Transporter58} sets; AtomByName([Advanced Transporter], Main); if(not(AtomExists), Error([Cannot find mother atom 'Advanced Transporter'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Advanced Transporter58], 1, false); SetAtt([next channel], 0); SetAtt([destnode], 1); SetAtt([curxdest], 35.5); SetAtt([curydest], 5); SetAtt([curzdest], 0); SetAtt([keepspeed], 1); SetExprAtt([speed], [0.5]); SetExprAtt([acceleration], [1]); SetExprAtt([deceleration], [1]); SetAtt([betweennodes], 0); SetAtt([unloadsequence], 1); SetExprAtt([sendto], [{.~1|~Case( WhichIsTrue( icon(First(c)) = 41, icon(First(c)) = 42, icon(First(c)) = 43, icon(First(c)) = 44 ), 1, 2, 3, 4 )~.}Case( WhichIsTrue( icon(First(c)) = 41, icon(First(c)) = 42, icon(First(c)) = 43, icon(First(c)) = 44 ), 1, 2, 3, 4 )]); SetExprAtt([loadtime], [30]); SetExprAtt([unloadtime], [10]); SetExprAtt([loadquantity], [4]); SetExprAtt([entrytrigger], [0]); SetExprAtt([exittrigger], [0]); SetAtt([prevatom], 0); SetExprAtt([xoffpick], [4DS[{.label([~1],i)|2. Atom label --> the offset is found on label ~column~ of the atom to be picked or placed..}label([column],i)]4DS]); SetExprAtt([yoffpick], [{.yabsloc(c,model)-yabsloc(in(2,c),model)|3. Horizontal line --> the transporter travels in a horizontal line. ~Only use this option to define the Y offsets!~.}yabsloc(c,model)-yabsloc(in(2,c),model)]); SetExprAtt([zoffpick], [4DS[{.label([~1],first(in(2,c)))|2. Atom label (for picking) --> the offset is found on label ~row~ of the atom to be placed..}label([row],first(in(2,c)))]4DS]); SetExprAtt([xoffplace], [4DS[{.label([~1],i)|2. Atom label (for placing) --> the offset is found on label ~column~ of the atom to be picked or placed..}label([column],i)]4DS]); SetExprAtt([yoffplace], [{.yabsloc(c,model)-yabsloc(in(2,c),model)|3. Horizontal line --> the transporter travels in a horizontal line. ~Only use this option to define the Y offsets!~.}yabsloc(c,model)-yabsloc(in(2,c),model)]); SetExprAtt([zoffplace], [4DS[{.label([~1],i)|2. Atom label (for placing) --> the offset is found on the label ~row~ of the first ranked atom of the destination..}label([row],i)]4DS]); SetAtt([3dicon], 1); SetAtt([curload], 4); SetAtt([loadrestriction], 1); SetTextAtt([loadlabel], [LabelName]); SetAtt([isplacing], 0); SetAtt([offroad], 0); SetAtt([offnetwork], 1); SetAtt([picking], 1); SetAtt([placing], 0); SetAtt([liftdrive], 1); SetAtt([lifting], 1); SetAtt([forkz], 0); SetAtt([liftstart], 42.3753817328853); SetExprAtt([liftspeed], [0.5]); SetAtt([liftdirection], 0); SetAtt([liftfix], 0); SetExprAtt([fixheight], [0]); SetAtt([liftheight], 0); SetAtt([curheight], 0); SetAtt([distancetable], 719016032); SetAtt([nodetable], 719014976); SetAtt([pointertable], 719013920); SetAtt([connectiontable], 719018144); SetAtt([turnmode], 3); SetAtt([transporttime], 0); SetAtt([minrotspeed], 30); SetAtt([atdestination], 0); SetAtt([octoprev], 0); SetAtt([octocur], 0); SetAtt([octonext], 0); SetTextAtt([unloadlabel], [LabelName]); SetAtt([autoload], 1); SetAtt([autounload], 1); SetAtt([userpick], 0); SetAtt([userplace], 0); SetTextAtt([ConnectedTo], [Network Node55]); SetAtt([Cornermode], 1); SetAtt([Corner], 0); SetExprAtt([CornerSpeed], [4DS[{.if(att([angledifference],c)>~1,~3,~2)|2. Use two different corner speeds: if road angle is between min.angle and ~50~°,choose speed of ~1.5~ m/s, if angle is larger then choose ~0.5~ m/s.}if(att([angledifference],c)>50,0.5,1.5)]4DS]); SetAtt([CurAngle], 0); SetAtt([NextAngle], 0); SetAtt([AngleDifference], 0); SetAtt([MinAngle], 10); SetAtt([AngleTable], 719012864); SetAtt([Batterymode], 0); SetExprAtt([BatteryCapacity], [20]); SetExprAtt([Batt_ConsumptionDrive], [{.~1|1. Constant: ~100~ Ah.}100]); SetExprAtt([Batt_ConsumptionLift], [{.~1|1. Constant: ~100~ Ah.}100]); SetExprAtt([Batt_MinCapacity], [10]); SetExprAtt([Batt_MinPercentage], [20]); SetAtt([Batt_CurCapacity], 20); SetAtt([Batt_CurPercentage], 100); SetAtt([Batt_CurTime], 0); SetAtt([Batt_ConsumptionTyp], 100); SetAtt([Batt_2DText], 0); SetAtt([DestAtom], 719004416); SetAtt([DestChannel], 1); SetAtt([AtomTable], 719011808); SetAtt([BatteryTable], 719010752); SetAtt([BatteryDistanceTable], 719009696); SetAtt([BatteryCurrent], 0); SetAtt([Weight], 0); SetExprAtt([Batt_ConsumptionAccelerate], [{.~1|1. Constant: ~100~ Ah.}100]); SetExprAtt([Batt_ConsumptionLower], [{.~1|1. Constant: ~10~ Ah.}10]); SetExprAtt([Batt_ConsumptionDecelerate], [{.~1|1. Constant: ~100~ Ah.}100]); SetAtt([Lastspeed], 0); SetAtt([Curspeed], 0); SetAtt([ReturnToParkingPlace], 1); SetAtt([Batt_Accel], 5000); SetAtt([CutOffMode], 0); SetExprAtt([CutOffTime], [0]); SetAtt([CutOff], 0); SetAtt([DistanceTraveled], 0); SetAtt([LoadAdjustment], 1); SetAtt([LoadPosition], 0); SetAtt([ShowPathIn2D], 0); SetAtt([ColorPath], 255); SetAtomSettings([], 767720, 74803); Set(Icon(a), RegisterIcon(IconsDir([Bmp\Transp\trns1001.bmp]), [trns1001.bmp], 1, 0, 0, 0, 0, false, 0)); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\Transporter2.ico])); Set(DdbRec, [>t-transporter:1.>oldxloc:35.5.>oldyloc:5.>n1:11.>n2:11.>n3:11.>d2:1000000000000.>d4:1000000000000.>previousedstnode:1.>t-dest:1.>zeitstempel:1197.>id:2579428.>timestamp:864.>t-continue:1.>batteryrow:1.>d1:1000000000000.>d3:0.5.>t-start:1.]); SetChannels(3, 4); SetChannelRanges(3, 3, 4, 4); SetLoadAtomID(136); SetChannelRequestCount(1, 0, true, false, 0, 0, [Product Origin], [Product Destination]); SetChannelRequestCount(2, 0, true, false, 1, 1, [Current goal (Origin or Destination)], [Next network node on path]); SetChannelRequestCount(3, 0, true, false, 1, 1, [Do not connect], [Previous network node on path]); SetChannelRequestCount(4, 0, true, false, 0, 0, [], [Link to network]); SetLoc(35.5, 5, 0); SetSize(3, 2, 1); LockPosition(false); LockSize(true); DisableIconRotation(false); SetStatus(1); ExecLateInit; {Atom: Dispatcher} sets; AtomByName([Dispatcher], Main); if(not(AtomExists), Error([Cannot find mother atom 'Dispatcher'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Dispatcher], 1, false); SetExprAtt([dispatchto], [{.If(Transporter_loadpermission(out(~1,c),in(3,cs)),~1,0)|1. Specific channel --> always send to channel ~1~.}If(Transporter_loadpermission(out(1,c),in(3,cs)),1,0)]); SetAtt([usercontrol], 0); SetExprAtt([sortby], [4DS[{.[no sort required]|1. FIFO --> first in first out..}[no sort required]]4DS]); SetAtt([exittrigger], 0); SetExprAtt([pickatatom], [in(message,c)]); SetExprAtt([atomtopick], [first(in(message,c))]); SetAtt([occurrent], 1); SetAtt([yoffset], 0); SetAtt([zoffset], 0); SetAtt([curoc], 0); SetAtt([prevoc], 0); SetAtt([buildonreset], 1); SetAtt([showbuild], 0); SetAtt([editmode], 1); SetAtt([distancetable], 0); SetAtt([nodetable], 0); SetAtt([pointertable], 0); SetAtt([connectiontable], 0); SetAtomSettings([], 16711808, 32); Set(Icon(a), RegisterIcon(IconsDir([bmp\atoms\queue.bmp]), [queue])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\Dispatcher.ico])); Set(DdbRec, [>t-dispatcher:1.]); SetChannels(1, 2); SetChannelRanges(1, 255, 1, 255); SetLoadAtomID(137); SetChannelRequestCount(1, 0, true, true, 0, 0, [], []); SetChannelRequestCount(2, 0, true, true, 0, 0, [], []); SetLoc(15, -5, 0); SetSize(6, 2, 0); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); ExecLateInit; {Atom: Destinator} sets; AtomByName([Destinator], Main); if(not(AtomExists), Error([Cannot find mother atom 'Destinator'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Destinator], 1, false); SetExprAtt([sendto], [1]); SetAtt([queue discipline], 0); SetAtt([exittrigger], 0); SetExprAtt([pickatatom], [in(ic(c),c)]); SetAtt([atomtopick], 1); SetAttributeInformation([capacity], true, true); SetAtomSettings([], 16711808, 32); Set(Icon(a), RegisterIcon(IconsDir([bmp\atoms\queue.bmp]), [queue])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\Destinator.ico])); Set(DdbRec, [>t-destinator:1.]); SetChannels(1, 4); SetChannelRanges(1, 255, 1, 255); SetLoadAtomID(138); SetChannelRequestCount(1, 0, true, true, 0, 0, [], []); SetChannelRequestCount(2, 0, true, true, 0, 0, [], []); SetChannelRequestCount(3, 0, true, true, 0, 0, [], []); SetChannelRequestCount(4, 0, true, true, 0, 0, [], []); SetLoc(24, -5, 0); SetSize(6, 2, 0); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); ExecLateInit; {Atom: Network Node49} sets; AtomByName([Network Node], Main); if(not(AtomExists), Error([Cannot find mother atom 'Network Node'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Network Node49], 1, false); SetAtt([ShowPaths], 1); SetAtt([ShowNode], 1); SetAtt([network], 1); SetAtt([nodenumber], 12); SetAtt([ShowName], 0); SetAtt([ShowConnectionsToAtoms], 1); SetAtt([ShowSpeedLimit], 1); SetAtomSettings([], 0, 6320); Set(Icon(a), RegisterIcon(IconsDir([bmp\atoms\server.bmp]), [server])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\NetworkNode.ico])); Set(DdbRec, [>t-node:1.>t-node1:12.>t-netreference:719018144.]); SetChannels(0, 2); SetChannelRanges(0, 255, 0, 255); SetLoadAtomID(152); SetChannelRequestCount(1, 0, true, true, 0, 0, [], []); SetChannelRequestCount(2, 0, true, true, 0, 0, [], []); SetLoc(35, 15, 0); SetSize(1, 1, 0); LockPosition(false); LockSize(true); DisableIconRotation(false); SetTable(2, 8); CreateTableColumn(0, 0, [`Direction` `Network Node62` `Network Node55` ]); CreateTableColumn(1, 0, [`Capacity` 1000000 1000000 ]); CreateTableColumn(2, 0, [`Content` 0 0 ]); CreateTableColumn(3, 0, [`Use speed limit` 0 0 ]); CreateTableColumn(4, 0, [4DS[`Speed limit [m/s]` 0 0 ]4DS]); CreateTableColumn(5, 0, [4DS[`Penalty [m]` 0 0 ]4DS]); CreateTableColumn(6, 0, [`Use trigger` 0 0 ]); CreateTableColumn(7, 0, [`Entry trigger` 0 0 ]); CreateTableColumn(8, 0, [`Exit trigger` 0 0 ]); SetStatus(0); ExecLateInit; {Atom: Product} sets; AtomByName([Product], Main); if(not(AtomExists), Error([Cannot find mother atom 'Product'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Product], 1, false); SetAtt([Icon3D], 11); SetAtt([Hide2DIcon], 0); SetAtt([ShowColor], 0); SetAtomSettings([], 12615680, 73776); Set(Icon(a), RegisterIcon(IconsDir([Png\products\product.png]), [product], 1, 1, 16777215, 255, 255, false, 0)); AddModel3D( RegisterModel3D(Model3DDir([box-closed.wrl]), [box-closed.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([box-opened.wrl]), [box-opened.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([pallet-wood.wrl]), [pallet-wood.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([pallet-plastic.wrl]), [pallet-plastic.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([oildrum.wrl]), [oildrum.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([crate.wrl]), [crate.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\Product.ico])); Set(DdbRec, [>drawxsize:1.>drawysize:1.]); SetLoadAtomID(176); SetLoc(1, 5, 0); SetSize(1, 1, 1); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); ExecLateInit; {Atom: Transporter49} sets; AtomByName([Transporter], Main); if(not(AtomExists), Error([Cannot find mother atom 'Transporter'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Transporter49], 1, false); SetAtt([curoc], 1); SetAtt([curic], 1); SetAtt([acceleration], 0); SetAtt([deceleration], 0); SetAtt([curzdest], 0); SetAtt([isondest], 0); SetAtt([speed], 1); SetExprAtt([instrategy], [{.openallic(c)|Any inputchannel .}openallic(c)]); SetAtt([3dicon], 1); SetAtt([entrytrigger], 0); SetAtt([exittrigger], 0); SetExprAtt([sendto], [1]); SetExprAtt([loadtime], [0]); SetExprAtt([unloadtime], [0]); SetAtt([EndOfLoadTrigger], 0); SetAtt([StartOfUnloadTrigger], 0); SetAtomSettings([], 767720, 66579); Set(Icon(a), RegisterIcon(pDir([Media\Images\Transport\truck2.bmp]), [truck 1])); AddModel3D( RegisterModel3D(Model3DDir([Forklift.wrl]), [Forklift.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\Transporter1.ico])); SetChannels(1, 1); SetChannelRanges(1, 255, 1, 255); SetLoadAtomID(177); SetChannelRequestCount(1, 0, true, false, 0, 0, [], []); SetLoc(31, 5, 0); SetSize(3, 2, 1); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(1); ExecLateInit; {Atom: 1. Puffer - Scheibe & Scheinwerfer } sets; AtomByName([Queue], Main); if(not(AtomExists), Error([Cannot find mother atom 'Queue'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [1. Puffer - Scheibe & Scheinwerfer ], 1, false); SetExprAtt([SendTo], [{.~1|~If( Input(c) = 10, Do(1 ) )~.}If( Input(c) = 10, Do(1 ) )]); SetAtt([Capacity], 10); SetExprAtt([EntryTrigger], [0]); SetExprAtt([ExitTrigger], [0]); SetExprAtt([QueueDiscipline], [{.content(c)|Fifo (First In First Out).}content(c)]); SetAtt([DrawLoc], 1); SetExprAtt([InStrategy], [{.openallic(c)|Any inputchannel.}openallic(c)]); SetAtt([3DIcon], 2); SetAtt([ShowContents], 1); SetAtt([FittingContentCount], 0); SetAtt([NameLength3D], 35); SetAtomSettings([], 12615680, 1200); Set(Icon(a), RegisterIcon(IconsDir([bmp\atoms\queue.bmp]), [queue])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\Queue.ico])); Set(DdbRec, [>updateversion:10.5.>t-network:1.>t-nodeconnections-n1:1.>t-node1:2.]); SetChannels(1, 1); SetChannelRanges(1, 255, 1, 255); SetLoadAtomID(195); SetChannelRequestCount(1, 0, true, false, 0, 0, [], []); SetLoc(77, 7, 0); SetSize(5, 2, 0); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(13); ExecLateInit; {Atom: 2. Puffer - Front- & Heckstoßstange } sets; AtomByName([Queue], Main); if(not(AtomExists), Error([Cannot find mother atom 'Queue'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [2. Puffer - Front- & Heckstoßstange ], 1, false); SetExprAtt([SendTo], [{.~1|~If( Input(c) = 10, Do(1 ) )~.}If( Input(c) = 10, Do(1 ) )]); SetAtt([Capacity], 10); SetExprAtt([EntryTrigger], [0]); SetExprAtt([ExitTrigger], [0]); SetExprAtt([QueueDiscipline], [{.content(c)|Fifo (First In First Out).}content(c)]); SetAtt([DrawLoc], 1); SetExprAtt([InStrategy], [{.openallic(c)|Any inputchannel.}openallic(c)]); SetAtt([3DIcon], 2); SetAtt([ShowContents], 1); SetAtt([FittingContentCount], 0); SetAtt([NameLength3D], 36); SetAtomSettings([], 12615680, 1200); Set(Icon(a), RegisterIcon(IconsDir([bmp\atoms\queue.bmp]), [queue])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\Queue.ico])); Set(DdbRec, [>updateversion:10.5.]); SetChannels(1, 1); SetChannelRanges(1, 255, 1, 255); SetLoadAtomID(196); SetChannelRequestCount(1, 0, true, false, 0, 0, [], []); SetLoc(85, 7, 0); SetSize(5, 2, 0); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(13); ExecLateInit; {Atom: 3. Puffer - Türen } sets; AtomByName([Queue], Main); if(not(AtomExists), Error([Cannot find mother atom 'Queue'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [3. Puffer - Türen ], 1, false); SetExprAtt([SendTo], [{.~1|~If( Input(c) = 10, Do(1 ) )~.}If( Input(c) = 10, Do(1 ) )]); SetAtt([Capacity], 10); SetExprAtt([EntryTrigger], [0]); SetExprAtt([ExitTrigger], [0]); SetExprAtt([QueueDiscipline], [{.content(c)|Fifo (First In First Out).}content(c)]); SetAtt([DrawLoc], 1); SetExprAtt([InStrategy], [{.openallic(c)|Any inputchannel.}openallic(c)]); SetAtt([3DIcon], 2); SetAtt([ShowContents], 1); SetAtt([FittingContentCount], 0); SetAtt([NameLength3D], 18); SetAtomSettings([], 12615680, 1200); Set(Icon(a), RegisterIcon(IconsDir([bmp\atoms\queue.bmp]), [queue])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\Queue.ico])); Set(DdbRec, [>updateversion:10.5.]); SetChannels(1, 1); SetChannelRanges(1, 255, 1, 255); SetLoadAtomID(197); SetChannelRequestCount(1, 0, true, false, 0, 0, [], []); SetLoc(93, 7, 0); SetSize(5, 2, 0); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(13); ExecLateInit; {Atom: 4. Puffer - Reifen } sets; AtomByName([Queue], Main); if(not(AtomExists), Error([Cannot find mother atom 'Queue'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [4. Puffer - Reifen ], 1, false); SetExprAtt([SendTo], [{.~1|~If( Input(c) = 10, Do(1 ) )~.}If( Input(c) = 10, Do(1 ) )]); SetAtt([Capacity], 10); SetExprAtt([EntryTrigger], [0]); SetExprAtt([ExitTrigger], [0]); SetExprAtt([QueueDiscipline], [{.content(c)|Fifo (First In First Out).}content(c)]); SetAtt([DrawLoc], 1); SetExprAtt([InStrategy], [{.openallic(c)|Any inputchannel.}openallic(c)]); SetAtt([3DIcon], 2); SetAtt([ShowContents], 1); SetAtt([FittingContentCount], 0); SetAtt([NameLength3D], 19); SetAtomSettings([], 12615680, 1200); Set(Icon(a), RegisterIcon(IconsDir([bmp\atoms\queue.bmp]), [queue])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\Queue.ico])); Set(DdbRec, [>updateversion:10.5.]); SetChannels(1, 1); SetChannelRanges(1, 255, 1, 255); SetLoadAtomID(198); SetChannelRequestCount(1, 0, true, false, 0, 0, [], []); SetLoc(101, 7, 0); SetSize(5, 2, 0); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(13); ExecLateInit; {Atom: Node Manipulator26} sets; AtomByName([Node Manipulator], Main); if(not(AtomExists), Error([Cannot find mother atom 'Node Manipulator'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Node Manipulator26], 1, false); SetAtt([connecting], 1); SetExprAtt([selectatom], [4DS[do( setatt(3,0,c), var([atmLP], vbAtom), ForAtomTreeUnder( Model, do( atmLP := a, if( and( >(max(xAbsLoc(atmLP, Model), +(xabsloc(atmLP, Model), xsize(atmLP))), xabsloc(c, Model)), >(max(yabsloc(atmLP, Model), +(yabsloc(atmLP, Model), ysize(atmLP))), yabsloc(c, Model)), <(min(xabsloc(atmLP, Model), +(xabsloc(atmLP, Model), xsize(atmLP))), +(xabsloc(c, Model), xsize(c))), <(min(yabsloc(atmLP, Model), +(yabsloc(atmLP, Model), ysize(atmLP))), +(yabsloc(c, Model),ysize(c))), <>(atomid(atmLP),atomid(c)), not(ddb([t999-hidenodes],atmLP)) ), do( setatt(3,1,c), att([CurrentAtom], c) := ptv(atmLP) ) ) ) ) )]4DS]); SetAtt([atomfound], 1); SetAtt([displaymode], 1); SetAtt([displaytext], 0); SetExprAtt([unselectatom], [if( atomexists(in(1, c)), connect(0, c, 1, c) )]); SetAtt([twoway], 1); SetAtt([ShowPaths], 1); SetAtt([ShowNodes], 1); SetAtt([ShowNodeNames], 0); SetAtt([ShowConnectionsToatoms], 1); SetAtt([CurrentAtom], 0); SetAtomSettings([], 32768, 3106); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\NodeManipulator.ico])); SetChannels(1, 1); SetChannelRanges(1, 1, 1, 1); SetLoadAtomID(199); SetLoc(71, 7, 0); SetSize(2, 2, 0); LockPosition(false); LockSize(true); DisableIconRotation(false); SetStatus(0); ExecLateInit; {Atom: 1. Montage - Scheibe & Scheinwerfer } sets; AtomByName([Sink], Main); if(not(AtomExists), Error([Cannot find mother atom 'Sink'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [1. Montage - Scheibe & Scheinwerfer ], 1, false); SetExprAtt([EntryTrigger], [0]); SetAtt([Icon3D], 4); SetAtomSettings([], 7168771, 176); Set(Icon(a), RegisterIcon(pDir([Media\Images\Atoms\sink.bmp]), [sink])); AddModel3D( RegisterModel3D(Model3DDir([sink.wrl]), [sink.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([sink_Resized.wrl]), [sink_Resized.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\Sink.ico])); SetChannels(1, 0); SetChannelRanges(1, 255, 0, 0); SetLoadAtomID(202); SetChannelRequestCount(1, 0, true, true, 0, 0, [], []); SetLoc(77, 4, 0); SetSize(5, 2, 2); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(1); ExecLateInit; {Atom: 2. Montage - Front- & Heckstoßstange } sets; AtomByName([Sink], Main); if(not(AtomExists), Error([Cannot find mother atom 'Sink'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [2. Montage - Front- & Heckstoßstange ], 1, false); SetExprAtt([EntryTrigger], [0]); SetAtt([Icon3D], 4); SetAtomSettings([], 7168771, 176); Set(Icon(a), RegisterIcon(pDir([Media\Images\Atoms\sink.bmp]), [sink])); AddModel3D( RegisterModel3D(Model3DDir([sink.wrl]), [sink.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([sink_Resized.wrl]), [sink_Resized.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\Sink.ico])); SetChannels(1, 0); SetChannelRanges(1, 255, 0, 0); SetLoadAtomID(203); SetChannelRequestCount(1, 0, true, true, 0, 0, [], []); SetLoc(85, 4, 0); SetSize(5, 2, 2); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); ExecLateInit; {Atom: 3. Montage - Türen } sets; AtomByName([Sink], Main); if(not(AtomExists), Error([Cannot find mother atom 'Sink'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [3. Montage - Türen ], 1, false); SetExprAtt([EntryTrigger], [0]); SetAtt([Icon3D], 4); SetAtomSettings([], 7168771, 176); Set(Icon(a), RegisterIcon(pDir([Media\Images\Atoms\sink.bmp]), [sink])); AddModel3D( RegisterModel3D(Model3DDir([sink.wrl]), [sink.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([sink_Resized.wrl]), [sink_Resized.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\Sink.ico])); SetChannels(1, 0); SetChannelRanges(1, 255, 0, 0); SetLoadAtomID(205); SetChannelRequestCount(1, 0, true, true, 0, 0, [], []); SetLoc(93, 4, 0); SetSize(5, 2, 2); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); ExecLateInit; {Atom: 4. Montage - Reifen } sets; AtomByName([Sink], Main); if(not(AtomExists), Error([Cannot find mother atom 'Sink'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [4. Montage - Reifen ], 1, false); SetExprAtt([EntryTrigger], [0]); SetAtt([Icon3D], 4); SetAtomSettings([], 7168771, 176); Set(Icon(a), RegisterIcon(pDir([Media\Images\Atoms\sink.bmp]), [sink])); AddModel3D( RegisterModel3D(Model3DDir([sink.wrl]), [sink.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([sink_Resized.wrl]), [sink_Resized.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\Sink.ico])); SetChannels(1, 0); SetChannelRanges(1, 255, 0, 0); SetLoadAtomID(206); SetChannelRequestCount(1, 0, true, true, 0, 0, [], []); SetLoc(101, 4, 0); SetSize(5, 2, 2); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); ExecLateInit; {Atom: AKL - (C-Teile)} sets; AtomByName([Warehouse], Main); if(not(AtomExists), Error([Cannot find mother atom 'Warehouse'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [AKL - (C-Teile)], 1, false); SetAtt([rows], 4); SetAtt([columns], 10); SetAtt([currow], 1); SetAtt([curcol], 1); SetExprAtt([entrytrigger], [0]); SetExprAtt([exittrigger], [0]); SetExprAtt([putinrow], [4DS[label([row],i)]4DS]); SetExprAtt([putincol], [4DS[label([column],i)]4DS]); SetExprAtt([instrategy], [{.openallic(c)|Any inputchannel.}openallic(c)]); SetExprAtt([queuediscipline], [{.content(c)|Fifo (First In First Out).}content(c)]); SetExprAtt([sendto], [{.~1|~1~.}1]); SetExprAtt([prodtosend], [first(c)]); SetAtt([temp], 0); SetAtt([showcontents], 0); SetAtt([DisplayTexture], 1); SetAtt([3dwidth], 1); SetAtt([searchmode], 1); SetAtomSettings([], 4605453, 176); Set(Icon(a), RegisterIcon(IconsDir([bmp\buffers\warehouse.bmp]), [warehouse])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); AddTexture( RegisterTexture(IconsDir([bmp\buffers\warehouse.bmp]), [warehouse], 108, 54, 255, 255, 1, 16777215, 0, 0), a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\Warehouse.ico])); SetChannels(1, 0); SetChannelRanges(1, 255, 0, 255); SetLoadAtomID(207); SetChannelRequestCount(1, 0, true, true, 0, 0, [], []); SetLoc(23, 20, 0); SetSize(10, 2, 4); LockPosition(false); LockSize(false); DisableIconRotation(false); SetTable(4, 10); CreateTableColumn(0, 0, [`` 1 2 3 4 ]); CreateTableColumn(1, 0, [1 ]); CreateTableColumn(2, 0, [2 ]); CreateTableColumn(3, 0, [3 ]); CreateTableColumn(4, 0, [4 ]); CreateTableColumn(5, 0, [5 ]); CreateTableColumn(6, 0, [6 ]); CreateTableColumn(7, 0, [7 ]); CreateTableColumn(8, 0, [8 ]); CreateTableColumn(9, 0, [9 ]); CreateTableColumn(10, 0, [10 ]); SetStatus(0); ExecLateInit; {Atom: Elevator32} sets; AtomByName([Elevator], Main); if(not(AtomExists), Error([Cannot find mother atom 'Elevator'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Elevator32], 1, false); SetAtt([curoc], 0); SetAtt([curic], 0); SetExprAtt([acceleration], [0.1]); SetExprAtt([deceleration], [0.1]); SetAtt([curzdest], 0); SetAtt([isondest], 0); SetExprAtt([speed], [1]); SetExprAtt([instrategy], [{.openallic(c)|Any inputchannel.}openallic(c)]); SetAtt([3dicon], 2); SetExprAtt([entrytrigger], [0]); SetExprAtt([exittrigger], [0]); SetExprAtt([sendto], [{.~1|~1~.}1]); SetExprAtt([loadtime], [0]); SetExprAtt([unloadtime], [0]); SetExprAtt([batchqty], [1]); SetAtt([curbatch], 1); SetExprAtt([elevheight], [3.75]); SetExprAtt([QueueDiscipline], [{.content(c)|Fifo (First In First Out).}content(c)]); SetExprAtt([PriorityInputChannel], [0]); SetAtt([CutOffMode], 0); SetExprAtt([CutOffTime], [0]); SetAtt([CutOff], 0); SetAtt([ParkingMode], 0); SetExprAtt([ParkingPosition], [0]); SetAtt([ShowZloc], 1); SetExprAtt([StartOfUnloadTrigger], [0]); SetExprAtt([EndOfLoadTrigger], [0]); SetAtomSettings([], 255, 1080); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\Elevator.ico])); Set(DdbRec, [>updatetoed10:1.>xabsloc:-1.]); SetChannels(1, 1); SetChannelRanges(1, 255, 1, 255); SetLoadAtomID(208); SetChannelRequestCount(1, 0, false, false, 0, 0, [], []); SetLoc(22, 20, 0); SetSize(1, 1, 0.2); SetTranslation(0, 0, -0.2); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(1); ExecLateInit; {Atom: Elevator33} sets; AtomByName([Elevator], Main); if(not(AtomExists), Error([Cannot find mother atom 'Elevator'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Elevator33], 1, false); SetAtt([curoc], 0); SetAtt([curic], 0); SetExprAtt([acceleration], [0.1]); SetExprAtt([deceleration], [0.1]); SetAtt([curzdest], 0); SetAtt([isondest], 0); SetExprAtt([speed], [1]); SetExprAtt([instrategy], [{.openallic(c)|Any inputchannel.}openallic(c)]); SetAtt([3dicon], 2); SetExprAtt([entrytrigger], [0]); SetExprAtt([exittrigger], [0]); SetExprAtt([sendto], [{.~1|~1~.}1]); SetExprAtt([loadtime], [0]); SetExprAtt([unloadtime], [0]); SetExprAtt([batchqty], [1]); SetAtt([curbatch], 0); SetExprAtt([elevheight], [3.75]); SetExprAtt([QueueDiscipline], [{.content(c)|Fifo (First In First Out).}content(c)]); SetExprAtt([PriorityInputChannel], [0]); SetAtt([CutOffMode], 0); SetExprAtt([CutOffTime], [0]); SetAtt([CutOff], 0); SetAtt([ParkingMode], 0); SetExprAtt([ParkingPosition], [0]); SetAtt([ShowZloc], 1); SetExprAtt([StartOfUnloadTrigger], [0]); SetExprAtt([EndOfLoadTrigger], [0]); SetAtomSettings([], 255, 1080); Set(Icon(a), RegisterIcon(pDir([media\images\default.jpg]), [default])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\Elevator.ico])); Set(DdbRec, [>updatetoed10:1.]); SetChannels(1, 1); SetChannelRanges(1, 255, 1, 255); SetLoadAtomID(209); SetLoc(33, 20, 0); SetSize(1, 1, 0.2); SetTranslation(0, 0, -0.2); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(1); ExecLateInit; {Atom: Copy of Wareneingang} sets; AtomByName([Source], Main); if(not(AtomExists), Error([Cannot find mother atom 'Source'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Copy of Wareneingang], 1, false); SetExprAtt([SendTo], [{.~1|~1~.}1]); SetExprAtt([CycleTime], [20]); SetExprAtt([CreationTrigger], [{.Icon(i) := ~2 + mod(input(c) - 1, ~1)|4. Ordered icons: products are assigned ~4~ types of icons in repeating sequence starting with icon number ~41~.}Icon(i) := 41 + mod(input(c) - 1, 4)]); SetExprAtt([ExitTrigger], [4DS[Do( Label([row], i) := 4 - Mod(Output(c) - 1,4), Label([column], i) := 10 - Trunc((Output(c)-1)/4) ) ]4DS]); SetExprAtt([FirstProduct], [10]); SetExprAtt([MaxProducts], [{.~1|2. Generate maximum ~40~ products.}40]); SetAtt([Icon3D], 4); SetAtomSettings([], 7168771, 176); Set(Icon(a), RegisterIcon(IconsDir([bmp\atoms\source.bmp]), [source])); AddModel3D( RegisterModel3D(Model3DDir([source.wrl]), [source.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([source_Resized.wrl]), [Source_Resized.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\Source.ico])); SetChannels(1, 1); SetChannelRanges(1, 1, 1, 255); SetLoadAtomID(210); SetChannelRequestCount(1, 0, true, false, 0, 0, [], []); SetLoc(3, 20, 0); SetSize(5, 2, 2); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(2); ExecLateInit; {Atom: Copy of Product} sets; AtomByName([Product], Main); if(not(AtomExists), Error([Cannot find mother atom 'Product'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Copy of Product], 1, false); SetAtt([Icon3D], 11); SetAtt([Hide2DIcon], 0); SetAtt([ShowColor], 0); SetAtomSettings([], 12615680, 73776); Set(Icon(a), RegisterIcon(IconsDir([Png\products\product.png]), [product], 1, 1, 16777215, 255, 255, false, 0)); AddModel3D( RegisterModel3D(Model3DDir([box-closed.wrl]), [box-closed.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([box-opened.wrl]), [box-opened.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([pallet-wood.wrl]), [pallet-wood.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([pallet-plastic.wrl]), [pallet-plastic.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([oildrum.wrl]), [oildrum.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); AddModel3D( RegisterModel3D(Model3DDir([crate.wrl]), [crate.wrl], 0, 0, 0, 1, 1, -1, -90, 0, 0), a); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\Product.ico])); Set(DdbRec, [>drawxsize:1.>drawysize:1.]); SetLoadAtomID(211); SetLoc(1, 20, 0); SetSize(1, 1, 1); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(0); ExecLateInit; {Atom: Non Accumulating Conveyor36} sets; AtomByName([Non Accumulating Conveyor], Main); if(not(AtomExists), Error([Cannot find mother atom 'Non Accumulating Conveyor'. Inheriting from BaseClass.])); CreateAtom(a, Up(s), [Non Accumulating Conveyor36], 1, false); SetExprAtt([Speed], [1]); SetAtt([Moving], 0); SetExprAtt([SendTo], [{.~1|~1~.}1]); SetAtt([SpacingRule], 1); SetExprAtt([Spacing], [0]); SetAtt([Temp], 0); SetExprAtt([EntryTrigger], [0]); SetAtt([Capacity], 10000); SetExprAtt([ExitTrigger], [0]); SetAtt([Use_Physical], 1); SetAtt([Input_Length], 14); SetExprAtt([Elevation], [0]); SetExprAtt([HorLength], [If(Use_Physical, xSize(c), Input_Length)]); SetExprAtt([Angle], [ArcTan(Elevation / HorLength)]); SetExprAtt([Length], [If(Elevation <> 0, HorLength / Cos(Angle), HorLength )]); SetAtt([Leg_Supports], 3); SetAtt([CalcLength], 14); SetAtt([3D_Angle], 0); SetAtt([HorSpeed], 1); SetAtt([VertSpeed], 0); SetExprAtt([LegDist], [5]); SetAtt([Tmp], 1); SetAtt([IsConveyor], 8); SetAtt([Transparency], 0); SetAtomSettings([], 13809478, 1072); Set(Icon(a), RegisterIcon(IconsDir([bmp\atoms\conveyor.bmp]), [conveyor])); SetMaterial( RegisterMaterial([Default], 8421504, 8421504, 3289650, 0, 0.100000001490116, 0, false, false, 1, 0), 1, a); Set(Version(a), 0); SetTreeIcon(pDir([Media\Icons\NonAccumulatingConveyor.ico])); SetChannels(1, 1); SetChannelRanges(1, 255, 1, 255); SetLoadAtomID(212); SetChannelRequestCount(1, 0, true, false, 0, 0, [], []); SetLoc(8, 20, 0); SetSize(14, 1, 0); LockPosition(false); LockSize(false); DisableIconRotation(false); SetStatus(13); ExecLateInit; Up; ConnectLoadAtoms(1, 44, 0, 46, 0); ConnectLoadAtoms(2, 44, 0, 47, 0); ConnectLoadAtoms(3, 44, 0, 119, 0); ConnectLoadAtoms(1, 46, 0, 44, 0); ConnectLoadAtoms(2, 46, 0, 195, 0); ConnectLoadAtoms(1, 47, 0, 44, 0); ConnectLoadAtoms(2, 47, 0, 48, 0); ConnectLoadAtoms(3, 47, 0, 49, 0); ConnectLoadAtoms(1, 48, 0, 47, 0); ConnectLoadAtoms(1, 49, 0, 47, 0); ConnectLoadAtoms(2, 49, 0, 50, 0); ConnectLoadAtoms(3, 49, 0, 51, 0); ConnectLoadAtoms(1, 50, 0, 49, 0); ConnectLoadAtoms(1, 51, 0, 49, 0); ConnectLoadAtoms(2, 51, 0, 52, 0); ConnectLoadAtoms(1, 52, 0, 51, 0); ConnectLoadAtoms(1, 78, 1, 79, 0); ConnectLoadAtoms(2, 78, 1, 144, 0); ConnectLoadAtoms(1, 119, 0, 44, 0); ConnectLoadAtoms(2, 119, 0, 120, 0); ConnectLoadAtoms(3, 119, 0, 152, 0); ConnectLoadAtoms(1, 120, 0, 119, 0); ConnectLoadAtoms(2, 120, 0, 77, 0); ConnectLoadAtoms(1, 124, 0, 44, 0); ConnectLoadAtoms(2, 124, 0, 46, 0); ConnectLoadAtoms(3, 124, 0, 47, 0); ConnectLoadAtoms(4, 124, 0, 48, 0); ConnectLoadAtoms(5, 124, 0, 49, 0); ConnectLoadAtoms(6, 124, 0, 50, 0); ConnectLoadAtoms(7, 124, 0, 51, 0); ConnectLoadAtoms(8, 124, 0, 52, 0); ConnectLoadAtoms(9, 124, 0, 119, 0); ConnectLoadAtoms(10, 124, 0, 120, 0); ConnectLoadAtoms(11, 124, 0, 134, 0); ConnectLoadAtoms(12, 124, 0, 152, 0); ConnectLoadAtoms(1, 126, 0, 195, 0); ConnectLoadAtoms(2, 126, 0, 132, 0); ConnectLoadAtoms(1, 127, 0, 77, 0); ConnectLoadAtoms(1, 130, 1, 177, 0); ConnectLoadAtoms(0, 176, 1, 130, 0); ConnectLoadAtoms(1, 132, 1, 137, 0); ConnectLoadAtoms(1, 177, 1, 132, 0); ConnectLoadAtoms(1, 134, 0, 152, 0); ConnectLoadAtoms(2, 134, 0, 132, 0); ConnectLoadAtoms(1, 136, 1, 138, 0); ConnectLoadAtoms(1, 137, 1, 136, 0); ConnectLoadAtoms(2, 136, 0, 134, 0); ConnectLoadAtoms(3, 136, 0, 134, 0); ConnectLoadAtoms(4, 136, 0, 134, 0); ConnectLoadAtoms(1, 138, 1, 195, 0); ConnectLoadAtoms(2, 138, 1, 196, 0); ConnectLoadAtoms(3, 138, 1, 197, 0); ConnectLoadAtoms(4, 138, 1, 198, 0); ConnectLoadAtoms(1, 152, 0, 119, 0); ConnectLoadAtoms(2, 152, 0, 134, 0); ConnectLoadAtoms(1, 195, 1, 202, 0); ConnectLoadAtoms(1, 196, 1, 203, 0); ConnectLoadAtoms(1, 197, 1, 205, 0); ConnectLoadAtoms(1, 198, 1, 206, 0); ConnectLoadAtoms(1, 208, 1, 207, 0); ConnectLoadAtoms(1, 212, 1, 208, 0); ConnectLoadAtoms(1, 210, 1, 212, 0); ConnectLoadAtoms(0, 211, 1, 210, 0); LoadEvent(0, 121, 1, 1000000, 0, 0); LoadEvent(10, 130, 1, 0, 0, 0); LoadEvent(0, 136, 19, 999, 0, 0); LoadEvent(0, 208, 5, 0, 0, 0); LoadEvent(0, 209, 5, 0, 0, 0); LoadEvent(10, 210, 1, 0, 0, 0); {Experiment settings} ActivateExperimentAtom; SetAtt(17, 1); {Saved Model3D settings.} ExecOnCreationOnLoad;