diff --git a/.drone.yml b/.drone.yml index d7d75d1..8aaf352 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,6 +1,6 @@ kind: pipeline type: docker -name: myFirstPipeline +name: CI trigger: branch: @@ -12,11 +12,49 @@ trigger: steps: - name: build - image: mcr.microsoft.com/dotnet/sdk:6.0 + image: hub.codefirst.iut.uca.fr/marc.chevaldonne/codefirst-dotnet7-maui:latest commands: - - cd src/Banquale - #- dotnet restore Banquale.sln - #- dotnet build Banquale.sln -c Debug --no-restore /p:AndroidSdkDirectory=$ANDROID_SDK_ROOT -property:Aapt2ToolPath=$ANDROID_SDK_ROOT/build-tools/33.0.0 - #- dotnet publish Banquale/Banquale.csproj -c Release --no-restore -o $CI_PROJECT_DIR/build/release -f:net6.0-android /p:AndroidSdkDirectory=/usr/lib/android-sdk - # this last line can be replaced by the following one, if you have only one project in your solution: - #- dotnet publish Banquale.sln -c Release --no-restore -o $CI_PROJECT_DIR/build/release -f:net7.0-android /p:AndroidSdkDirectory=/usr/lib/android-sdk + - cd src/Banquale/ + - dotnet restore Banquale.sln + - dotnet build Banquale.sln -c Release --no-restore /p:AndroidSdkDirectory=$ANDROID_SDK_ROOT -property:Aapt2ToolPath=$ANDROID_SDK_ROOT/build-tools/33.0.0 + + - name: tests + image: hub.codefirst.iut.uca.fr/marc.chevaldonne/codefirst-dotnet7-maui:latest + commands: + - cd src/Banquale/ + - dotnet restore Banquale.sln + - dotnet test Banquale.sln --logger trx --no-restore /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura --collect "XPlat Code Coverage" + depends_on: [build] + + - name: code-analysis + image: hub.codefirst.iut.uca.fr/marc.chevaldonne/codefirst-dronesonarplugin-dotnet7-maui + secrets: [ SECRET_SONAR_LOGIN ] + settings: + # accessible en ligne de commande par ${PLUGIN_SONAR_HOST} + sonar_host: https://codefirst.iut.uca.fr/sonar/ + # accessible en ligne de commande par ${PLUGIN_SONAR_TOKEN} + sonar_token: + from_secret: SECRET_SONAR_LOGIN + commands: + - cd src/Banquale/ + - dotnet restore Banquale.sln + - dotnet sonarscanner begin /k:"Banquale" /d:sonar.host.url=$${PLUGIN_SONAR_HOST} /d:sonar.login=$${PLUGIN_SONAR_TOKEN} + - dotnet build Banquale.sln -c Release --no-restore +# - dotnet test Banquale.sln --logger trx --no-restore /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura --collect "XPlat Code Coverage" +# - reportgenerator -reports:"**/coverage.cobertura.xml" -reporttypes:SonarQube -targetdir:"coveragereport" +# - dotnet publish Banquale/Banquale.csproj -c Release --no-restore -o $CI_PROJECT_DIR/build/release -f:net7.0-android /p:AndroidSdkDirectory=/usr/lib/android-sdk + - dotnet sonarscanner end /d:sonar.login=$${PLUGIN_SONAR_TOKEN} + depends_on: [tests] + + - name: generate-and-deploy-docs + image: hub.codefirst.iut.uca.fr/maxime.batista/codefirst-docdeployer + failure: ignore + commands: + - /entrypoint.sh -l Documentation/doxygen -t doxygen + when: + branch: + - master + event: + - push + depends_on: [ build, tests ] + diff --git a/docPrepaAppli-IHM/ContexteUser-StoriesStoryBoard.pdf b/Documentation/docPrepaAppli-IHM/ContexteUser-StoriesStoryBoard.pdf similarity index 100% rename from docPrepaAppli-IHM/ContexteUser-StoriesStoryBoard.pdf rename to Documentation/docPrepaAppli-IHM/ContexteUser-StoriesStoryBoard.pdf diff --git a/docPrepaAppli-IHM/DiagrammeClasse.mdj b/Documentation/docPrepaAppli-IHM/DiagrammeClasse.mdj similarity index 81% rename from docPrepaAppli-IHM/DiagrammeClasse.mdj rename to Documentation/docPrepaAppli-IHM/DiagrammeClasse.mdj index 37fd5ce..114bf6b 100644 --- a/docPrepaAppli-IHM/DiagrammeClasse.mdj +++ b/Documentation/docPrepaAppli-IHM/DiagrammeClasse.mdj @@ -48,8 +48,13 @@ }, "visible": false, "font": "Arial;13;0", +<<<<<<< HEAD + "left": -576, + "top": 656, +======= "left": -544, "top": 720, +>>>>>>> origin/master "height": 13 }, { @@ -59,9 +64,15 @@ "$ref": "AAAAAAGHXDUzV0wheqw=" }, "font": "Arial;13;1", +<<<<<<< HEAD + "left": 53, + "top": 687, + "width": 298.04150390625, +======= "left": 69, "top": 719, "width": 246, +>>>>>>> origin/master "height": 13, "text": "Personne" }, @@ -73,8 +84,13 @@ }, "visible": false, "font": "Arial;13;0", +<<<<<<< HEAD + "left": -576, + "top": 656, +======= "left": -544, "top": 720, +>>>>>>> origin/master "width": 73.67724609375, "height": 13, "text": "(from Model)" @@ -87,16 +103,27 @@ }, "visible": false, "font": "Arial;13;0", +<<<<<<< HEAD + "left": -576, + "top": 656, +======= "left": -544, "top": 720, +>>>>>>> origin/master "height": 13, "horizontalAlignment": 1 } ], "font": "Arial;13;0", +<<<<<<< HEAD + "left": 48, + "top": 680, + "width": 308.04150390625, +======= "left": 64, "top": 712, "width": 256, +>>>>>>> origin/master "height": 25, "stereotypeLabel": { "$ref": "AAAAAAGHXDUzV0wiDFg=" @@ -131,13 +158,53 @@ "$ref": "AAAAAAGHXDWExExIi9I=" }, "font": "Arial;13;0", +<<<<<<< HEAD + "left": 53, + "top": 710, + "width": 298.04150390625, +======= "left": 69, "top": 742, "width": 246, +>>>>>>> origin/master "height": 13, "text": "-id: int", "horizontalAlignment": 0 }, + { + "_type": "UMLAttributeView", + "_id": "AAAAAAGH4NxSjNLeHUw=", + "_parent": { + "$ref": "AAAAAAGHXDUzWEwmVJA=" + }, + "model": { + "$ref": "AAAAAAGH4NxShNLb0XE=" + }, + "font": "Arial;13;0", + "left": 53, + "top": 725, + "width": 298.04150390625, + "height": 13, + "text": "-Nom: string", + "horizontalAlignment": 0 + }, + { + "_type": "UMLAttributeView", + "_id": "AAAAAAGH4Ny1EdNbmCU=", + "_parent": { + "$ref": "AAAAAAGHXDUzWEwmVJA=" + }, + "model": { + "$ref": "AAAAAAGH4Ny1BtNYUzc=" + }, + "font": "Arial;13;0", + "left": 53, + "top": 740, + "width": 298.04150390625, + "height": 13, + "text": "-Prenom: string", + "horizontalAlignment": 0 + }, { "_type": "UMLAttributeView", "_id": "AAAAAAGHXDWna0xXVhs=", @@ -148,9 +215,15 @@ "$ref": "AAAAAAGHXDWnYUxUAC4=" }, "font": "Arial;13;0", +<<<<<<< HEAD + "left": 53, + "top": 755, + "width": 298.04150390625, +======= "left": 69, "top": 757, "width": 246, +>>>>>>> origin/master "height": 13, "text": "-MdP: string", "horizontalAlignment": 0 @@ -191,9 +264,15 @@ } ], "font": "Arial;13;0", +<<<<<<< HEAD + "left": 48, + "top": 705, + "width": 308.04150390625, +======= "left": 64, "top": 737, "width": 256, +>>>>>>> origin/master "height": 68 }, { @@ -217,19 +296,65 @@ }, "visible": false, "font": "Arial;13;0", +<<<<<<< HEAD + "left": -235, + "top": 1076, +======= "left": -203, "top": 1140, +>>>>>>> origin/master "width": 246, "height": 13, "text": "+Operation1()", "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGH4N1jydef9eM=", + "_parent": { + "$ref": "AAAAAAGHXDUzWEwnRCI=" + }, + "model": { + "$ref": "AAAAAAGH4N1jwtecya0=" + }, + "font": "Arial;13;0", + "left": 53, + "top": 780, + "width": 298.04150390625, + "height": 13, + "text": "+Personne(nom: string, prenom: string, mdp: string)", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGH4N4NG9hqLjI=", + "_parent": { + "$ref": "AAAAAAGHXDUzWEwnRCI=" + }, + "model": { + "$ref": "AAAAAAGH4N4NFNhn2Nk=" + }, + "font": "Arial;13;0", + "left": 53, + "top": 795, + "width": 298.04150390625, + "height": 13, + "text": "+Operation2()", + "horizontalAlignment": 0 } ], "font": "Arial;13;0", +<<<<<<< HEAD + "left": 48, + "top": 773, + "width": 308.04150390625, + "height": 40 +======= "left": 64, "top": 805, "width": 256, "height": 10 +>>>>>>> origin/master }, { "_type": "UMLReceptionCompartmentView", @@ -242,8 +367,13 @@ }, "visible": false, "font": "Arial;13;0", +<<<<<<< HEAD + "left": -288, + "top": 328, +======= "left": -272, "top": 360, +>>>>>>> origin/master "width": 10, "height": 10 }, @@ -258,18 +388,30 @@ }, "visible": false, "font": "Arial;13;0", +<<<<<<< HEAD + "left": -288, + "top": 328, +======= "left": -272, "top": 360, +>>>>>>> origin/master "width": 10, "height": 10 } ], "font": "Arial;13;0", "containerChangeable": true, +<<<<<<< HEAD + "left": 48, + "top": 680, + "width": 308.04150390625, + "height": 133, +======= "left": 64, "top": 712, "width": 256, "height": 103, +>>>>>>> origin/master "nameCompartment": { "$ref": "AAAAAAGHXDUzV0wheqw=" }, @@ -314,8 +456,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 464, - "top": 224, + "left": 512, + "top": 208, "height": 13 }, { @@ -325,9 +467,9 @@ "$ref": "AAAAAAGHXDdux0xqhkk=" }, "font": "Arial;13;1", - "left": 461, - "top": 655, - "width": 270, + "left": 485, + "top": 647, + "width": 275.6279296875, "height": 13, "text": "Client" }, @@ -339,8 +481,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 464, - "top": 224, + "left": 512, + "top": 208, "width": 73.67724609375, "height": 13, "text": "(from Model)" @@ -353,16 +495,16 @@ }, "visible": false, "font": "Arial;13;0", - "left": 464, - "top": 224, + "left": 512, + "top": 208, "height": 13, "horizontalAlignment": 1 } ], "font": "Arial;13;0", - "left": 456, - "top": 648, - "width": 280, + "left": 480, + "top": 640, + "width": 285.6279296875, "height": 25, "stereotypeLabel": { "$ref": "AAAAAAGHXDdux0xrEpw=" @@ -397,18 +539,18 @@ "$ref": "AAAAAAGHXDeNp0yR0nA=" }, "font": "Arial;13;0", - "left": 461, - "top": 678, - "width": 270, + "left": 485, + "top": 670, + "width": 275.6279296875, "height": 13, "text": "-comptes: list", "horizontalAlignment": 0 } ], "font": "Arial;13;0", - "left": 456, - "top": 673, - "width": 280, + "left": 480, + "top": 665, + "width": 285.6279296875, "height": 23 }, { @@ -420,11 +562,30 @@ "model": { "$ref": "AAAAAAGHXDdux0xn1po=" }, + "subViews": [ + { + "_type": "UMLOperationView", + "_id": "AAAAAAGH3QBXcr4fFSI=", + "_parent": { + "$ref": "AAAAAAGHXDduyExw3kw=" + }, + "model": { + "$ref": "AAAAAAGH3QBXbL4c18o=" + }, + "font": "Arial;13;0", + "left": 485, + "top": 693, + "width": 275.6279296875, + "height": 13, + "text": "+Client(nom: string, prenom: string, mdp: string)", + "horizontalAlignment": 0 + } + ], "font": "Arial;13;0", - "left": 456, - "top": 696, - "width": 280, - "height": 10 + "left": 480, + "top": 688, + "width": 285.6279296875, + "height": 23 }, { "_type": "UMLReceptionCompartmentView", @@ -437,8 +598,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 232, - "top": 112, + "left": 256, + "top": 104, "width": 10, "height": 10 }, @@ -453,18 +614,18 @@ }, "visible": false, "font": "Arial;13;0", - "left": 232, - "top": 112, + "left": 256, + "top": 104, "width": 10, "height": 10 } ], "font": "Arial;13;0", "containerChangeable": true, - "left": 456, - "top": 648, - "width": 280, - "height": 58, + "left": 480, + "top": 640, + "width": 285.6279296875, + "height": 86, "nameCompartment": { "$ref": "AAAAAAGHXDdux0xqhkk=" }, @@ -748,8 +909,13 @@ }, "visible": false, "font": "Arial;13;0", +<<<<<<< HEAD + "left": 862, + "top": 661, +======= "left": 847, "top": 654, +>>>>>>> origin/master "height": 13, "alpha": 1.5707963267948966, "distance": 15, @@ -769,8 +935,13 @@ }, "visible": null, "font": "Arial;13;0", +<<<<<<< HEAD + "left": 862, + "top": 646, +======= "left": 847, "top": 639, +>>>>>>> origin/master "height": 13, "alpha": 1.5707963267948966, "distance": 30, @@ -790,8 +961,13 @@ }, "visible": false, "font": "Arial;13;0", +<<<<<<< HEAD + "left": 861, + "top": 690, +======= "left": 847, "top": 684, +>>>>>>> origin/master "height": 13, "alpha": -1.5707963267948966, "distance": 15, @@ -811,8 +987,13 @@ }, "visible": false, "font": "Arial;13;0", +<<<<<<< HEAD + "left": 792, + "top": 661, +======= "left": 761, "top": 654, +>>>>>>> origin/master "height": 13, "alpha": 0.5235987755982988, "distance": 30, @@ -832,8 +1013,13 @@ }, "visible": false, "font": "Arial;13;0", +<<<<<<< HEAD + "left": 794, + "top": 647, +======= "left": 764, "top": 641, +>>>>>>> origin/master "height": 13, "alpha": 0.7853981633974483, "distance": 40, @@ -853,8 +1039,13 @@ }, "visible": false, "font": "Arial;13;0", +<<<<<<< HEAD + "left": 787, + "top": 688, +======= "left": 757, "top": 682, +>>>>>>> origin/master "height": 13, "alpha": -0.5235987755982988, "distance": 25, @@ -874,8 +1065,13 @@ }, "visible": false, "font": "Arial;13;0", +<<<<<<< HEAD + "left": 933, + "top": 661, +======= "left": 932, "top": 654, +>>>>>>> origin/master "height": 13, "alpha": -0.5235987755982988, "distance": 30, @@ -895,7 +1091,11 @@ "visible": false, "font": "Arial;13;0", "left": 930, +<<<<<<< HEAD + "top": 648, +======= "top": 640, +>>>>>>> origin/master "height": 13, "alpha": -0.7853981633974483, "distance": 40, @@ -914,7 +1114,11 @@ }, "font": "Arial;13;0", "left": 943, +<<<<<<< HEAD + "top": 667, +======= "top": 659, +>>>>>>> origin/master "width": 6.5, "height": 13, "alpha": -0.6214167091158393, @@ -961,7 +1165,11 @@ "$ref": "AAAAAAGHXDdux0xpPgo=" }, "lineStyle": 1, +<<<<<<< HEAD + "points": "766:682;959:683", +======= "points": "736:676;959:675", +>>>>>>> origin/master "showVisibility": true, "nameLabel": { "$ref": "AAAAAAGHXDsS7k5irKQ=" @@ -1040,7 +1248,7 @@ "top": 631, "width": 318, "height": 13, - "text": "Transaction" + "text": "Transactions" }, { "_type": "LabelView", @@ -1426,7 +1634,11 @@ }, "font": "Arial;13;0", "left": 1303, +<<<<<<< HEAD + "top": 671, +======= "top": 663, +>>>>>>> origin/master "width": 6.5, "height": 13, "alpha": -0.36717409155035075, @@ -1803,7 +2015,7 @@ "visible": false, "font": "Arial;13;0", "left": 406, - "top": 705, + "top": 709, "height": 13, "alpha": 1.5707963267948966, "distance": 15, @@ -1824,7 +2036,7 @@ "visible": null, "font": "Arial;13;0", "left": 421, - "top": 705, + "top": 709, "height": 13, "alpha": 1.5707963267948966, "distance": 30, @@ -1845,7 +2057,7 @@ "visible": false, "font": "Arial;13;0", "left": 377, - "top": 706, + "top": 710, "height": 13, "alpha": -1.5707963267948966, "distance": 15, @@ -1863,7 +2075,11 @@ "$ref": "AAAAAAGHXDdux0xpPgo=" }, "lineStyle": 1, +<<<<<<< HEAD + "points": "479:686;392:688;392:744;356:744", +======= "points": "455:679;392:680;392:744;320:751", +>>>>>>> origin/master "showVisibility": true, "nameLabel": { "$ref": "AAAAAAGHXD74foApcWk=" @@ -1875,201 +2091,6 @@ "$ref": "AAAAAAGHXD74foArrAg=" } }, - { - "_type": "UMLClassView", - "_id": "AAAAAAGHXD8NuYNeoio=", - "_parent": { - "$ref": "AAAAAAFF+qBtyKM79qY=" - }, - "model": { - "$ref": "AAAAAAGHXDdux0xn1po=" - }, - "subViews": [ - { - "_type": "UMLNameCompartmentView", - "_id": "AAAAAAGHXD8NuYNfZkA=", - "_parent": { - "$ref": "AAAAAAGHXD8NuYNeoio=" - }, - "model": { - "$ref": "AAAAAAGHXDdux0xn1po=" - }, - "subViews": [ - { - "_type": "LabelView", - "_id": "AAAAAAGHXD8NuYNg9jE=", - "_parent": { - "$ref": "AAAAAAGHXD8NuYNfZkA=" - }, - "visible": false, - "font": "Arial;13;0", - "left": 210, - "top": -140, - "height": 13 - }, - { - "_type": "LabelView", - "_id": "AAAAAAGHXD8NuYNhlWA=", - "_parent": { - "$ref": "AAAAAAGHXD8NuYNfZkA=" - }, - "font": "Arial;13;1", - "left": 191, - "top": 283, - "width": 270, - "height": 13, - "text": "Client" - }, - { - "_type": "LabelView", - "_id": "AAAAAAGHXD8NuYNiYSc=", - "_parent": { - "$ref": "AAAAAAGHXD8NuYNfZkA=" - }, - "visible": false, - "font": "Arial;13;0", - "left": 210, - "top": -140, - "width": 73.67724609375, - "height": 13, - "text": "(from Model)" - }, - { - "_type": "LabelView", - "_id": "AAAAAAGHXD8NuYNjfHQ=", - "_parent": { - "$ref": "AAAAAAGHXD8NuYNfZkA=" - }, - "visible": false, - "font": "Arial;13;0", - "left": 210, - "top": -140, - "height": 13, - "horizontalAlignment": 1 - } - ], - "font": "Arial;13;0", - "left": 186, - "top": 276, - "width": 280, - "height": 25, - "stereotypeLabel": { - "$ref": "AAAAAAGHXD8NuYNg9jE=" - }, - "nameLabel": { - "$ref": "AAAAAAGHXD8NuYNhlWA=" - }, - "namespaceLabel": { - "$ref": "AAAAAAGHXD8NuYNiYSc=" - }, - "propertyLabel": { - "$ref": "AAAAAAGHXD8NuYNjfHQ=" - } - }, - { - "_type": "UMLAttributeCompartmentView", - "_id": "AAAAAAGHXD8NuYNkk+A=", - "_parent": { - "$ref": "AAAAAAGHXD8NuYNeoio=" - }, - "model": { - "$ref": "AAAAAAGHXDdux0xn1po=" - }, - "subViews": [ - { - "_type": "UMLAttributeView", - "_id": "AAAAAAGHXD8NuYNlfHE=", - "_parent": { - "$ref": "AAAAAAGHXD8NuYNkk+A=" - }, - "model": { - "$ref": "AAAAAAGHXDeNp0yR0nA=" - }, - "font": "Arial;13;0", - "left": 191, - "top": 306, - "width": 270, - "height": 13, - "text": "-comptes: list", - "horizontalAlignment": 0 - } - ], - "font": "Arial;13;0", - "left": 186, - "top": 301, - "width": 280, - "height": 23 - }, - { - "_type": "UMLOperationCompartmentView", - "_id": "AAAAAAGHXD8NuYNmNNo=", - "_parent": { - "$ref": "AAAAAAGHXD8NuYNeoio=" - }, - "model": { - "$ref": "AAAAAAGHXDdux0xn1po=" - }, - "font": "Arial;13;0", - "left": 186, - "top": 324, - "width": 280, - "height": 10 - }, - { - "_type": "UMLReceptionCompartmentView", - "_id": "AAAAAAGHXD8NuYNnKis=", - "_parent": { - "$ref": "AAAAAAGHXD8NuYNeoio=" - }, - "model": { - "$ref": "AAAAAAGHXDdux0xn1po=" - }, - "visible": false, - "font": "Arial;13;0", - "left": -38, - "top": -260, - "width": 10, - "height": 10 - }, - { - "_type": "UMLTemplateParameterCompartmentView", - "_id": "AAAAAAGHXD8NuYNoRZY=", - "_parent": { - "$ref": "AAAAAAGHXD8NuYNeoio=" - }, - "model": { - "$ref": "AAAAAAGHXDdux0xn1po=" - }, - "visible": false, - "font": "Arial;13;0", - "left": -38, - "top": -260, - "width": 10, - "height": 10 - } - ], - "font": "Arial;13;0", - "containerChangeable": true, - "left": 186, - "top": 276, - "width": 280, - "height": 58, - "nameCompartment": { - "$ref": "AAAAAAGHXD8NuYNfZkA=" - }, - "attributeCompartment": { - "$ref": "AAAAAAGHXD8NuYNkk+A=" - }, - "operationCompartment": { - "$ref": "AAAAAAGHXD8NuYNmNNo=" - }, - "receptionCompartment": { - "$ref": "AAAAAAGHXD8NuYNnKis=" - }, - "templateParameterCompartment": { - "$ref": "AAAAAAGHXD8NuYNoRZY=" - } - }, { "_type": "UMLClassView", "_id": "AAAAAAGHXD83YYvT/WQ=", @@ -2098,6 +2119,7 @@ }, "visible": false, "font": "Arial;13;0", + "top": -32, "height": 13 }, { @@ -2108,8 +2130,8 @@ }, "font": "Arial;13;1", "left": 453, - "top": 839, - "width": 270, + "top": 823, + "width": 300.193359375, "height": 13, "text": "Conseiller" }, @@ -2121,6 +2143,7 @@ }, "visible": false, "font": "Arial;13;0", + "top": -32, "width": 73.67724609375, "height": 13, "text": "(from Model)" @@ -2133,14 +2156,15 @@ }, "visible": false, "font": "Arial;13;0", + "top": -32, "height": 13, "horizontalAlignment": 1 } ], "font": "Arial;13;0", "left": 448, - "top": 832, - "width": 280, + "top": 816, + "width": 310.193359375, "height": 25, "stereotypeLabel": { "$ref": "AAAAAAGHXD83YYvVNTw=" @@ -2164,11 +2188,30 @@ "model": { "$ref": "AAAAAAGHXD83YYvR9MA=" }, + "subViews": [ + { + "_type": "UMLAttributeView", + "_id": "AAAAAAGH4OahbCG6Jiw=", + "_parent": { + "$ref": "AAAAAAGHXD83YYvZXAc=" + }, + "model": { + "$ref": "AAAAAAGH4OahYiGuNJk=" + }, + "font": "Arial;13;0", + "left": 453, + "top": 846, + "width": 300.193359375, + "height": 13, + "text": "-id: int", + "horizontalAlignment": 0 + } + ], "font": "Arial;13;0", "left": 448, - "top": 857, - "width": 280, - "height": 10 + "top": 841, + "width": 310.193359375, + "height": 23 }, { "_type": "UMLOperationCompartmentView", @@ -2179,11 +2222,30 @@ "model": { "$ref": "AAAAAAGHXD83YYvR9MA=" }, + "subViews": [ + { + "_type": "UMLOperationView", + "_id": "AAAAAAGH3QA0h71KXzU=", + "_parent": { + "$ref": "AAAAAAGHXD83YYvaffg=" + }, + "model": { + "$ref": "AAAAAAGH3QA0fr0+Nqw=" + }, + "font": "Arial;13;0", + "left": 453, + "top": 869, + "width": 300.193359375, + "height": 13, + "text": "+Conseiller(nom: string, prenom: string, mdp: string)", + "horizontalAlignment": 0 + } + ], "font": "Arial;13;0", "left": 448, - "top": 867, - "width": 280, - "height": 10 + "top": 864, + "width": 310.193359375, + "height": 23 }, { "_type": "UMLReceptionCompartmentView", @@ -2196,6 +2258,7 @@ }, "visible": false, "font": "Arial;13;0", + "top": -16, "width": 10, "height": 10 }, @@ -2210,16 +2273,18 @@ }, "visible": false, "font": "Arial;13;0", - "width": 10, + "left": 596.3310546875, + "top": 816, + "width": 130.6689453125, "height": 10 } ], "font": "Arial;13;0", "containerChangeable": true, "left": 448, - "top": 832, - "width": 280, - "height": 64, + "top": 816, + "width": 310.193359375, + "height": 101, "nameCompartment": { "$ref": "AAAAAAGHXD83YYvU7tY=" }, @@ -2275,7 +2340,7 @@ "font": "Arial;13;1", "left": 453, "top": 983, - "width": 278, + "width": 303.81787109375, "height": 13, "text": "Technicien" }, @@ -2306,7 +2371,7 @@ "font": "Arial;13;0", "left": 448, "top": 976, - "width": 288, + "width": 313.81787109375, "height": 25, "stereotypeLabel": { "$ref": "AAAAAAGHXD9k0Y7YWtM=" @@ -2330,11 +2395,30 @@ "model": { "$ref": "AAAAAAGHXD9k0Y7URtE=" }, + "subViews": [ + { + "_type": "UMLAttributeView", + "_id": "AAAAAAGH4OjH2iXl29Q=", + "_parent": { + "$ref": "AAAAAAGHXD9k0Y7c6Sc=" + }, + "model": { + "$ref": "AAAAAAGH4OjH0CXZngo=" + }, + "font": "Arial;13;0", + "left": 453, + "top": 1006, + "width": 303.81787109375, + "height": 13, + "text": "+Attribute1", + "horizontalAlignment": 0 + } + ], "font": "Arial;13;0", "left": 448, "top": 1001, - "width": 288, - "height": 10 + "width": 313.81787109375, + "height": 23 }, { "_type": "UMLOperationCompartmentView", @@ -2345,11 +2429,30 @@ "model": { "$ref": "AAAAAAGHXD9k0Y7URtE=" }, - "font": "Arial;13;0", - "left": 448, - "top": 1011, - "width": 288, - "height": 10 + "subViews": [ + { + "_type": "UMLOperationView", + "_id": "AAAAAAGH4OhICSTuOCk=", + "_parent": { + "$ref": "AAAAAAGHXD9k0Y7dMec=" + }, + "model": { + "$ref": "AAAAAAGH4OhIASTinWo=" + }, + "font": "Arial;13;0", + "left": 453, + "top": 1029, + "width": 303.81787109375, + "height": 13, + "text": "+Technicien(nom: string, prenom: string, mdp: string)", + "horizontalAlignment": 0 + } + ], + "font": "Arial;13;0", + "left": 448, + "top": 1024, + "width": 313.81787109375, + "height": 23 }, { "_type": "UMLReceptionCompartmentView", @@ -2384,7 +2487,7 @@ "containerChangeable": true, "left": 448, "top": 976, - "width": 288, + "width": 313.81787109375, "height": 80, "nameCompartment": { "$ref": "AAAAAAGHXD9k0Y7XI3g=" @@ -2484,7 +2587,11 @@ "$ref": "AAAAAAGHXD83YYvT/WQ=" }, "lineStyle": 1, +<<<<<<< HEAD + "points": "447:865;392:864;392:744;356:744", +======= "points": "447:864;392:864;392:744;320:751", +>>>>>>> origin/master "showVisibility": true, "nameLabel": { "$ref": "AAAAAAGHXD+SV5NCjA8=" @@ -2578,7 +2685,11 @@ "$ref": "AAAAAAGHXD9k0Y7Wyng=" }, "lineStyle": 1, +<<<<<<< HEAD + "points": "447:1016;392:1016;392:744;356:744", +======= "points": "447:1016;392:1016;392:744;320:751", +>>>>>>> origin/master "showVisibility": true, "nameLabel": { "$ref": "AAAAAAGHXD+kpZTxP+g=" @@ -2589,6 +2700,193 @@ "propertyLabel": { "$ref": "AAAAAAGHXD+kpZTz/A8=" } + }, + { + "_type": "UMLEnumerationView", + "_id": "AAAAAAGH4OMYTPQqnOk=", + "_parent": { + "$ref": "AAAAAAFF+qBtyKM79qY=" + }, + "model": { + "$ref": "AAAAAAGH4OMYS/QoSBc=" + }, + "subViews": [ + { + "_type": "UMLNameCompartmentView", + "_id": "AAAAAAGH4OMYTPQrCe4=", + "_parent": { + "$ref": "AAAAAAGH4OMYTPQqnOk=" + }, + "model": { + "$ref": "AAAAAAGH4OMYS/QoSBc=" + }, + "subViews": [ + { + "_type": "LabelView", + "_id": "AAAAAAGH4OMYTPQsX9k=", + "_parent": { + "$ref": "AAAAAAGH4OMYTPQrCe4=" + }, + "font": "Arial;13;0", + "left": 1037, + "top": 829, + "width": 278, + "height": 13, + "text": "«enumeration»" + }, + { + "_type": "LabelView", + "_id": "AAAAAAGH4OMYTPQtyEg=", + "_parent": { + "$ref": "AAAAAAGH4OMYTPQrCe4=" + }, + "font": "Arial;13;1", + "left": 1037, + "top": 844, + "width": 278, + "height": 13, + "text": "Enumeration1" + }, + { + "_type": "LabelView", + "_id": "AAAAAAGH4OMYTPQu48I=", + "_parent": { + "$ref": "AAAAAAGH4OMYTPQrCe4=" + }, + "visible": false, + "font": "Arial;13;0", + "width": 73.67724609375, + "height": 13, + "text": "(from Model)" + }, + { + "_type": "LabelView", + "_id": "AAAAAAGH4OMYTPQvBNQ=", + "_parent": { + "$ref": "AAAAAAGH4OMYTPQrCe4=" + }, + "visible": false, + "font": "Arial;13;0", + "height": 13, + "horizontalAlignment": 1 + } + ], + "font": "Arial;13;0", + "left": 1032, + "top": 824, + "width": 288, + "height": 38, + "stereotypeLabel": { + "$ref": "AAAAAAGH4OMYTPQsX9k=" + }, + "nameLabel": { + "$ref": "AAAAAAGH4OMYTPQtyEg=" + }, + "namespaceLabel": { + "$ref": "AAAAAAGH4OMYTPQu48I=" + }, + "propertyLabel": { + "$ref": "AAAAAAGH4OMYTPQvBNQ=" + } + }, + { + "_type": "UMLAttributeCompartmentView", + "_id": "AAAAAAGH4OMYTPQwmRI=", + "_parent": { + "$ref": "AAAAAAGH4OMYTPQqnOk=" + }, + "model": { + "$ref": "AAAAAAGH4OMYS/QoSBc=" + }, + "visible": false, + "font": "Arial;13;0", + "width": 10, + "height": 10 + }, + { + "_type": "UMLOperationCompartmentView", + "_id": "AAAAAAGH4OMYTPQxyEA=", + "_parent": { + "$ref": "AAAAAAGH4OMYTPQqnOk=" + }, + "model": { + "$ref": "AAAAAAGH4OMYS/QoSBc=" + }, + "visible": false, + "font": "Arial;13;0", + "width": 10, + "height": 10 + }, + { + "_type": "UMLReceptionCompartmentView", + "_id": "AAAAAAGH4OMYTPQyE+U=", + "_parent": { + "$ref": "AAAAAAGH4OMYTPQqnOk=" + }, + "model": { + "$ref": "AAAAAAGH4OMYS/QoSBc=" + }, + "visible": false, + "font": "Arial;13;0", + "width": 10, + "height": 10 + }, + { + "_type": "UMLTemplateParameterCompartmentView", + "_id": "AAAAAAGH4OMYTPQzRpA=", + "_parent": { + "$ref": "AAAAAAGH4OMYTPQqnOk=" + }, + "model": { + "$ref": "AAAAAAGH4OMYS/QoSBc=" + }, + "visible": false, + "font": "Arial;13;0", + "width": 10, + "height": 10 + }, + { + "_type": "UMLEnumerationLiteralCompartmentView", + "_id": "AAAAAAGH4OMYTPQ0rH0=", + "_parent": { + "$ref": "AAAAAAGH4OMYTPQqnOk=" + }, + "model": { + "$ref": "AAAAAAGH4OMYS/QoSBc=" + }, + "font": "Arial;13;0", + "left": 1032, + "top": 862, + "width": 288, + "height": 10 + } + ], + "font": "Arial;13;0", + "containerChangeable": true, + "left": 1032, + "top": 824, + "width": 288, + "height": 160, + "nameCompartment": { + "$ref": "AAAAAAGH4OMYTPQrCe4=" + }, + "suppressAttributes": true, + "suppressOperations": true, + "attributeCompartment": { + "$ref": "AAAAAAGH4OMYTPQwmRI=" + }, + "operationCompartment": { + "$ref": "AAAAAAGH4OMYTPQxyEA=" + }, + "receptionCompartment": { + "$ref": "AAAAAAGH4OMYTPQyE+U=" + }, + "templateParameterCompartment": { + "$ref": "AAAAAAGH4OMYTPQzRpA=" + }, + "enumerationLiteralCompartment": { + "$ref": "AAAAAAGH4OMYTPQ0rH0=" + } } ] }, @@ -2635,6 +2933,26 @@ "visibility": "private", "type": "int" }, + { + "_type": "UMLAttribute", + "_id": "AAAAAAGH4NxShNLb0XE=", + "_parent": { + "$ref": "AAAAAAGHXDUzVkweZ4U=" + }, + "name": "Nom", + "visibility": "private", + "type": "string" + }, + { + "_type": "UMLAttribute", + "_id": "AAAAAAGH4Ny1BtNYUzc=", + "_parent": { + "$ref": "AAAAAAGHXDUzVkweZ4U=" + }, + "name": "Prenom", + "visibility": "private", + "type": "string" + }, { "_type": "UMLAttribute", "_id": "AAAAAAGHXDWnYUxUAC4=", @@ -2684,6 +3002,51 @@ "$ref": "AAAAAAGHXDUzVkweZ4U=" }, "name": "Operation1" + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGH4N1jwtecya0=", + "_parent": { + "$ref": "AAAAAAGHXDUzVkweZ4U=" + }, + "name": "Personne", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAGH4N4Ms9g0VPg=", + "_parent": { + "$ref": "AAAAAAGH4N1jwtecya0=" + }, + "name": "nom", + "type": "string" + }, + { + "_type": "UMLParameter", + "_id": "AAAAAAGH4N4MtNg1HKQ=", + "_parent": { + "$ref": "AAAAAAGH4N1jwtecya0=" + }, + "name": "prenom", + "type": "string" + }, + { + "_type": "UMLParameter", + "_id": "AAAAAAGH4N4MtNg26bI=", + "_parent": { + "$ref": "AAAAAAGH4N1jwtecya0=" + }, + "name": "mdp", + "type": "string" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGH4N4NFNhn2Nk=", + "_parent": { + "$ref": "AAAAAAGHXDUzVkweZ4U=" + }, + "name": "Operation2" } ] }, @@ -2736,6 +3099,22 @@ "target": { "$ref": "AAAAAAGHXDUzVkweZ4U=" } + }, + { + "_type": "UMLInterface", + "_id": "AAAAAAGH3PviFqzbj2k=", + "_parent": { + "$ref": "AAAAAAGHXDdux0xn1po=" + }, + "name": "Interface1" + }, + { + "_type": "UMLActivity", + "_id": "AAAAAAGH3PxPZLH9b7A=", + "_parent": { + "$ref": "AAAAAAGHXDdux0xn1po=" + }, + "name": "Activity1" } ], "attributes": [ @@ -2749,6 +3128,45 @@ "visibility": "private", "type": "list" } + ], + "operations": [ + { + "_type": "UMLOperation", + "_id": "AAAAAAGH3QBXbL4c18o=", + "_parent": { + "$ref": "AAAAAAGHXDdux0xn1po=" + }, + "name": "Client", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAGH3QDzK76kz4I=", + "_parent": { + "$ref": "AAAAAAGH3QBXbL4c18o=" + }, + "name": "nom", + "type": "string" + }, + { + "_type": "UMLParameter", + "_id": "AAAAAAGH3QDzK76l/kw=", + "_parent": { + "$ref": "AAAAAAGH3QBXbL4c18o=" + }, + "name": "prenom", + "type": "string" + }, + { + "_type": "UMLParameter", + "_id": "AAAAAAGH3QDzK76moJA=", + "_parent": { + "$ref": "AAAAAAGH3QBXbL4c18o=" + }, + "name": "mdp", + "type": "string" + } + ] + } ] }, { @@ -2848,7 +3266,7 @@ "_parent": { "$ref": "AAAAAAFF+qBWK6M3Z8Y=" }, - "name": "Transaction", + "name": "Transactions", "ownedElements": [ { "_type": "UMLAssociation", @@ -2946,6 +3364,57 @@ "$ref": "AAAAAAGHXDUzVkweZ4U=" } } + ], + "attributes": [ + { + "_type": "UMLAttribute", + "_id": "AAAAAAGH4OahYiGuNJk=", + "_parent": { + "$ref": "AAAAAAGHXD83YYvR9MA=" + }, + "name": "id", + "visibility": "private", + "type": "int" + } + ], + "operations": [ + { + "_type": "UMLOperation", + "_id": "AAAAAAGH3QA0fr0+Nqw=", + "_parent": { + "$ref": "AAAAAAGHXD83YYvR9MA=" + }, + "name": "Conseiller", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAGH4OgyLSRwLp0=", + "_parent": { + "$ref": "AAAAAAGH3QA0fr0+Nqw=" + }, + "name": "nom", + "type": "string" + }, + { + "_type": "UMLParameter", + "_id": "AAAAAAGH4OgyLiRxRo0=", + "_parent": { + "$ref": "AAAAAAGH3QA0fr0+Nqw=" + }, + "name": "prenom", + "type": "string" + }, + { + "_type": "UMLParameter", + "_id": "AAAAAAGH4OgyLiRy2+s=", + "_parent": { + "$ref": "AAAAAAGH3QA0fr0+Nqw=" + }, + "name": "mdp", + "type": "string" + } + ] + } ] }, { @@ -2969,7 +3438,65 @@ "$ref": "AAAAAAGHXDUzVkweZ4U=" } } + ], + "attributes": [ + { + "_type": "UMLAttribute", + "_id": "AAAAAAGH4OjH0CXZngo=", + "_parent": { + "$ref": "AAAAAAGHXD9k0Y7URtE=" + }, + "name": "Attribute1", + "type": "" + } + ], + "operations": [ + { + "_type": "UMLOperation", + "_id": "AAAAAAGH4OhIASTinWo=", + "_parent": { + "$ref": "AAAAAAGHXD9k0Y7URtE=" + }, + "name": "Technicien", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAGH4OiozSVn1I0=", + "_parent": { + "$ref": "AAAAAAGH4OhIASTinWo=" + }, + "name": "nom", + "type": "string" + }, + { + "_type": "UMLParameter", + "_id": "AAAAAAGH4OiozSVofys=", + "_parent": { + "$ref": "AAAAAAGH4OhIASTinWo=" + }, + "name": "prenom", + "type": "string" + }, + { + "_type": "UMLParameter", + "_id": "AAAAAAGH4OiozSVpxNk=", + "_parent": { + "$ref": "AAAAAAGH4OhIASTinWo=" + }, + "name": "mdp", + "type": "string" + } + ] + } ] + }, + { + "_type": "UMLEnumeration", + "_id": "AAAAAAGH4OMYS/QoSBc=", + "_parent": { + "$ref": "AAAAAAFF+qBWK6M3Z8Y=" + }, + "name": "Enumeration1" } ] } diff --git a/docPrepaAppli-IHM/DiagrammeDeCasD_utilisation.pdf b/Documentation/docPrepaAppli-IHM/DiagrammeDeCasD_utilisation.pdf similarity index 100% rename from docPrepaAppli-IHM/DiagrammeDeCasD_utilisation.pdf rename to Documentation/docPrepaAppli-IHM/DiagrammeDeCasD_utilisation.pdf diff --git a/docPrepaAppli-IHM/Persona_1_SAE_2.01.pdf b/Documentation/docPrepaAppli-IHM/Persona_1_SAE_2.01.pdf similarity index 100% rename from docPrepaAppli-IHM/Persona_1_SAE_2.01.pdf rename to Documentation/docPrepaAppli-IHM/Persona_1_SAE_2.01.pdf diff --git a/docPrepaAppli-IHM/Persona_2_SAE_2.01.pdf b/Documentation/docPrepaAppli-IHM/Persona_2_SAE_2.01.pdf similarity index 100% rename from docPrepaAppli-IHM/Persona_2_SAE_2.01.pdf rename to Documentation/docPrepaAppli-IHM/Persona_2_SAE_2.01.pdf diff --git a/docPrepaAppli-IHM/Persona_3_SAE_2.01.pdf b/Documentation/docPrepaAppli-IHM/Persona_3_SAE_2.01.pdf similarity index 100% rename from docPrepaAppli-IHM/Persona_3_SAE_2.01.pdf rename to Documentation/docPrepaAppli-IHM/Persona_3_SAE_2.01.pdf diff --git a/docPrepaAppli-IHM/Sketch.pdf b/Documentation/docPrepaAppli-IHM/Sketch.pdf similarity index 100% rename from docPrepaAppli-IHM/Sketch.pdf rename to Documentation/docPrepaAppli-IHM/Sketch.pdf diff --git a/Documentation/doxygen/Doxyfile b/Documentation/doxygen/Doxyfile new file mode 100644 index 0000000..2f20e7c --- /dev/null +++ b/Documentation/doxygen/Doxyfile @@ -0,0 +1,429 @@ +#--------------------------------------------------------------------------- +# Project related configuration options +#--------------------------------------------------------------------------- +DOXYFILE_ENCODING = UTF-8 +PROJECT_NAME = "My Project" +PROJECT_NUMBER = 1.0.0 +PROJECT_BRIEF = "A brief description of your project" +PROJECT_LOGO = images/mylogo.png +OUTPUT_DIRECTORY = /docs/doxygen +CREATE_SUBDIRS = NO +ALLOW_UNICODE_NAMES = NO +OUTPUT_LANGUAGE = English +BRIEF_MEMBER_DESC = YES +REPEAT_BRIEF = YES +ABBREVIATE_BRIEF = "The $name class" \ + "The $name widget" \ + "The $name file" \ + is \ + provides \ + specifies \ + contains \ + represents \ + a \ + an \ + the +ALWAYS_DETAILED_SEC = NO +INLINE_INHERITED_MEMB = NO +FULL_PATH_NAMES = YES +STRIP_FROM_PATH = +STRIP_FROM_INC_PATH = +SHORT_NAMES = NO +JAVADOC_AUTOBRIEF = NO +JAVADOC_BANNER = NO +QT_AUTOBRIEF = NO +MULTILINE_CPP_IS_BRIEF = NO +PYTHON_DOCSTRING = YES +INHERIT_DOCS = YES +SEPARATE_MEMBER_PAGES = NO +TAB_SIZE = 4 +ALIASES = +OPTIMIZE_OUTPUT_FOR_C = NO +# Well... the one for Java looks so similar to the one for C#... +OPTIMIZE_OUTPUT_JAVA = YES +OPTIMIZE_FOR_FORTRAN = NO +OPTIMIZE_OUTPUT_VHDL = NO +OPTIMIZE_OUTPUT_SLICE = NO +EXTENSION_MAPPING = +MARKDOWN_SUPPORT = YES +TOC_INCLUDE_HEADINGS = 5 +AUTOLINK_SUPPORT = YES +BUILTIN_STL_SUPPORT = NO +CPP_CLI_SUPPORT = NO +SIP_SUPPORT = NO +IDL_PROPERTY_SUPPORT = YES +DISTRIBUTE_GROUP_DOC = NO +GROUP_NESTED_COMPOUNDS = NO +SUBGROUPING = YES +INLINE_GROUPED_CLASSES = NO +INLINE_SIMPLE_STRUCTS = NO +TYPEDEF_HIDES_STRUCT = NO +LOOKUP_CACHE_SIZE = 0 +NUM_PROC_THREADS = 1 + +#--------------------------------------------------------------------------- +# Build related configuration options +#--------------------------------------------------------------------------- + +EXTRACT_ALL = YES +# I do not like other members to see my private members... but you can set it to YES if you prefer. +EXTRACT_PRIVATE = NO +EXTRACT_PRIV_VIRTUAL = NO +EXTRACT_PACKAGE = NO +EXTRACT_STATIC = YES +EXTRACT_LOCAL_CLASSES = YES +EXTRACT_LOCAL_METHODS = NO +EXTRACT_ANON_NSPACES = NO +RESOLVE_UNNAMED_PARAMS = YES +HIDE_UNDOC_MEMBERS = NO +HIDE_UNDOC_CLASSES = NO +HIDE_FRIEND_COMPOUNDS = NO +HIDE_IN_BODY_DOCS = NO +INTERNAL_DOCS = NO +CASE_SENSE_NAMES = NO +HIDE_SCOPE_NAMES = NO +HIDE_COMPOUND_REFERENCE= NO +SHOW_HEADERFILE = YES +SHOW_INCLUDE_FILES = YES +SHOW_GROUPED_MEMB_INC = NO +FORCE_LOCAL_INCLUDES = NO +INLINE_INFO = YES +SORT_MEMBER_DOCS = NO +SORT_BRIEF_DOCS = NO +SORT_MEMBERS_CTORS_1ST = NO +SORT_GROUP_NAMES = NO +SORT_BY_SCOPE_NAME = NO +STRICT_PROTO_MATCHING = NO +GENERATE_TODOLIST = YES +GENERATE_TESTLIST = YES +GENERATE_BUGLIST = YES +GENERATE_DEPRECATEDLIST= YES +ENABLED_SECTIONS = +MAX_INITIALIZER_LINES = 30 +SHOW_USED_FILES = YES +SHOW_FILES = YES +SHOW_NAMESPACES = YES +FILE_VERSION_FILTER = +LAYOUT_FILE = +CITE_BIB_FILES = + +#--------------------------------------------------------------------------- +# Configuration options related to warning and progress messages +#--------------------------------------------------------------------------- + +QUIET = NO +WARNINGS = YES +WARN_IF_UNDOCUMENTED = YES +WARN_IF_DOC_ERROR = YES +WARN_IF_INCOMPLETE_DOC = YES +WARN_NO_PARAMDOC = NO +WARN_AS_ERROR = NO +WARN_FORMAT = "$file:$line: $text" +WARN_LOGFILE = + +#--------------------------------------------------------------------------- +# Configuration options related to the input files +#--------------------------------------------------------------------------- + +INPUT = ../../Sources +INPUT_ENCODING = UTF-8 +FILE_PATTERNS = *.c \ + *.cc \ + *.cxx \ + *.cpp \ + *.c++ \ + *.java \ + *.ii \ + *.ixx \ + *.ipp \ + *.i++ \ + *.inl \ + *.idl \ + *.ddl \ + *.odl \ + *.h \ + *.hh \ + *.hxx \ + *.hpp \ + *.h++ \ + *.l \ + *.cs \ + *.d \ + *.php \ + *.php4 \ + *.php5 \ + *.phtml \ + *.inc \ + *.m \ + *.markdown \ + *.md \ + *.mm \ + *.dox \ + *.py \ + *.pyw \ + *.f90 \ + *.f95 \ + *.f03 \ + *.f08 \ + *.f18 \ + *.f \ + *.for \ + *.vhd \ + *.vhdl \ + *.ucf \ + *.qsf \ + *.ice +RECURSIVE = YES +EXCLUDE = +EXCLUDE_SYMLINKS = NO +EXCLUDE_PATTERNS = */Tests/* +EXCLUDE_PATTERNS += */bin/* +EXCLUDE_PATTERNS += */obj/* +EXCLUDE_SYMBOLS = +EXAMPLE_PATH = +EXAMPLE_PATTERNS = * +EXAMPLE_RECURSIVE = NO +IMAGE_PATH = +INPUT_FILTER = +FILTER_PATTERNS = +FILTER_SOURCE_FILES = NO +FILTER_SOURCE_PATTERNS = +USE_MDFILE_AS_MAINPAGE = + +#--------------------------------------------------------------------------- +# Configuration options related to source browsing +#--------------------------------------------------------------------------- + +SOURCE_BROWSER = NO +INLINE_SOURCES = NO +STRIP_CODE_COMMENTS = YES +REFERENCED_BY_RELATION = NO +REFERENCES_RELATION = NO +REFERENCES_LINK_SOURCE = YES +SOURCE_TOOLTIPS = YES +USE_HTAGS = NO +VERBATIM_HEADERS = YES +CLANG_ASSISTED_PARSING = NO +CLANG_ADD_INC_PATHS = YES +CLANG_OPTIONS = +CLANG_DATABASE_PATH = + +#--------------------------------------------------------------------------- +# Configuration options related to the alphabetical class index +#--------------------------------------------------------------------------- + +ALPHABETICAL_INDEX = YES +IGNORE_PREFIX = + +#--------------------------------------------------------------------------- +# Configuration options related to the HTML output +#--------------------------------------------------------------------------- + +GENERATE_HTML = YES +HTML_OUTPUT = html +HTML_FILE_EXTENSION = .html +HTML_HEADER = +HTML_FOOTER = footer.html +HTML_STYLESHEET = +HTML_EXTRA_STYLESHEET = +HTML_EXTRA_FILES = images/CodeFirst.png images/clubinfo.png +HTML_COLORSTYLE_HUE = 215 +HTML_COLORSTYLE_SAT = 45 +HTML_COLORSTYLE_GAMMA = 240 +HTML_TIMESTAMP = NO +HTML_DYNAMIC_MENUS = YES +HTML_DYNAMIC_SECTIONS = NO +HTML_INDEX_NUM_ENTRIES = 100 +GENERATE_DOCSET = NO +DOCSET_FEEDNAME = "Doxygen generated docs" +DOCSET_FEEDURL = +DOCSET_BUNDLE_ID = org.doxygen.Project +DOCSET_PUBLISHER_ID = org.doxygen.Publisher +DOCSET_PUBLISHER_NAME = Publisher +GENERATE_HTMLHELP = NO +CHM_FILE = +HHC_LOCATION = +GENERATE_CHI = NO +CHM_INDEX_ENCODING = +BINARY_TOC = NO +TOC_EXPAND = NO +GENERATE_QHP = NO +QCH_FILE = +QHP_NAMESPACE = org.doxygen.Project +QHP_VIRTUAL_FOLDER = doc +QHP_CUST_FILTER_NAME = +QHP_CUST_FILTER_ATTRS = +QHP_SECT_FILTER_ATTRS = +QHG_LOCATION = +GENERATE_ECLIPSEHELP = NO +ECLIPSE_DOC_ID = org.doxygen.Project +DISABLE_INDEX = NO +GENERATE_TREEVIEW = NO +FULL_SIDEBAR = NO +ENUM_VALUES_PER_LINE = 4 +TREEVIEW_WIDTH = 250 +EXT_LINKS_IN_WINDOW = NO +OBFUSCATE_EMAILS = YES +HTML_FORMULA_FORMAT = png +FORMULA_FONTSIZE = 10 +FORMULA_TRANSPARENT = YES +FORMULA_MACROFILE = +USE_MATHJAX = NO +MATHJAX_VERSION = MathJax_2 +MATHJAX_FORMAT = HTML-CSS +MATHJAX_RELPATH = +MATHJAX_EXTENSIONS = +MATHJAX_CODEFILE = +SEARCHENGINE = YES +SERVER_BASED_SEARCH = NO +EXTERNAL_SEARCH = NO +SEARCHENGINE_URL = +SEARCHDATA_FILE = searchdata.xml +EXTERNAL_SEARCH_ID = +EXTRA_SEARCH_MAPPINGS = + +#--------------------------------------------------------------------------- +# Configuration options related to the LaTeX output +#--------------------------------------------------------------------------- + +GENERATE_LATEX = NO +LATEX_OUTPUT = latex +LATEX_CMD_NAME = +MAKEINDEX_CMD_NAME = makeindex +LATEX_MAKEINDEX_CMD = makeindex +COMPACT_LATEX = NO +PAPER_TYPE = a4 +EXTRA_PACKAGES = +LATEX_HEADER = +LATEX_FOOTER = +LATEX_EXTRA_STYLESHEET = +LATEX_EXTRA_FILES = +PDF_HYPERLINKS = YES +USE_PDFLATEX = YES +LATEX_BATCHMODE = NO +LATEX_HIDE_INDICES = NO +LATEX_BIB_STYLE = plain +LATEX_TIMESTAMP = NO +LATEX_EMOJI_DIRECTORY = + +#--------------------------------------------------------------------------- +# Configuration options related to the RTF output +#--------------------------------------------------------------------------- + +GENERATE_RTF = NO +RTF_OUTPUT = rtf +COMPACT_RTF = NO +RTF_HYPERLINKS = NO +RTF_STYLESHEET_FILE = +RTF_EXTENSIONS_FILE = + +#--------------------------------------------------------------------------- +# Configuration options related to the man page output +#--------------------------------------------------------------------------- + +GENERATE_MAN = NO +MAN_OUTPUT = man +MAN_EXTENSION = .3 +MAN_SUBDIR = +MAN_LINKS = NO + +#--------------------------------------------------------------------------- +# Configuration options related to the XML output +#--------------------------------------------------------------------------- + +GENERATE_XML = NO +XML_OUTPUT = xml +XML_PROGRAMLISTING = YES +XML_NS_MEMB_FILE_SCOPE = NO + +#--------------------------------------------------------------------------- +# Configuration options related to the DOCBOOK output +#--------------------------------------------------------------------------- + +GENERATE_DOCBOOK = NO +DOCBOOK_OUTPUT = docbook + +#--------------------------------------------------------------------------- +# Configuration options for the AutoGen Definitions output +#--------------------------------------------------------------------------- + +GENERATE_AUTOGEN_DEF = NO + +#--------------------------------------------------------------------------- +# Configuration options related to Sqlite3 output +#--------------------------------------------------------------------------- + +#--------------------------------------------------------------------------- +# Configuration options related to the Perl module output +#--------------------------------------------------------------------------- + +GENERATE_PERLMOD = NO +PERLMOD_LATEX = NO +PERLMOD_PRETTY = YES +PERLMOD_MAKEVAR_PREFIX = + +#--------------------------------------------------------------------------- +# Configuration options related to the preprocessor +#--------------------------------------------------------------------------- + +ENABLE_PREPROCESSING = YES +MACRO_EXPANSION = NO +EXPAND_ONLY_PREDEF = NO +SEARCH_INCLUDES = YES +INCLUDE_PATH = +INCLUDE_FILE_PATTERNS = +PREDEFINED = +EXPAND_AS_DEFINED = +SKIP_FUNCTION_MACROS = YES + +#--------------------------------------------------------------------------- +# Configuration options related to external references +#--------------------------------------------------------------------------- + +TAGFILES = +GENERATE_TAGFILE = +ALLEXTERNALS = NO +EXTERNAL_GROUPS = YES +EXTERNAL_PAGES = YES + +#--------------------------------------------------------------------------- +# Configuration options related to the dot tool +#--------------------------------------------------------------------------- + +DIA_PATH = +HIDE_UNDOC_RELATIONS = YES +HAVE_DOT = NO +DOT_NUM_THREADS = 0 +DOT_FONTNAME = Helvetica +DOT_FONTSIZE = 10 +DOT_FONTPATH = +CLASS_GRAPH = YES +COLLABORATION_GRAPH = YES +GROUP_GRAPHS = YES +UML_LOOK = NO +UML_LIMIT_NUM_FIELDS = 10 +DOT_UML_DETAILS = NO +DOT_WRAP_THRESHOLD = 17 +TEMPLATE_RELATIONS = NO +INCLUDE_GRAPH = YES +INCLUDED_BY_GRAPH = YES +CALL_GRAPH = NO +CALLER_GRAPH = NO +GRAPHICAL_HIERARCHY = YES +DIRECTORY_GRAPH = YES +DIR_GRAPH_MAX_DEPTH = 1 +DOT_IMAGE_FORMAT = png +INTERACTIVE_SVG = NO +DOT_PATH = +DOTFILE_DIRS = +MSCFILE_DIRS = +DIAFILE_DIRS = +PLANTUML_JAR_PATH = +PLANTUML_CFG_FILE = +PLANTUML_INCLUDE_PATH = +DOT_GRAPH_MAX_NODES = 50 +MAX_DOT_GRAPH_DEPTH = 0 +DOT_TRANSPARENT = NO +DOT_MULTI_TARGETS = NO +GENERATE_LEGEND = YES +DOT_CLEANUP = YES diff --git a/Documentation/images/banqualeLogo.jpg b/Documentation/images/banqualeLogo.jpg new file mode 100644 index 0000000..0fcc7da Binary files /dev/null and b/Documentation/images/banqualeLogo.jpg differ diff --git a/README.md b/README.md index 2c262fb..bc86d13 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,52 @@ + + # Banquale +[![Build Status](https://codefirst.iut.uca.fr/api/badges/antoine.perederii/Banquale/status.svg)](https://codefirst.iut.uca.fr/antoine.perederii/Banquale) +[![Quality Gate Status](https://codefirst.iut.uca.fr/sonar/api/project_badges/measure?project=Banquale&metric=alert_status&token=1a49717e4d2f15e2eecaaa971ebd8c83fb9bd5c5)](https://codefirst.iut.uca.fr/sonar/dashboard?id=Banquale) +[![Bugs](https://codefirst.iut.uca.fr/sonar/api/project_badges/measure?project=Banquale&metric=bugs&token=1a49717e4d2f15e2eecaaa971ebd8c83fb9bd5c5)](https://codefirst.iut.uca.fr/sonar/dashboard?id=Banquale) +[![Coverage](https://codefirst.iut.uca.fr/sonar/api/project_badges/measure?project=Banquale&metric=coverage&token=1a49717e4d2f15e2eecaaa971ebd8c83fb9bd5c5)](https://codefirst.iut.uca.fr/sonar/dashboard?id=Banquale) +[![Vulnerabilities](https://codefirst.iut.uca.fr/sonar/api/project_badges/measure?project=Banquale&metric=vulnerabilities&token=1a49717e4d2f15e2eecaaa971ebd8c83fb9bd5c5)](https://codefirst.iut.uca.fr/sonar/dashboard?id=Banquale) + +# Table of Content +[overview--big-picture](#overview--big-picture) | [Features](#features) | [Getting Started](#getting-started) | [Prerequisites](#prerequisites) + + +## Overview / Big picture +This project is a .... + +## Features + +## Documentation +Doxygen +Wiki + +## Getting Started + +### Prerequisites + +### Installation + +## Running the tests + +## How to contribute ? + +## What we have now ? + +## Usage + +## Known issues and limitations +deux blanc en fin de lignes = saut de ligne +sdf +## Authors + +## Acknowledgments + +## License + + +```python +print("Bonjour, monde!") +``` + SAÉ 2.01 Développement d'une application Le projet est une app mobile de Gestion Bancaire. PEREDERII Antoine, LOUVET Titouan diff --git a/src/Banquale/Banquale/App.xaml.cs b/src/Banquale/Banquale/App.xaml.cs index 4531e5c..d09ea42 100644 --- a/src/Banquale/Banquale/App.xaml.cs +++ b/src/Banquale/Banquale/App.xaml.cs @@ -1,12 +1,26 @@ -namespace Banquale; +using Banquale.Model; +using Banquale.Stub; +using Banquale.DataContractPersistance; +namespace Banquale; public partial class App : Application { + + public Manager MyManager { get; private set; } = new Manager(new Stub.Stub()); + + + public App() { + + //MyManager.ChargeDonnee(); + //MyManager.Persistance = new DataContractPersistance.DataContractPers(); + //MyManager.SauvegardeDonnee(); + InitializeComponent(); MainPage = new AppShell(); + } } diff --git a/src/Banquale/Banquale/AppShell.xaml b/src/Banquale/Banquale/AppShell.xaml index d287730..938b21c 100644 --- a/src/Banquale/Banquale/AppShell.xaml +++ b/src/Banquale/Banquale/AppShell.xaml @@ -3,44 +3,45 @@ x:Class="Banquale.AppShell" xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" - xmlns:local="clr-namespace:Banquale.Views" - Shell.FlyoutBehavior="Disabled"> + xmlns:local="clr-namespace:Banquale" + xmlns:views="clr-namespace:Banquale.Views" + Shell.FlyoutBehavior="Disabled" + Shell.NavBarIsVisible="False"> - - - - - - - - - + - - + - - - - - - - - - + - + + + + + + + diff --git a/src/Banquale/Banquale/AppShell.xaml.cs b/src/Banquale/Banquale/AppShell.xaml.cs index 602ca78..2a5a288 100644 --- a/src/Banquale/Banquale/AppShell.xaml.cs +++ b/src/Banquale/Banquale/AppShell.xaml.cs @@ -1,10 +1,18 @@ -namespace Banquale; +using Banquale.Views; + +namespace Banquale; public partial class AppShell : Shell { public AppShell() { InitializeComponent(); - } + Routing.RegisterRoute("balance/categorydetails", typeof(CategoryPage)); + Routing.RegisterRoute("newpagedetails", typeof(NewPage1)); + //Routing.RegisterRoute("menu/requestdetails", typeof(RequestPage)); + //Routing.RegisterRoute("menu/ribdetails", typeof(RibPage)); + //Routing.RegisterRoute("menu/transferdetails", typeof(TransferPage)); + } + } diff --git a/src/Banquale/Banquale/Banquale.csproj b/src/Banquale/Banquale/Banquale.csproj index f042d44..3f03349 100644 --- a/src/Banquale/Banquale/Banquale.csproj +++ b/src/Banquale/Banquale/Banquale.csproj @@ -1,8 +1,10 @@  - net6.0-android;net6.0-ios;net6.0-maccatalyst - $(TargetFrameworks);net6.0-windows10.0.19041.0 + net7.0-android;$(TargetFrameworks) + $(TargetFrameworks);net7.0-windows10.0.19041.0 + $(TargetFrameworks);net7.0-ios + $(TargetFrameworks);net7.0-maccatalyst Exe @@ -30,18 +32,18 @@ 6.5 - + false - + false - + - + @@ -56,14 +58,25 @@ + + + + + + + + - + + - + + + diff --git a/src/Banquale/Banquale/DataContractPersistance/DataContractPers.cs b/src/Banquale/Banquale/DataContractPersistance/DataContractPers.cs new file mode 100644 index 0000000..887501e --- /dev/null +++ b/src/Banquale/Banquale/DataContractPersistance/DataContractPers.cs @@ -0,0 +1,60 @@ +using Banquale.Model; +using System; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.Serialization; +using System.Xml; + + +namespace Banquale.DataContractPersistance +{ + public class DataContractPers : IPersistanceManager + { + //Partie Antoine + public string FilePath { get; set; } = "/Users//Perederii//SAE//Banquale//src//Banquale//Banquale//Persistances"; + public string FileName { get; set; } = "ClientAndTransactionsList.xml"; + + //public string FilePath { get; set; } = Path.Combine(Directory.GetCurrentDirectory(), "..//XML1_folder")/*"/Users/Perederii/SAE/Banquale/src/Banquale/Banquale/XML_folder"*/; + + //Partie Titouan + + //public string FileName { get; set; } = "nomFichier.xml"; + + // public string FilePath2 { get; set; } = "..\\Persistances"; + // public string FilePath { get; set; } = "C:\\Users\\louve\\depot\\Banquale\\src\\Banquale\\Persistances"; + + public (List, List) ChargeDonnee() + { + var serializer = new DataContractSerializer(typeof(List)); + + List ListClients; + + using (Stream s = File.OpenRead(Path.Combine(FilePath, FileName))) + { + ListClients = serializer.ReadObject(s) as List; + } + return (ListClients, new List()); + } + + public void SauvegardeDonnee(List c, List t) + { + var serializer = new DataContractSerializer(typeof(List)); + + if(!Directory.Exists(FilePath)) + { + Debug.WriteLine("Directory crée à l'instant"); + Directory.CreateDirectory(FilePath); + } + + var settings = new XmlWriterSettings() { Indent = true }; + using (TextWriter tw = File.CreateText(Path.Combine(FilePath, FileName))) + { + using (XmlWriter writer = XmlWriter.Create(tw, settings)) + { + serializer.WriteObject(writer, c); + } + } + } + } +} + diff --git a/src/Banquale/Banquale/DataContractPersistance/DataToPersist.cs b/src/Banquale/Banquale/DataContractPersistance/DataToPersist.cs new file mode 100644 index 0000000..7e25698 --- /dev/null +++ b/src/Banquale/Banquale/DataContractPersistance/DataToPersist.cs @@ -0,0 +1,11 @@ +using System; +namespace Banquale.DataContractPersistance +{ + public class DataToPersist + { + public DataToPersist() + { + } + } +} + diff --git a/src/Banquale/Banquale/Model/Client.cs b/src/Banquale/Banquale/Model/Client.cs new file mode 100644 index 0000000..52a7ced --- /dev/null +++ b/src/Banquale/Banquale/Model/Client.cs @@ -0,0 +1,23 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + + +namespace Banquale.Model +{ + //[DataFrameworks] + public class Client: Personne + { + //[DataMember] + public List ListeComptes { get; private set; } + + + public Client(string nom, string prenom, string mdp) : base(nom, prenom, mdp) + {} + + + } + +} diff --git a/src/Banquale/Banquale/Model/Compte.cs b/src/Banquale/Banquale/Model/Compte.cs new file mode 100644 index 0000000..0df7fce --- /dev/null +++ b/src/Banquale/Banquale/Model/Compte.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + + +namespace Banquale.Model +{ + public class Compte + { + public int Solde { get; set; } + + public string Nom { get; set;} + + public string IBAN { get; set; } + + public List CompteList { get; set; } + } +} diff --git a/src/Banquale/Banquale/Model/IPersistanceManager.cs b/src/Banquale/Banquale/Model/IPersistanceManager.cs new file mode 100644 index 0000000..9ebe4c5 --- /dev/null +++ b/src/Banquale/Banquale/Model/IPersistanceManager.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Banquale.Model +{ + public interface IPersistanceManager + { + public (List, List) ChargeDonnee(); + + void SauvegardeDonnee(List c, List t); + } +} diff --git a/src/Banquale/Banquale/Model/Manager.cs b/src/Banquale/Banquale/Model/Manager.cs new file mode 100644 index 0000000..d7739f0 --- /dev/null +++ b/src/Banquale/Banquale/Model/Manager.cs @@ -0,0 +1,65 @@ +using System; +using System.Runtime.Serialization; + +namespace Banquale.Model +{ + [DataContract] + public class Manager + { + [DataMember] + public List ListeClients { get; private set; } + + [DataMember] + public List ListeTransactions { get; private set; } + + public IPersistanceManager Persistance { get; set; } + + public Manager(IPersistanceManager persistance) { + + ListeTransactions = new List(); + ListeClients = new List(); + Persistance = persistance; + + } + + public Manager() + { + ListeClients = new List(); + ListeTransactions = new List(); + } + + public bool AjouterClient(Client MonClient) + { + ListeClients.Add(MonClient); + return true; + } + + public Client GetClient(int place) { + return ListeClients[place]; + } + + public void SauvegardeDonnee() + { + Persistance.SauvegardeDonnee(ListeClients, ListeTransactions); + } + + public void ChargeDonnee() + { + var donnees = Persistance.ChargeDonnee(); + + ListeClients.AddRange(donnees.Item1); + ListeTransactions.AddRange(donnees.Item2); + + foreach (var j in donnees.Item1) + { + ListeClients.Add(j); + } + foreach (var i in donnees.Item2) + { + ListeTransactions.Add(i); + } + } + + } +} + diff --git a/src/Banquale/Banquale/Model/Personne.cs b/src/Banquale/Banquale/Model/Personne.cs new file mode 100644 index 0000000..1cf31fa --- /dev/null +++ b/src/Banquale/Banquale/Model/Personne.cs @@ -0,0 +1,27 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + + +namespace Banquale.Model +{ + public class Personne + { + public string Nom { get; private set; } + public string Prenom { get; private set; } + public int Id { get; private set; } + public string Mdp { get; private set; } + + public Personne(string nom, string prenom, string mdp) + { + Nom = nom; + Prenom = prenom; + Id = 0; + Mdp = mdp; + } + + } + +} diff --git a/src/Banquale/Banquale/Model/Transactions.cs b/src/Banquale/Banquale/Model/Transactions.cs new file mode 100644 index 0000000..8c140d8 --- /dev/null +++ b/src/Banquale/Banquale/Model/Transactions.cs @@ -0,0 +1,26 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Banquale.Model +{ + public class Transactions + { + public int Type { get; private set; } + + public int Somme { get; private set; } + + public Compte CompteImplique { get; private set; } + + public string Categorie { get; private set; } + + public Transactions(int type, int somme, Compte compteImplique, string categorie) { + Type = type; + Somme = somme; + CompteImplique = compteImplique; + Categorie = categorie; + } + } +} diff --git a/src/Banquale/Banquale/Platforms/Android/AndroidManifest.xml b/src/Banquale/Banquale/Platforms/Android/AndroidManifest.xml index ddd284f..fe0e0d9 100644 --- a/src/Banquale/Banquale/Platforms/Android/AndroidManifest.xml +++ b/src/Banquale/Banquale/Platforms/Android/AndroidManifest.xml @@ -1,6 +1,7 @@  - - + + + diff --git a/src/Banquale/Banquale/Resources/AppIcon/appicon.png b/src/Banquale/Banquale/Resources/AppIcon/appicon.png new file mode 100644 index 0000000..0fcc7da Binary files /dev/null and b/src/Banquale/Banquale/Resources/AppIcon/appicon.png differ diff --git a/src/Banquale/Banquale/Resources/AppIcon/appicon.svg b/src/Banquale/Banquale/Resources/AppIcon/appicon.svg deleted file mode 100644 index 49f9800..0000000 --- a/src/Banquale/Banquale/Resources/AppIcon/appicon.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/src/Banquale/Banquale/Resources/AppIcon/appiconfg.svg b/src/Banquale/Banquale/Resources/AppIcon/appiconfg.svg deleted file mode 100644 index e9b7139..0000000 --- a/src/Banquale/Banquale/Resources/AppIcon/appiconfg.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/src/Banquale/Banquale/Resources/Splash/splash.png b/src/Banquale/Banquale/Resources/Splash/splash.png new file mode 100644 index 0000000..0fcc7da Binary files /dev/null and b/src/Banquale/Banquale/Resources/Splash/splash.png differ diff --git a/src/Banquale/Banquale/Resources/Splash/splash.svg b/src/Banquale/Banquale/Resources/Splash/splash.svg deleted file mode 100644 index 4b71383..0000000 --- a/src/Banquale/Banquale/Resources/Splash/splash.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/src/Banquale/Banquale/Stub/Stub.cs b/src/Banquale/Banquale/Stub/Stub.cs new file mode 100644 index 0000000..a26c151 --- /dev/null +++ b/src/Banquale/Banquale/Stub/Stub.cs @@ -0,0 +1,31 @@ +using System; +using Banquale.Model; + +namespace Banquale.Stub +{ + public class Stub : IPersistanceManager + { + + public (List, List) ChargeDonnee() + { + Client Client1 = new Client("Jacques", "Morice", "J'aimeLesFrites"); + Client Client2 = new Client("Francis", "Begore", "J'aimeLes"); + Client Client3 = new Client("Michel", "Boudout", "MonMdP"); + Console.WriteLine(Client1); + List ListeClients = new List(); + List ListeTransactions = new List(); + ListeClients.Add(Client1); + ListeClients.Add(Client2); + ListeClients.Add(Client3); + return (ListeClients, ListeTransactions); + } + + public void SauvegardeDonnee(List c, List t) + { + throw new NotImplementedException(); + } + + } + +} + diff --git a/src/Banquale/Banquale/Views/BalancePage.xaml b/src/Banquale/Banquale/Views/BalancePage.xaml index 9f8b0ba..c33656d 100644 --- a/src/Banquale/Banquale/Views/BalancePage.xaml +++ b/src/Banquale/Banquale/Views/BalancePage.xaml @@ -4,7 +4,9 @@ xmlns:local="clr-namespace:Banquale.Views" x:Class="Banquale.Views.BalancePage" Title="BalancePage" + NavigationPage.HasBackButton="True" > + +