CS
This commit is contained in:
BIN
CS/CS2A shipping UML.zip
Normal file
BIN
CS/CS2A shipping UML.zip
Normal file
Binary file not shown.
205
CS/CS2A shipping UML/UML_2A_Rens_Pastoor.drawio
Normal file
205
CS/CS2A shipping UML/UML_2A_Rens_Pastoor.drawio
Normal file
@@ -0,0 +1,205 @@
|
|||||||
|
<mxfile host="app.diagrams.net" agent="Mozilla/5.0 (X11; Linux x86_64; rv:139.0) Gecko/20100101 Firefox/139.0" version="27.1.4">
|
||||||
|
<diagram name="Page-1" id="__ajmCTHiHd_0gtwpgYY">
|
||||||
|
<mxGraphModel dx="1426" dy="783" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
|
||||||
|
<root>
|
||||||
|
<mxCell id="0" />
|
||||||
|
<mxCell id="1" parent="0" />
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-1" value="Main" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry width="160" height="64" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-3" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;strokeColor=inherit;" vertex="1" parent="Ey-4shX72MY-NRdcRtJe-1">
|
||||||
|
<mxGeometry y="26" width="160" height="8" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-10" value="<div align="left">+ Main</div>" style="text;html=1;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="Ey-4shX72MY-NRdcRtJe-1">
|
||||||
|
<mxGeometry y="34" width="160" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-11" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;endArrow=diamondThin;endFill=0;strokeWidth=2;strokeColor=default;targetPerimeterSpacing=16;spacing=3;labelBorderColor=none;exitX=0.5;exitY=0;exitDx=0;exitDy=0;" edge="1" parent="1" source="Ey-4shX72MY-NRdcRtJe-5">
|
||||||
|
<mxGeometry relative="1" as="geometry">
|
||||||
|
<mxPoint x="80" y="150" as="sourcePoint" />
|
||||||
|
<mxPoint x="79.81" y="64" as="targetPoint" />
|
||||||
|
<Array as="points">
|
||||||
|
<mxPoint x="80" y="80" />
|
||||||
|
<mxPoint x="80" y="80" />
|
||||||
|
</Array>
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-5" value="Server" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry y="160" width="160" height="150" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-6" value="<div>- serverRunning: bool</div><div>- port: int</div><div>- address: IPAdrress</div>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="Ey-4shX72MY-NRdcRtJe-5">
|
||||||
|
<mxGeometry y="26" width="160" height="54" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-7" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;strokeColor=inherit;" vertex="1" parent="Ey-4shX72MY-NRdcRtJe-5">
|
||||||
|
<mxGeometry y="80" width="160" height="8" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-8" value="<div>+ SetupServer</div><div>+ ServerLoop()</div><div>+ statemachine()</div>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="Ey-4shX72MY-NRdcRtJe-5">
|
||||||
|
<mxGeometry y="88" width="160" height="62" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-13" value="Company" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="300" y="50" width="160" height="80" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-15" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;strokeColor=inherit;" vertex="1" parent="Ey-4shX72MY-NRdcRtJe-13">
|
||||||
|
<mxGeometry y="26" width="160" height="8" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-16" value="<div>+ Add(BaseContainer)</div><div>+ GenerateReport()</div>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="Ey-4shX72MY-NRdcRtJe-13">
|
||||||
|
<mxGeometry y="34" width="160" height="46" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-18" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0;entryDx=0;entryDy=0;endArrow=diamondThin;endFill=0;strokeWidth=2;strokeColor=default;targetPerimeterSpacing=16;spacing=3;labelBorderColor=none;exitX=0;exitY=0.5;exitDx=0;exitDy=0;" edge="1" parent="1" source="Ey-4shX72MY-NRdcRtJe-13" target="Ey-4shX72MY-NRdcRtJe-10">
|
||||||
|
<mxGeometry relative="1" as="geometry">
|
||||||
|
<mxPoint x="270" y="210" as="sourcePoint" />
|
||||||
|
<mxPoint x="210" y="260" as="targetPoint" />
|
||||||
|
<Array as="points">
|
||||||
|
<mxPoint x="210" y="80" />
|
||||||
|
<mxPoint x="210" y="34" />
|
||||||
|
</Array>
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-19" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0.519;entryY=0.996;entryDx=0;entryDy=0;entryPerimeter=0;startArrow=open;startFill=0;endArrow=none;" edge="1" parent="1" source="Ey-4shX72MY-NRdcRtJe-6" target="Ey-4shX72MY-NRdcRtJe-16">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-20" value="uses" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="Ey-4shX72MY-NRdcRtJe-19">
|
||||||
|
<mxGeometry x="-0.2078" relative="1" as="geometry">
|
||||||
|
<mxPoint as="offset" />
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-21" value="<i>BaseContainer</i>" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="590" y="50" width="160" height="140" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-22" value="<div>- idCount</div><div><span style="white-space: pre;">- Decription: string</span></div><div><span style="white-space: pre;">- CountryOfOrigin</span></div><div><span style="white-space: pre;">- id: int</span></div>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="Ey-4shX72MY-NRdcRtJe-21">
|
||||||
|
<mxGeometry y="26" width="160" height="64" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-23" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;strokeColor=inherit;" vertex="1" parent="Ey-4shX72MY-NRdcRtJe-21">
|
||||||
|
<mxGeometry y="90" width="160" height="8" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-24" value="<div><i>+ Fee(): float</i></div><div>+ Container(string, string)</div>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="Ey-4shX72MY-NRdcRtJe-21">
|
||||||
|
<mxGeometry y="98" width="160" height="42" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-25" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0;entryDx=0;entryDy=0;endArrow=diamondThin;endFill=0;strokeWidth=2;strokeColor=default;targetPerimeterSpacing=16;spacing=3;labelBorderColor=none;exitX=-0.005;exitY=0.332;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="1" source="Ey-4shX72MY-NRdcRtJe-22">
|
||||||
|
<mxGeometry relative="1" as="geometry">
|
||||||
|
<mxPoint x="600" y="136" as="sourcePoint" />
|
||||||
|
<mxPoint x="460" y="80" as="targetPoint" />
|
||||||
|
<Array as="points">
|
||||||
|
<mxPoint x="589" y="100" />
|
||||||
|
<mxPoint x="510" y="100" />
|
||||||
|
<mxPoint x="510" y="80" />
|
||||||
|
</Array>
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-26" value="QuarterContainer" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="240" y="320" width="160" height="100" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-27" value="- price: float" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="Ey-4shX72MY-NRdcRtJe-26">
|
||||||
|
<mxGeometry y="26" width="160" height="26" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-28" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;strokeColor=inherit;" vertex="1" parent="Ey-4shX72MY-NRdcRtJe-26">
|
||||||
|
<mxGeometry y="52" width="160" height="8" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-29" value="<div>+ QuarterContainer()</div><div>+ Fee(): float</div>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="Ey-4shX72MY-NRdcRtJe-26">
|
||||||
|
<mxGeometry y="60" width="160" height="40" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-41" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;endArrow=block;endFill=0;" edge="1" parent="1" source="Ey-4shX72MY-NRdcRtJe-31">
|
||||||
|
<mxGeometry relative="1" as="geometry">
|
||||||
|
<mxPoint x="669.9999999999998" y="190" as="targetPoint" />
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-31" value="HalfContainer" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="420" y="320" width="160" height="140" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-32" value="<div>- area: int</div><div>- maxErea: int</div><div>- pricePerM3</div>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="Ey-4shX72MY-NRdcRtJe-31">
|
||||||
|
<mxGeometry y="26" width="160" height="54" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-33" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;strokeColor=inherit;" vertex="1" parent="Ey-4shX72MY-NRdcRtJe-31">
|
||||||
|
<mxGeometry y="80" width="160" height="8" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-34" value="<div>+ HalfContainer()</div><div>+ Fee(): float</div><div>+ Area(): int</div>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="Ey-4shX72MY-NRdcRtJe-31">
|
||||||
|
<mxGeometry y="88" width="160" height="52" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-42" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;endArrow=block;endFill=0;" edge="1" parent="1" source="Ey-4shX72MY-NRdcRtJe-35">
|
||||||
|
<mxGeometry relative="1" as="geometry">
|
||||||
|
<mxPoint x="669.9999999999998" y="190" as="targetPoint" />
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-35" value="FullContainer" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="600" y="320" width="160" height="188" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-36" value="<div>- weight: int</div><div>- fridged: bool</div><div>- pricePerKg: float</div><div>- fridgePercentage: float</div><div>- maxWeight: int</div>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="Ey-4shX72MY-NRdcRtJe-35">
|
||||||
|
<mxGeometry y="26" width="160" height="84" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-37" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;strokeColor=inherit;" vertex="1" parent="Ey-4shX72MY-NRdcRtJe-35">
|
||||||
|
<mxGeometry y="110" width="160" height="8" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-38" value="<div>+ FullContainer()</div><div>+ Fee(): float</div><div>+ Weight: int</div><div>+ Friged: bool</div>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="Ey-4shX72MY-NRdcRtJe-35">
|
||||||
|
<mxGeometry y="118" width="160" height="70" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-39" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.51;entryY=0.99;entryDx=0;entryDy=0;entryPerimeter=0;endArrow=block;endFill=0;" edge="1" parent="1" source="Ey-4shX72MY-NRdcRtJe-26" target="Ey-4shX72MY-NRdcRtJe-24">
|
||||||
|
<mxGeometry relative="1" as="geometry">
|
||||||
|
<Array as="points">
|
||||||
|
<mxPoint x="320" y="255" />
|
||||||
|
<mxPoint x="672" y="255" />
|
||||||
|
</Array>
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-55" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;endArrow=block;endFill=0;" edge="1" parent="1" source="Ey-4shX72MY-NRdcRtJe-43" target="Ey-4shX72MY-NRdcRtJe-53">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-43" value="WeightMaxException" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="420" y="500" width="160" height="34" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-45" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;strokeColor=inherit;" vertex="1" parent="Ey-4shX72MY-NRdcRtJe-43">
|
||||||
|
<mxGeometry y="26" width="160" height="8" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-50" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;startArrow=open;startFill=0;endArrow=none;" edge="1" parent="1" source="Ey-4shX72MY-NRdcRtJe-47" target="Ey-4shX72MY-NRdcRtJe-35">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-52" value="Throws" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="Ey-4shX72MY-NRdcRtJe-50">
|
||||||
|
<mxGeometry x="0.1961" y="1" relative="1" as="geometry">
|
||||||
|
<mxPoint as="offset" />
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-56" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;endArrow=block;endFill=0;" edge="1" parent="1" source="Ey-4shX72MY-NRdcRtJe-47">
|
||||||
|
<mxGeometry relative="1" as="geometry">
|
||||||
|
<mxPoint x="499.9999999999998" y="600" as="targetPoint" />
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-47" value="VolumeMaxException" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="600" y="550" width="160" height="34" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-48" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;strokeColor=inherit;" vertex="1" parent="Ey-4shX72MY-NRdcRtJe-47">
|
||||||
|
<mxGeometry y="26" width="160" height="8" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-49" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.499;entryY=1.071;entryDx=0;entryDy=0;entryPerimeter=0;startArrow=open;startFill=0;endArrow=none;" edge="1" parent="1" source="Ey-4shX72MY-NRdcRtJe-43" target="Ey-4shX72MY-NRdcRtJe-34">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-51" value="Throws" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="Ey-4shX72MY-NRdcRtJe-49">
|
||||||
|
<mxGeometry x="0.383" y="-2" relative="1" as="geometry">
|
||||||
|
<mxPoint as="offset" />
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-59" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;endArrow=block;endFill=0;" edge="1" parent="1" source="Ey-4shX72MY-NRdcRtJe-53" target="Ey-4shX72MY-NRdcRtJe-57">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-53" value="BaseException" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="420" y="600" width="160" height="34" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-54" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;strokeColor=inherit;" vertex="1" parent="Ey-4shX72MY-NRdcRtJe-53">
|
||||||
|
<mxGeometry y="26" width="160" height="8" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-57" value="Exception" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="420" y="680" width="160" height="34" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-58" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;strokeColor=inherit;" vertex="1" parent="Ey-4shX72MY-NRdcRtJe-57">
|
||||||
|
<mxGeometry y="26" width="160" height="8" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-60" value="<div>1</div>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="280" y="60" width="30" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-61" value="<div>1</div>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="70" y="140" width="30" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="Ey-4shX72MY-NRdcRtJe-62" value="0..*" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
|
||||||
|
<mxGeometry x="555" y="75" width="40" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
</root>
|
||||||
|
</mxGraphModel>
|
||||||
|
</diagram>
|
||||||
|
</mxfile>
|
||||||
BIN
CS/CS2A shipping UML/UML_2A_Rens_Pastoor_v1.1.pdf
Normal file
BIN
CS/CS2A shipping UML/UML_2A_Rens_Pastoor_v1.1.pdf
Normal file
Binary file not shown.
BIN
CS/CS2A shipping UML/UML_2A_Rens_Pastoor_v1.pdf
Normal file
BIN
CS/CS2A shipping UML/UML_2A_Rens_Pastoor_v1.pdf
Normal file
Binary file not shown.
@@ -1,7 +1,9 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="UserContentModel">
|
<component name="UserContentModel">
|
||||||
<attachedFolders />
|
<attachedFolders>
|
||||||
|
<Path>../../../T2</Path>
|
||||||
|
</attachedFolders>
|
||||||
<explicitIncludes />
|
<explicitIncludes />
|
||||||
<explicitExcludes />
|
<explicitExcludes />
|
||||||
</component>
|
</component>
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
|
using CS2B_shipping_company.Container;
|
||||||
|
|
||||||
namespace CS2B_shipping_company;
|
namespace CS2B_shipping_company;
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
namespace CS2B_shipping_company;
|
namespace CS2B_shipping_company.Container;
|
||||||
|
|
||||||
public abstract class BaseContainer
|
public abstract class BaseContainer
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
namespace CS2B_shipping_company;
|
using CS2B_shipping_company.Exception;
|
||||||
|
|
||||||
|
namespace CS2B_shipping_company.Container;
|
||||||
|
|
||||||
public class FullContainer : BaseContainer
|
public class FullContainer : BaseContainer
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
namespace CS2B_shipping_company;
|
using CS2B_shipping_company.Exception;
|
||||||
|
|
||||||
|
namespace CS2B_shipping_company.Container;
|
||||||
|
|
||||||
public class HalfContainer : BaseContainer
|
public class HalfContainer : BaseContainer
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
namespace CS2B_shipping_company;
|
namespace CS2B_shipping_company.Container;
|
||||||
|
|
||||||
public class QuarterContainer : BaseContainer
|
public class QuarterContainer : BaseContainer
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
namespace CS2B_shipping_company;
|
namespace CS2B_shipping_company.Exception;
|
||||||
|
|
||||||
public class InvalidInputException : ShippingException
|
public class InvalidInputException : ShippingException
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
namespace CS2B_shipping_company;
|
namespace CS2B_shipping_company.Exception;
|
||||||
|
|
||||||
public class ShippingException : Exception
|
public class ShippingException : System.Exception
|
||||||
{
|
{
|
||||||
public ShippingException(string message) : base(message) { }
|
public ShippingException(string message) : base(message) { }
|
||||||
}
|
}
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
namespace CS2B_shipping_company;
|
namespace CS2B_shipping_company.Exception;
|
||||||
|
|
||||||
public class VolumeExceededException : ShippingException
|
public class VolumeExceededException : ShippingException
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
namespace CS2B_shipping_company;
|
namespace CS2B_shipping_company.Exception;
|
||||||
|
|
||||||
public class WeightExceededException : ShippingException
|
public class WeightExceededException : ShippingException
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
namespace CS2B_shipping_company;
|
namespace CS2B_shipping_company;
|
||||||
|
|
||||||
public class Program
|
public class Program {
|
||||||
{
|
public static async Task Main(string[] args){
|
||||||
public static async Task Main(string[] args)
|
|
||||||
{
|
|
||||||
var company = new Company();
|
var company = new Company();
|
||||||
var server = new Server(company);
|
var server = new Server(company);
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
using System.Net;
|
using System.Net;
|
||||||
using System.Net.Sockets;
|
using System.Net.Sockets;
|
||||||
|
using CS2B_shipping_company.Container;
|
||||||
|
using CS2B_shipping_company.Exception;
|
||||||
|
|
||||||
namespace CS2B_shipping_company;
|
namespace CS2B_shipping_company;
|
||||||
|
|
||||||
@@ -35,7 +37,7 @@ public class Server
|
|||||||
await HandleClient(reader, writer);
|
await HandleClient(reader, writer);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (System.Exception ex)
|
||||||
{
|
{
|
||||||
Console.WriteLine($"Error: {ex.Message}");
|
Console.WriteLine($"Error: {ex.Message}");
|
||||||
}
|
}
|
||||||
@@ -93,7 +95,7 @@ public class Server
|
|||||||
{
|
{
|
||||||
await writer.WriteLineAsync($"ERR;{ex.Message}");
|
await writer.WriteLineAsync($"ERR;{ex.Message}");
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (System.Exception ex)
|
||||||
{
|
{
|
||||||
await writer.WriteLineAsync($"ERR;{ex.Message}");
|
await writer.WriteLineAsync($"ERR;{ex.Message}");
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -11,7 +11,7 @@
|
|||||||
"projectName": "CS2B shipping company",
|
"projectName": "CS2B shipping company",
|
||||||
"projectPath": "/home/rens/files/T2/CS/CS2B shipping company/CS2B shipping company/CS2B shipping company.csproj",
|
"projectPath": "/home/rens/files/T2/CS/CS2B shipping company/CS2B shipping company/CS2B shipping company.csproj",
|
||||||
"packagesPath": "/home/rens/.nuget/packages/",
|
"packagesPath": "/home/rens/.nuget/packages/",
|
||||||
"outputPath": "/home/rens/T2/CS/CS2B shipping company/CS2B shipping company/obj/",
|
"outputPath": "/home/rens/files/T2/CS/CS2B shipping company/CS2B shipping company/obj/",
|
||||||
"projectStyle": "PackageReference",
|
"projectStyle": "PackageReference",
|
||||||
"configFilePaths": [
|
"configFilePaths": [
|
||||||
"/home/rens/.nuget/NuGet/NuGet.Config"
|
"/home/rens/.nuget/NuGet/NuGet.Config"
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/home/rens/.nuget/packages/</NuGetPackageRoot>
|
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/home/rens/.nuget/packages/</NuGetPackageRoot>
|
||||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/home/rens/.nuget/packages/</NuGetPackageFolders>
|
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/home/rens/.nuget/packages/</NuGetPackageFolders>
|
||||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.12.2</NuGetToolVersion>
|
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.13.2</NuGetToolVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
<SourceRoot Include="/home/rens/.nuget/packages/" />
|
<SourceRoot Include="/home/rens/.nuget/packages/" />
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ using System.Reflection;
|
|||||||
[assembly: System.Reflection.AssemblyCompanyAttribute("CS2B shipping company")]
|
[assembly: System.Reflection.AssemblyCompanyAttribute("CS2B shipping company")]
|
||||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+0a53cd8bd45341b69a3feec05a574e84f196f04b")]
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+6f32a80836dcb19b49b8bbcea88f30604e05ac14")]
|
||||||
[assembly: System.Reflection.AssemblyProductAttribute("CS2B shipping company")]
|
[assembly: System.Reflection.AssemblyProductAttribute("CS2B shipping company")]
|
||||||
[assembly: System.Reflection.AssemblyTitleAttribute("CS2B shipping company")]
|
[assembly: System.Reflection.AssemblyTitleAttribute("CS2B shipping company")]
|
||||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
a8e586fa0f061cb0aaa5439753f525a2a3c0bf7950ed6c35dd6c9efc1c049d73
|
0913bbc8f927833caed9093ecdea2f944561fbcc44cfadc86e7b4634e0bfb243
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ build_property.PlatformNeutralAssembly =
|
|||||||
build_property.EnforceExtendedAnalyzerRules =
|
build_property.EnforceExtendedAnalyzerRules =
|
||||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||||
build_property.RootNamespace = CS2B_shipping_company
|
build_property.RootNamespace = CS2B_shipping_company
|
||||||
build_property.ProjectDir = /home/rens/T2/CS/CS2B shipping company/CS2B shipping company/
|
build_property.ProjectDir = /home/rens/files/T2/CS/CS2B shipping company/CS2B shipping company/
|
||||||
build_property.EnableComHosting =
|
build_property.EnableComHosting =
|
||||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||||
build_property.EffectiveAnalysisLevelStyle = 9.0
|
build_property.EffectiveAnalysisLevelStyle = 9.0
|
||||||
|
|||||||
Binary file not shown.
@@ -8,3 +8,7 @@
|
|||||||
/home/rens/files/T2/CS/CS2B shipping company/CS2B shipping company/obj/Debug/net9.0/CS2B shipping company.dll
|
/home/rens/files/T2/CS/CS2B shipping company/CS2B shipping company/obj/Debug/net9.0/CS2B shipping company.dll
|
||||||
/home/rens/files/T2/CS/CS2B shipping company/CS2B shipping company/obj/Debug/net9.0/refint/CS2B shipping company.dll
|
/home/rens/files/T2/CS/CS2B shipping company/CS2B shipping company/obj/Debug/net9.0/refint/CS2B shipping company.dll
|
||||||
/home/rens/files/T2/CS/CS2B shipping company/CS2B shipping company/obj/Debug/net9.0/CS2B shipping company.pdb
|
/home/rens/files/T2/CS/CS2B shipping company/CS2B shipping company/obj/Debug/net9.0/CS2B shipping company.pdb
|
||||||
|
/home/rens/files/T2/CS/CS2B shipping company/CS2B shipping company/bin/Debug/net9.0/CS2B shipping company.deps.json
|
||||||
|
/home/rens/files/T2/CS/CS2B shipping company/CS2B shipping company/bin/Debug/net9.0/CS2B shipping company.runtimeconfig.json
|
||||||
|
/home/rens/files/T2/CS/CS2B shipping company/CS2B shipping company/obj/Debug/net9.0/CS2B shipping company.genruntimeconfig.cache
|
||||||
|
/home/rens/files/T2/CS/CS2B shipping company/CS2B shipping company/obj/Debug/net9.0/ref/CS2B shipping company.dll
|
||||||
|
|||||||
Binary file not shown.
@@ -1 +1 @@
|
|||||||
359c231ad0ab162505dccc65a44df9ca96011831389af188175a0715d3cde94f
|
6dc63fc683064ca4e993659b38ad594dac85a1a95861ff2a2c9e888850bc3c64
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -17,7 +17,7 @@
|
|||||||
"projectName": "CS2B shipping company",
|
"projectName": "CS2B shipping company",
|
||||||
"projectPath": "/home/rens/files/T2/CS/CS2B shipping company/CS2B shipping company/CS2B shipping company.csproj",
|
"projectPath": "/home/rens/files/T2/CS/CS2B shipping company/CS2B shipping company/CS2B shipping company.csproj",
|
||||||
"packagesPath": "/home/rens/.nuget/packages/",
|
"packagesPath": "/home/rens/.nuget/packages/",
|
||||||
"outputPath": "/home/rens/T2/CS/CS2B shipping company/CS2B shipping company/obj/",
|
"outputPath": "/home/rens/files/T2/CS/CS2B shipping company/CS2B shipping company/obj/",
|
||||||
"projectStyle": "PackageReference",
|
"projectStyle": "PackageReference",
|
||||||
"configFilePaths": [
|
"configFilePaths": [
|
||||||
"/home/rens/.nuget/NuGet/NuGet.Config"
|
"/home/rens/.nuget/NuGet/NuGet.Config"
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"version": 2,
|
"version": 2,
|
||||||
"dgSpecHash": "7g+wE+CVdHE=",
|
"dgSpecHash": "rp3IcKxAp1s=",
|
||||||
"success": true,
|
"success": true,
|
||||||
"projectFilePath": "/home/rens/T2/CS/CS2B shipping company/CS2B shipping company/CS2B shipping company.csproj",
|
"projectFilePath": "/home/rens/files/T2/CS/CS2B shipping company/CS2B shipping company/CS2B shipping company.csproj",
|
||||||
"expectedPackageFiles": [],
|
"expectedPackageFiles": [],
|
||||||
"logs": []
|
"logs": []
|
||||||
}
|
}
|
||||||
@@ -1 +1 @@
|
|||||||
17493942230565017
|
17494093033930601
|
||||||
@@ -1 +1 @@
|
|||||||
17493942230565017
|
17495474612743232
|
||||||
Reference in New Issue
Block a user