Skip to content

jmayer913/JMayer-Example-WebAssemblyBlazor

Repository files navigation

ASP.NET Core / WebAssembly Blazor Example Project

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 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

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

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

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

Packages

 
 
 

Contributors