Implementation of Percentage and Tiny Integer

Adding in new button to new class that derive specific calculation. Value in new class consist of percentage, which then been used in calculation of existing ViewModel classes. This class would appear as data grid combo box in main WPF application.

While I am at it, I faced an issue where class name is similar in other module. I am unable to add in new data to correct database table. All the data I saved in current module appears in database table of existing module. After some tests, I found out that both module crosslinked. I manage to make it function properly refactor class name and region name of new module.

Then, I was required to implement new attribute “IsReady” with tinyint(1) in config. It is use to signal other module that It is ready to be used. In ViewModel, I implemented a dialog to ask whether user want selected data ready to be used; under same button, it undergoes same process to undo the changes made. Button text would change based value of attribute in database:

i – (Repo) If bool IsReady = true || 1 (value in database)
(VM) button text shows “Undo Ready to Use”

ii – (Repo) If bool IsReady= false || 0 (value in database)
(VM) button text shows “Ready to Use”

The button alter between (i) and (ii) whenever IsReady is successfully updated to the database.

Getting Started with Small Portion of Project Source Code

As I went through some learning material that will be use in upcoming project, I am given an introduction towards an on-going project beginning with understanding the business logic behind the project.

After I was given the source code, I learnt about Docker, a set of platform that uses OS-Level virtualization to deliver software in packages called as containers. It allows me to run an image of database and connect to it without having the database install locally. In order to connect to the database of the project, I need to invoke an command in Docker to start the image before I can run the project smoothly, then, connect to database using Docker’s IP address and port.

As I done with connecting to database, I begin to play around and perform some unit testing. Then, I was taught how to drop certain column, perform migration process between project and database after add in a new column to store new set of data.

Lastly, I was given a task to disable a button click over certain condition. I felt hard and still unable to complete my given task. I believe it is still due to me lack of experience and knowledge, but I still working on it until I manage to complete the task given.