← Portfolio

Electrical Equipment Information Management Desktop App

Windows desktop application for creating, managing, and exporting electrical testing reports for Can Tho Power Corporation (PCCT). Connects to the RESTful API Backend to fetch construction and equipment data, then generates Word (.docx) reports and Excel (.xlsx) exports for testing staff.

Context: Desktop client of the electrical testing digital transformation ecosystem — complements the cloud-based API backend.

Overview

Electrical Equipment Information Management Desktop App is a Windows desktop application for creating, managing, and exporting electrical testing reports for Can Tho Power Corporation (PCCT). It connects to the RESTful API Backend to fetch construction and equipment data, then generates Word (.docx) reports and Excel (.xlsx) exports for testing staff.

The application is the desktop client of the electrical testing digital transformation ecosystem, complementing the cloud-based API backend. It provides an intuitive interface for field staff to search, manage, confirm test data, and export official reports and certificates.

Main Features

Module Description
LoginAuthentication via employee ID and password against backend API (UserAPI). Optional save username/password. Loads library data on startup.
Search & ViewQuery construction by month/year, equipment pending confirmation. DevExpress Grid, search/filter, column customization, footer summary.
ManagerAdd/edit construction (name, address, management unit, equipment list, status, staff). Equipment per construction grid. Save via ConstructionAPI and EquipmentAPI.
Create ReportCreate test reports (BBTN), inspection reports (BBKD), certificates (GCN). Export to Word (.docx) via DocX. Loads templates from backend storage.
Export Data by MonthSelect month/year, query construction and equipment from backend, export to Excel (.xlsx) in bulk via EPPlus. Periodic reporting, backup, analysis.

Technology Stack

Category Technology
LanguageC#
Framework.NET Framework 4.7.2
UIWindows Forms, DevExpress v22.2 (XtraEditors, XtraGrid, XtraLayout, XtraPrinting)
HTTP ClientSystem.Net.Http
JSONNewtonsoft.Json
Word exportDocX (Xceed.Words.NET)
Excel exportEPPlus
Backend APIRESTful API Backend (Can Tho Power)
StorageAzure Blob Storage (report templates)

System Architecture

The desktop application connects to and queries data from the API Backend of the electrical testing project (RESTful API Backend – Can Tho Power). It sends and receives construction, equipment, user, and file data over HTTP; report templates are loaded from backend storage as needed.

Project Structure

Views: Login_Form, Search_Form, Manager_Form, CreateBBTN_Form, ExportDatMonth_Form.

Services: ConstructionService (ConstructionAPI), EquipmentService (EquipmentAPI), UserService, MediaService, Config, AppSettings, UtilityService.

Models: Construction, Equipment, Document (test report), User.

Main Data Models

Construction, Equipment, Document (test report), User.

Screenshots

Screen flow: Login → Search (construction & equipment) → Manager (edit) → Create Report (Word) → Export Data (Excel).

1. Login

Login — Employee ID and password

Login screen — Employee ID and password.

2. Search — Construction list

Search — Construction by month/year, equipment list

Search form — Construction projects by month/year and equipment pending confirmation.

3. Manage Construction information

Manage Construction information

Manage Construction information.

4. Manager — Construction and equipment

Manager — Add/edit construction and equipment

Manager form — Add/edit construction info and equipment per construction.

5. Monitor image from workers onsite

Create Report — BBTN/BBKD/GCN Word export

Monitor image from workers onsite.

6. View actual field data and images from site

Export — Bulk Excel by month

View actual field data and images from site.

7. View electrical measurement equipment data and photos from field

Construction and equipment data grid

View electrical measurement equipment data and photos from field.

8. Manage device data sent from the app

Report and export workflow

Manage device data sent from the app.

9. Export report

Export report — Word and Excel output

Export report — Word (.docx) and Excel (.xlsx) report output.

10. Project programming interface

Excel export result

Project programming interface.

11. VS programming interface — project UI design

Word report export result

VS programming interface — project UI design.