Remove extern_function

The source file was not compiled due to a preprocessor switch and the
header file was included nowhere.
Remove EnumSerialPorts()

Used nowhere, was replaced by GetSerialComPortNumber1
Remove commented out version of GetTempUnit
Remove  is_a_float_str

Not used anywhere
Remove get_unit_a_str

Not used anywhere
Remove button_load_bitmap

Not used anywhere
Remove message_box_function()

Not actually used anywhere.

One call in some code that is not compiled - I have replaced it there
with the windows API call it was wrapping.
Remove Get_SerialNumberA

Not used anywhere
Remove clear_a_char_array

Not used anywhere
Remove judgement_file_or_path_exist

Not used anywhere
remove SetPaneCommunicationPrompt

Not used anywhere.

Multiple commented out calls in MainFrm.cpp only, so I have commented
this out and moved it to that file.
Remove get_units_from_now_range

Not used anywhere
Remove delete_folder

Not used anywhere
Remove 3 unused format conversions
Remove unnecessary include of MainFrm.h

globle_function.cpp now compiles cleanly without generating any warnings
Ver2.6.0.0,  released:  2013/4/19

Ver2.6.0.0,date released:  2013/4/19

<1>fix a bug which the boud rate changed to 9600 accidentally.
<2>Add T3000RegAddress. Changed the architecture of the register
table.Create two register table in t3000.mdb which include all TSTAT
product register list.The T3000.exe will load this value by runtime,
instead of compiling.
<3>Modify sevral error in ParameterDlg ,the changed can also support
tstat6 and tstat7
<4>Make the program run more smoothly when user click refresh in
OutPutDlg and  InputSetDlg ,it will no longer appear noresponse.
<5>Change InputTable set dialog .It can change the Input name and then
save to DB.
<6>Add HumChamber dialog.
<7>Merge function  "Refresh" and "Refresh6" in ParameterDlg.
<8>Change the global variable read tstat buffer size from 512 to 1024.
Refactor read_one_rog()

What was wrong with the old version?

1.  The return value was BOTH an error flag and the value read from the
device.  This is terrible practice, resulting in the calling code
treating the return value sometimes as an error flag, sometimes as a
read flag - very confusing and error prone

2 Dead code.  The communications type was checked, but nothing was done
with the check, serial or tcp

3. The critical section was locked using an unreliable method that can
leave the section permanently locked and hanging the application.

4.  Spaghetti code.  The status message is formatted in three different
places.  In one of these places, almost unnoticeable, the return count
was incremented.

5.  A status message is formatted even when the routine is running in a
worker thread and so the message will be discarded.

6.  Sparse and incomprehensible documentation.
13.4.22 Update

1>delete code in MainFrm.cpp which change the Baud rate to 9600
unpredictable .
2>Modify the code in ParameterDlg.cpp,fix  some of the "Edit" and
"ComboBox" don't surpport TSTAT6 7.
3>delete useless function in T3000RegAddress.cpp
4>Open warning in stdafx.h