Курсовая работа: Моделирование систем
EV_PASS: S := 'PASS:';
end;
S := S + IntToStr(Info);
S := S + '['+IntToStr(SysTime)+ '] ';
if Assigned(Source) then S := S + TElement(Source).Name
else S := S+'nil';
S := S + '->';
if Assigned(Sender) then S := S + TElement(Sender).Name
else S := S+'nil';
end;
Form1.mResults.Items.Add(S);
end;}
end;
procedure TQSheme.RedrawDiagram;
//var i : integer;
begin
//Diagram.Canvas.FillRect(Rect(0,0,Diagram.Width,Diagram.Height));
//DrawElementLines;
DisplayEvents;
end;
initialization
Randomize;
end.
unit QSObjs;
interface
uses Classes,QSTypes,SysUtils, Utils;
type
TElement = class;
TIsRightElement = function(Element : TElement): Boolean of object;//far;