|
TM - Plant Simulation : Variantenfertigung
tauli am 04.02.2009 um 15:18 Uhr (0)
DankeIch weiß nur nicht warum das Bild nicht geht.Ich hab es ähnlich gemacht:is x : integer; xposition : integer; typ : string;do waituntil Vorgängerstation.belegt prio 1; typ := Vorgängerstation.inhalt.typ; -- für Variante 1 if typ = "Var1" then -- Var1 = Attribut Hauptteil x:=1; -- Typ und-color: #FFFF99'>suchen und umlagern while x = Lager.xdim loop if Lager[x,1].belegt = true then if Lager[x,1].inhalt.Typ = "a" then -- a = Attribut Anbauteil, a gehört zu Var1 xposition := x; end; end; x:=x+1; end; ...
| | In das Form TM - Plant Simulation wechseln |
|
TM - Plant Simulation : Kompliziere Montage
tauli am 26.02.2009 um 15:00 Uhr (0)
Du hinterlegst hinter den Ausgangsprodukten und Endprodukten Attribute.Also benutzerdefinierte Attribute der Produkte öffnen und bspw. ein neues Attribut vom Typ string anlegen und jedem Ausgangsprodukt teilst du das Attribut a1, a2 ... an und b1,b2 ... bn usw. mit.Das Endprodukt bekommt nur das Attribut mit gleichem Typ, aber der Wert bleibt leer.Die Montagestation vergleicht dann die Attribute.Code:if Vorgänger1.Attribut = "a1" and Vorgänger2.Attribut = "b1" thenEndprodukt.Attribut := "ab11";end;if Vorgä ...
| | In das Form TM - Plant Simulation wechseln |
|
Anzeige:
Anzeige: (Infos zum Werbeplatz)
 |