Treat source files as text

This forces git to treat all *.cpp files in the T3000 folder as text,
even if they contain strange chinese characters .

Fix for ticket #23 mainfame.cpp showing as binary
Add unit test of modbus_read_one_value()

Since we are refactoring the code, we need unit tests to help ensure
that we do not break the code.  This starts by doing some basic sanity
tests on the code that reads a register from a modbus device.
Fance  commit test

Fance  commit test
Add CM5 To T3000

1.add the new module cm5 to t3000
2.the table of cm5 in t3000.mdb is the register of cm5
fix some warning
Fix some ParameterDlg Edit don't support T6 T7

ParameterDlg Time edit and Override time edit don't support TSTATS6 7.
Modify the code to support it.
Finish CM5   Table

1.output table
2.Sub Tstat Table
3.DI Table
4.AI Table
instrcution:
1.digit Value ,Double click can change it
2.combox change the Range Value
Merge remote-tracking branch 'upstream/master'

Conflicts:
	T3000 Output/release/Database/t3000.mdb
	T3000/CM5/DialogCM5.cpp
	T3000/T3000.rc
	T3000/resource.h
redo fix for absolute path for include

Alex fixed this problem in commit 521f86e

For some reason, when I synced my fork the fix did not get carried over.
I cannot see why. I have checked the upstream repo master branch and the
fix is present. Some horrible glitch on git?
Fix error handling from modbus_read_one

This is for ticket #33

Essentially this cherry picks the changes to CMainFrame::RefreshTreeView
from a098d47 that were partially
over-written and restores them
Refactor read multiple registers

Problems with the previous code:

*  No documentation
*  Input and output parameters mixed together
*  Bits of dead code commented out
*  Useless delay
*  Global counters increment as side effect of formats
*  Status message created in different places and then often discarded
Fix documentation mistake
Fix CM5's Problems

1.Add Refresh Button
2.Move Enable From output table to DI Table
3.Fix the show problem of Display Editor(10 Editors controls)
unit test write_one() thread safety

I have moved the write_one() code and removed some dead code so that it
can be conveniently unit tested, but otherwise I have not refactored (
yet! )

This is to help the discussion of ticket #40
Merge pull request #1 from temcocontrols/master

update from temco
Change CM5.cpp from Unicode to ANSI

Change CM5.cpp from Unicode to ANSI
test

test
Merge pull request #42 from ALEXLCC/master

Fix the CM5 bug and Add fresh function
Merge pull request #38 from JamesBremner/ticket_33_v2

Ticket 33 v2
Merge pull request #41 from JamesBremner/refactor_read_multi

Refactor read multi