diff --git a/JMayer.Example.WebAssemblyBlazor.Shared/JMayer.Example.WebAssemblyBlazor.Shared.csproj b/JMayer.Example.WebAssemblyBlazor.Shared/JMayer.Example.WebAssemblyBlazor.Shared.csproj index 4533e2c..2ac0682 100644 --- a/JMayer.Example.WebAssemblyBlazor.Shared/JMayer.Example.WebAssemblyBlazor.Shared.csproj +++ b/JMayer.Example.WebAssemblyBlazor.Shared/JMayer.Example.WebAssemblyBlazor.Shared.csproj @@ -4,7 +4,7 @@ net9.0 enable enable - 9.0.0 + 9.0.1 jmayer913 jmayer913 https://github.com/jmayer913/JMayer-Example-WebAssemblyBlazor diff --git a/JMayer.Example.WebAssemblyBlazor/JMayer.Example.WebAssemblyBlazor.Client/JMayer.Example.WebAssemblyBlazor.Client.csproj b/JMayer.Example.WebAssemblyBlazor/JMayer.Example.WebAssemblyBlazor.Client/JMayer.Example.WebAssemblyBlazor.Client.csproj index db25016..3f4967f 100644 --- a/JMayer.Example.WebAssemblyBlazor/JMayer.Example.WebAssemblyBlazor.Client/JMayer.Example.WebAssemblyBlazor.Client.csproj +++ b/JMayer.Example.WebAssemblyBlazor/JMayer.Example.WebAssemblyBlazor.Client/JMayer.Example.WebAssemblyBlazor.Client.csproj @@ -6,15 +6,15 @@ enable true Default - 9.0.0 + 9.0.1 jmayer913 jmayer913 https://github.com/jmayer913/JMayer-Example-WebAssemblyBlazor - - + + diff --git a/JMayer.Example.WebAssemblyBlazor/JMayer.Example.WebAssemblyBlazor/JMayer.Example.WebAssemblyBlazor.csproj b/JMayer.Example.WebAssemblyBlazor/JMayer.Example.WebAssemblyBlazor/JMayer.Example.WebAssemblyBlazor.csproj index a513fd0..0c46aeb 100644 --- a/JMayer.Example.WebAssemblyBlazor/JMayer.Example.WebAssemblyBlazor/JMayer.Example.WebAssemblyBlazor.csproj +++ b/JMayer.Example.WebAssemblyBlazor/JMayer.Example.WebAssemblyBlazor/JMayer.Example.WebAssemblyBlazor.csproj @@ -4,7 +4,7 @@ net9.0 enable enable - 9.0.0 + 9.0.1 jmayer913 jmayer913 https://github.com/jmayer913/JMayer-Example-WebAssemblyBlazor @@ -13,10 +13,10 @@ - - - - + + + + diff --git a/README.md b/README.md index a1573a7..bf27f82 100644 --- a/README.md +++ b/README.md @@ -1,32 +1,144 @@ # ASP.NET Core / WebAssembly Blazor Example Project -This example project is a simplified CMMS software (computerized maintenance management system) which is used to track equipment and parts. The example pregenerates a simple sortation conveyor system for a BHS (baggage handling system) and some common parts for conveyor. The example has two pages, assets and parts. +This example project is a simplified management of assets and parts in a system and it would be part of a CMMS software (computerized maintenance management system). The example pregenerates a simple sortation conveyor system for a BHS (baggage handling system) and some common parts for conveyor. The example has two pages, assets and parts. -## Assets -The assets page allows the user to add/edit/delete assets. Assets can be arrange in a hierarchy manner and an asset either represents important equipment in the system, an area for inventory storage or a logical grouping for the children underneath it. Basic information can be entered about the asset and for equipment assets, the asset can taken offline or -put back online. Also, the user can add/edit/delete storage locations for an area asset. +## Assets Page +The assets page allows the user to add/edit/delete assets. Assets can be arrange in a hierarchy manner and an asset either represents important physical equipment in the system, an area for inventory storage or a logical grouping for the children underneath it. Basic information can be entered about the asset and for equipment assets, the asset can taken offline or put back online. Also, the user can add/edit/delete storage locations for an area asset. image +### Add Asset + +On the assets page, the user can create a new asset. + +* Name - A friendly name for the asset; required and must be unique. +* Description - A description about the asset; optional. +* Type of Asset - The type the asset will represent; required. Area is inventory storage. Group is a logical grouping for the children underneath it. Equipment is important physical equipment in the system. +* Parent Asset - The parent for this asset; optional. +* Category - The category for the asset; optional. + image -image +### Delete Asset + +On the assets page, the user can delete an asset. The user will be required to confirm the deletion or cancel. On confirmation, the asset and its storage locations (if it has any) will be deleted. + +image + +### Asset Detail Page + +On the assets page, the user can navigate to the asset detail page where the user can view/edit the asset and storage locations (area assets only). + +Area: image +Group: + +image + +Equipment: + +image + +#### Edit Asset + +On the asset detail page, the user can edit the top panel which contains general information about the asset. + +* Name - A friendly name for the asset; required and must be unique. +* Parent Asset - The parent for this asset; optional. +* Type of Asset - The type the asset will represent; not editable. +* Category - The category for the asset; optional. +* Description - A description about the asset; optional. + +Equipment Only: + +* Manufacturer - Who creates the equipment; optional. +* Manufacturer Number - The identifier assigned by the manufacturer; optional. +* Model - The model of the equipment; optional. +* Make - The make of the equipment; optional. +* Online - Marks if the equipment is online or not. + +#### Add/Edit Area Storage Location + +On the asset detail page, for area assets, the user can create a new storage location or edit an existing storage location from the bottom panel. + +* Location A - The friendly name for your logical A (bin, shelf or etc.); required. +* Location B - The friendly name for your logical B (bin, shelf or etc.); optional. +* Location C - The friendly name for your logical C (bin, shelf or etc.); optional. + +If the storage location's A, B and C locations match another storage location, the add or edit will be rejected by the server. + image image -## Parts +#### Delete Area Storage Loction + +On the asset detail page, for area assets, the user can delete storage location from the bottom panel. The user will be required to confirm the deletion or cancel. On confirmation, the storage location and its stock will be deleted. + +image + +## Parts Page The parts page allows the user to add/edit/delete parts used for maintenance purposes on the equipment assets the CMMS keeps track of. Basic information can be entered about the part. Also, the user can add/edit/delete part inventory associated with a storage location of an area asset. -image +image + +### Add Part + +On the parts page, the user can create a new part used for maintenance. + +* Name - A friendly name for the part; required and must be unique. +* Description - A description about the part; optional. +* Category - The category for the part; optional. image +### Delete Part + +On the parts page, the user can delete a part. The user will be required to confirm the deletion or cancel. On confirmation, the part and its stock will be deleted. + +image + +### Part Detail Page + +On the parts page, the user can navigate to the part detail page where the user can view/edit the part and its inventory. + image +#### Edit Part + +On the part detail page, the user can edit the top panel which contains general information about the part. + +* Name - A friendly name for the part; required and must be unique. +* Category - The category for the part; optional. +* Manufacturer - Who creates the part; optional. +* Manufacturer Number - The identifier assigned by the manufacturer; optional. +* Model - The model of the part; optional. +* Make - The make of the part; optional. +* Description - A description about the part; optional. +* Obsolete - Marks if the part not be used anymore. + +#### Add/Edit Part Stock + +On the part detail page, the user can create new inventory at a storage location or edit the amount at an existing location from the bottom panel. + +* Storage Location - The location the part will be stored; only required and editable when adding new inventory. +* Amount - The number of parts stored at the location; zero or more than 0. + image image + +#### Delete Part Stock + +On the part detail page, the user can delete stock at a storage location from the bottom panel. The user will be required to confirm the deletion or cancel. On confirmation, the stock will be deleted at the storage location. + +image + +## Edit Conflict + +When two users are editing the same asset, storage location, part or stock at the same time, whoever submits first will win; the other user will be told to try again. + +image + diff --git a/TestProject/TestProject.csproj b/TestProject/TestProject.csproj index 5e356dd..ff6dc36 100644 --- a/TestProject/TestProject.csproj +++ b/TestProject/TestProject.csproj @@ -7,11 +7,11 @@ false true - 8.0.0 + 9.0.1 - +