Dungyichao / PC_IP_Management

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project: IP Management Application

There are many PC in the factory which makes the IP management difficult. So I made a small application to better manage the IP. The following paragraph will demonstrate the function of this application

Fresh Start and Create DataBase

GIF 1. Fresh start and create database.

  1. Start up screen: If this is the first time you use this application, there is the “First Time” button to set up the database connection. If you’ve set up the connection before, the application will malfunction this button. The application will detect the text file in your C drive (C:\IPWizard\info\databaseInfo.txt) and make connection based on the information you provided previously.

Image 1. Log In Page

  1. First Time: Key in the IP address, login ID, password which database you want to connect with. If there is no database which store the ip data, then just simply click the “add new database” and new account ID and password for the new IP database.

Image 2. Connect to server and use exist database and table.

Image 3. Connect to server and created database and table.

  1. Main Menu: After you login or set up the first time, you will enter a main menu which displaying all the information of each working station showing in image 5 or showing nothing in image 4 if you haven’t key in any information yet.

Image 4. Main menu with fresh start.

Image 5. Main menu with exist database and table.

Add Data to DataBase

GIF 2. Add some data to database.

  1. Setting: In the setting button, you can add user or add department group.

Image 6. Setup user or Department / Group.

  1. Add Department Group: You can add new department or group by clicking the Add button showing in image 7. You can also edit or delete certain department or group by clicking the row in the data table and click Edit or Delete button. The data will be automatically appears in the text box for you to edit. Simply click Confirm button to save the data. Only the department key in here can the main menu and edit menu find the department name. Department’s Flag will be assigned as “D”. 172’s Flag will be assigned G while 192’s Flag will be assigned F.

Image 7. Setup Department or Group.

Add PC and IP to Database

GIF 3. Add PC and IP data to table.

  1. Add: You can add new PC by clicking the Add button in Main Menu (image 5). When you key in the IP, the application will automatically show Good sign if the IP address is not in the database or Used sign otherwise. You can click Ping button to Ping the address. Good sign means the ping is failed (no terminal under this IP address). You can click Get button to get an unused IP after entering the second and the third part of IP address and the application will fill in the fourth part of IP address for you. Some working station requires 2 IP address due to two networking cards. Usually, IT set the fourth part of IP the same in both 172 and 192, then you can simply click the “Similar” checkbox and then click “Get” button for 192. Some working station allows the used IP for 192 due to no connection to the Ethernet, so you can click the “Allow Duplicate” button to avoid application blockage for duplicate IP address appearing in the database. Click “Confirm” to save the data.

Image 8 Add PC, IP and other information.

Edit PC and IP to Database

GIF 4. Edit PC, IP and other data to in the selected row.

GIF 5. Delete PC, IP and other data of the selected row.

  1. Edit: You can edit the pc information by clicking on the working station you want to modify and click Edit button in the main menu. The original data will show in the top of the screen and displaying in the text box for you to modify. Click “Confirm Edit” when you finish editing and save data.

Image 9. Edit PC, IP and other information.

About