/****************************************************************************************************************************************************************/
/*  iAir Utility                                     														*/
/*  	For DL, CL and DLW series data logging and monitoring 													*/
/*	[iAir Utility requires .Net Framework 4.6.1 or later]													*/
/*																				*/
/*  Support Modules																		*/
/*	DL-10/DL-100 Series																	*/
/*		DL-100-T485, DL-100TM485, DL-100TM485S, DL-100TM485S-W, DL-100TM485PS, DL-100TM485PS-W 								*/
/*		DL-100S-E, DL-100S-E-W, DL-101S-WF, DL-101S-E, DL-101S-E-W, DL-110S-E, DL-110S-E-W, DL-111S-WF, DL-120-E, DL-120-E-W				*/
/*	DL-300 Series																		*/
/*		DL-301, DL-301-WF, DL-301-IP65, DL-301-WF-IP65, DL-302, DL-302-WF, DL-302-IP65, DL-302-WF-IP65, DL-303, DL-303-WF, DL-303-IP65, DL-303-WF-IP65 	*/
/*		DL-305-IP43, DL-305-WF-IP43
/*	DL-1000 Series																		*/
/*		DL-1020, DL-1022, DL-1023, DL-1025, DL-1038, DL-1050 											 	*/
/*	CL-200 Series																		*/
/*		CL-201-E, CL-201-WF, CL-202-E, CL-202-WF, CL-203-E, CL-203-WF, CL-204-E, CL-204-WF, CL-205-E, CL-205-WF, CL-206-E, CL-206-WF,			*/
/*		CL-207-E, CL-207-WF, CL-208-E, CL-208-WF, CL-210-E, CL-210-WF, CL-211-E, CL-211-WF, CL-212-E, CL-212-WF, CL-213-E, CL-213-WF, 			*/
/*		CL-223-E, CL-223-WF, CL-250-E		       													*/
/*	DLW Series																		*/		
/*		DLW-1023, DLW-1100, DLW-1120, DLW-1200, DLW-1243												*/
*/																				*/
*/	For more details, please prefer to our website  													*/
*/	https://www.icpdas.com/en/product/guide+Software+Utility_Driver+iAir__Utility#3200									*/
/****************************************************************************************************************************************************************/
------------------------------------------------------------------------
Version: 2.1.4 [2025/4/15] by Jeffery
	NEW
		Support DL-305-IP43 module.
		Now the alarm speech voice will change accroding to language. If user didn't install the speech language, will use default(English).
		Now user can edit group name.
		Add Airboard Page, user can see the Airboards with value and alarm values of each device.
		Add MySQL web search (iAir Query), please prefer to php_web/How To Setup iAir Query Page for PHP Web.pdf in the iAir Utility installtion folder.
		Add MySQL search in Trend page.
		Add Accumulated Precipitation in Trend page.
		Add High Alarm Value and High High Alarm Value in Query Trend.		
		Add Humidity Alarm.
		Add German to the language.
	Adjustment
		Bug fixed : The DL-100S-WF cannot read values correctly.
		Bug fixed : The Sealevel trend value is not displayed correctly.
		Bug fixed : User can change the order of trends causes the color display of the trend to be incorrect.
		Bug fixed : The select plots is not displayed correctly in languages except English and Traditional Chinese.
		Bug fixed : The columns in List page may display incorrectly after change Alarm Settings.
		Bug fixed : The Alarm States of Windspeed is incorrect.
		Bug fixed : Change the font that cannot display Korean correctly to the correct one.
		Bug fixed : The notifyIcon will not close correctly after iAir Utility is closed
		Changed : Remove the exit button from menu and return it to its original position.
		Changed : Change the icon of minimize button.
Version: 2.1.3 [2024/11/1] by Jeffery
	NEW
		Support DLW-1100, DLW-1120 modules.
		Now Utility will set query start time and end time after read log into database(.mdb file), making the query more convenient. And if the device already has a database when adding device, Utility will also set query start time and end time.
	Adjustment
		Bug fixed : The DL-100S-E and DL-101S-E modules cannot read logs correctly
		Bug fixed : Utility did not set device time and set datalogger to run when adding new devices with Search COM Port Device and Add Device.
		Bug fixed : Utility starts slowly due to the set device time when Utility is started will cause the COM Port to be reset.
Version: 2.1.2 [2024/10/23] by Jeffery
	Adjustment
		Bug fixed : It takes too long to query the first date data due to the problem of query syntax.
		Bug fixed : The DL-100S-E and DL-101S-E modules cannot add to list and read logs correctly.
		Bug fixed : Utility will crash if user add DL-302 module.
		Bug fixed : The dew point temperature text cannot be displayed correctly after change the language.
		Changed : Change the colors in trend because some colors are too light.
Version: 2.1.1 [2024/10/14] by Jeffery
	NEW
		Support DL-1025 module.
		Now user can see the alias name and group after search ethernet devices.
		Now user can edit connection settings after search etherner devices.
		Now user can set device's ip automatically after search etherner devices if the device has different subnetwork than user's pc.
	Adjustment
		Bug fixed : Sometimes after user select device in Query page, the first record of date may be incorrect.
		Changed : The Clear/Trend/Export buttons in Query page will be enabled after search and data exits, will be disabled after claer.
		Changed : The Firewall Rules are now set automatically during installation.
		Changed : The exit button is moved to menu and user can also minimize Utility with menu.
Version: 2.1.0 [2024/09/09] by Jeffery
	NEW
		Now the columns settings can be changed by right-clicking on the column headers.
		Now user can choese whether to enable Alarm Trigger Sounds.
	Adjustment
		Bug fixed : The method of determining whether to read data from the beginning is incorrect.
		Changed : Cancel the text displayed in the header whether to display the values of module on trend page.
		Changed : Change the text color of the alarm value from white to black.
Version: 2.0.9 [2024/06/14] by Jeffery
	NEW
		Add Users Administrator/Guest(default:Administrator). Guest can't use Device Maintenance.
		Add Alarm Trigger Sounds. Utility will play sounds when values is over high alarm/high high alarm.
		Add Temperature Unit switch. User can switch temperature unit to ˘XC/˘XF in system settings.
		Add languages (Indonesian, Japan, Korea, Russian, Thai, Vietnamese).
		Add Connected devices view. User can see the numbers of connected devices.
	Adjustment
		Bug fixed : Sometimes an error may occur when user click OK button after searching Ethernet devices since the OK button may dispose the search page immediately.
		Bug fixed : User can't delete or edit connection setting of iKAN due to iKAN does not support tGW setting.
		Bug fixed : Auto update log data everyday was always run at 0:00 a.m..
		Bug fixed : Auto set time was always run at 0:00 a.m. ~ 0:59 a.m..
		Bug fixed : User can change settings of plots by right-clicking.
		Bug fixed : Sometimes after user search data from database, the last record of data may be incorrect.
		Changed : The number of devices is limited (up to 8 devices).
		Changed : Group page is integrated into List page.
		Changed : If user click the exit button, Utility will be minimized(hide) without asking. User can close Utility from the taskbar notification area.
		Changed : User can select and display multiple plots (up to 4 plots) in Trend page.
		Changed : User can change the plot display range by buttons.
		Changed : Device Settings renamed to Device Maintenance.
		Changed : Search Devices (Ethernet/COM Port), Add Device and Device Maintenance are integrated into Add Device.
		Changed : Utility will set the time and set datalogger to run when adding new devices.
		Changed : Remove the check whether user want to run read log data everyday, Utility will run everyday at the selected time. The time display a.m. and p.m..
		Changed : Add instructions for read total numbers of log records in device, and user can see the time to run read log data everyday in Update Database page.
		Changed : Alarm Settings separate from System Settings.
		Changed : Add time field at Alarm page.
		Changed : When user select device in Query page, if there is no data in database, Utility will show message and disable buttons.
Version: 2.0.8 [2023/11/27] by Jeffery
	NEW
		Support CL-204-E, CL-207-E modules.
		Support HCHO Alarm and HCHO Alarm.
	Adjustment
		Bug fixed : The process of update log data to MySQL everyday won't stop.
		Bug fixed : When user add modules at Add Device, if the lenth of IP Address is different from other modules, Utility will close.
Version: 2.0.7 [2023/11/07] by Jeffery
	Adjustment
		Bug fixed : Utility can not connect to MySQL versions after 8.0.29, now use MySQL.Data.dll as version 8.0.29.
		Bug fixed : If switch to the query page without a moudle, Utility will crash.
		Bug fixed : The System Setting window will not be adjusted according to the screen.
Version: 2.0.6 [2023/11/02] by Jeffery
	Adjustment
		Bug fixed : Utility only read the first 20 new log data from DL-302.
		Bug fixed : Utility will close when Utility can not read the culture infomation, now a messagebox will pop up when Utility can not read the culture information.
Version: 2.0.5 [2023/09/15] by Jeffery
	NEW
		Support DLW-1023, CL-223-WF modules.
		Support Sea Level Alarm and Illuminance Alarm.
	Adjustment
		Bug fixed : The values of DLW series and DL series in device status, group status and warning status is not correct.
		Bug fixed : Utility will crash when query the values in database exceeds the range of Int32.
Version: 2.0.4 [2023/07/20] by Jeffery
	NEW
		Support CL-202-E, CL-205-E, CL-208-E, CL-210-E modules.
	Adjustment
		Bug fixed : If user didn't select update MySQL, the read log process will still run MySQL connection test.
		Bug fixed : User can't add modules connected via WAN.
		Bug fixed : If user tries to read the total number of log data or clear the log data from a offline module, the Utility will close.
		Bug fixed : The sockets of modules will not be closed after iAir Utility is closed.
		Changed : Remove the text "Only" in query settings.
		Changed : The columns in list will not only change according to the system settings but also according to modules.
		Changed : Change the select style in Trend page.
		Changed : Change the texts in Query page and Readlogs page.
Version: 2.0.3 [2023/05/25] by Jeffery
	Adjustment
		Bug fixed in list, alarm and query.
Version: 2.0.2 [2023/04/21] by Jeffery
	NEW
		Add set device(web) for ethernet devices.
	Adjustment
		Bug fixed in search COM port devices.
		Bug fixed in read log.
Version: 2.0.1 [2022/11/11] by Jeffery
	Adjustment
		Bug fixed in the polling modules.
		Bug fixed in the read logs.
Version: 2.0.0 [2022/11/4] by Jeffery
	NEW
		Change name from "DL-300 Utility" to "iAir Utility".
		Support DL-110-E, DL-120-E, DLW-1200, DLW-1243 modules.
		Support device connect with tGW.
		Add column settings.
		Add time set every day settings.

	Adjustment
		Bug fixed in the query.
Version: 1.5.9.4 [2022/02/23] by Jeffery
	Adjustment
		Bug fixed in the ReadLog.
Version: 1.5.9.3 [2021/07/01] by Jeffery
	Adjustment
		Bug fixed in the ReadLog and Query export.
Version: 1.5.9.2 [2021/06/24] by Jeffery
	Adjustment
		Bug fixed in the Query export.
Version: 1.5.9.1 [2021/03/25] by Jeffery
	Adjustment
		Bug fixed in the Device and iKAN polling.		
		Bug fixed in the ReadLog.
Version: 1.5.9.0 [2021/03/18] by Jeffery
	NEW
		Add Error Logs.
		Add Polling time setting.
		Add Timeout setting.
		
	Adjustment
		Bug fixed in the ReadLog.
		Bug fixed in the MRTU.
Version: 1.5.8.5 [2021/03/11] by Jeffery
	NEW
		Support CL-250, DL-1050 modules.
		
	Adjustment
		Bug fixed in the Database Warning.

Version: 1.5.8.4 [2021/02/03] by Jeffery
	NEW
		Support CL-201-E, DL-1023, DL-1020, DL-1022, DL-1038 modules.
		Support 

Version: 1.5.8.3 [2019/12/20] by Jeffery
	Adjustment
		Bug fixed in the negative temperature and dewpoint.
		Bug fixed in the System Setting.
Version: 1.5.8.2 [2019/08/27] by Jeffery
	NEW
		Add time set function.
		Add log records and clear logs in update database.
	Adjustment
		Bug fixed in the List and Query.
Version: 1.5.8.1 [2019/06/28] by Jeffery
	NEW
		Support CL-206 module.
	Adjustment
		Bug fixed in the Alarm.
Version: 1.5.8.0 [2019/03/14] by Jeffery
	NEW
		Support other modules logged data to MySQL.
		Support iKAN modules.
	Adjustment
		Bug fixed in the Trend Time.
		Bug fixed in the Upload log data.
Version: 1.5.7.1 [2018/09/14] by Jeffery
	NEW
		Support Update DL-302 logged data to MySQL.
Adjustment
		Upgrade .NET Framework version to 4.5.2.
Version: 1.5.7 [2018/05/25] by Jeffery
	NEW
		Support DL-303-WF and DL-303-BLE module.
	Adjustment
		Bug fixed in the ReadLogs.
		Bug fixed in the System Settings.
Version: 1.5.6 [2018/04/24] by Jeffery
	NEW
		Support DL-100-T485 module.
Version: 1.5.5 [2018/02/26] by Jeffery
	NEW
		Support DL-100-TM485 module.
Version: 1.5.4 [2018/02/07] by Jeffery
	NEW
		Support CL-203-E module.
	Adjustment
		Modify delay time betwween poll.
Version: 1.5.3 [2017/12/13] by Jeffery
	NEW
		Support DL-100-E module.
Version: 1.5.2 [2017/11/27] by Jeffery
	NEW
			Support DL-101-E module.
Version: 1.5.1 [2017/05/12] by Renee
	NEW
		Support CL-211-E,CL-212-E,CL-213-E modules and CL-211,CL-213 modules.
	Adjustment
		"Add Device" - Ethernet: add slave ID and TCP Port fileds.
		"Edit Device": add slave ID, TCP Port, COM port settings fields.
Version: 1.5.0 [2017/02/23] by Renee
	NEW
		Support "Add Device" by manual input.
	Adjustment
		Modify the "Search Ethernet Device" by using uSearch.dll to search and the dll support search
		for more than one Netwirk Interface Card.
		Add "Module Name" to "Devic Settings" column.
		Add "Connecting" status to Connect Status column.
		Shows "Error" in "Connect Status" colume if Modbus TCP or other errors happen. 
		Update language files to version 1.5.0.
Version: 1.4.0 [2016/07/13] by Renee
	NEW
		Support the CL-212 module.
	Adjustment
		Modify the format of time in trend chart. Change from HH:mm:ss to HH:mm.
		Modify the time format to "yyyy/MM/dd HH:mm:ss" when exporting csv files.
		Update language files to version 1.4.0.
		Bug fixed in the Alarm panel.
Version: 1.3.0 [2015/11/06] by Renee
	NEW
		Support Modbus RTU connection.
		Support Trend displays current value.
Version: 1.2.0 [2015/07/31] by Renee
	NEW
		Support DL-301 data logger.
	Adjustment
		Modify the format of time in trend line change to 24 hour format.
		Modify some describe in language files.
		After deleting a group, the devices in the group will be moved to default.
		When a dvice is offline, the value to display is "error".
		When click the X button to exit the application, a message box will show to confirm.
Version: 1.1.1 [2015/02/24] by Renee
	NEW
		Support DL-303 data logger.
		Support transform query result into trend line.
Version: 1.1.0 [2014/10/27] by Renee
	NEW
		Support multiple language interface.
Version: 1.0.0 [2014/06/26] by Mac
	NEW
		Support UDP search to add DL-302.
		Support data monitoring by list all or group.
		Support trend line.
		Support data logging with ACCESS database.
		Support CO2, temperature high alarm and high high alarm.