just do it at first !!!
in first , design not too complex

Maybe to study python a bit more .

http://www.cnitblog.com/Files/zfly/thinkX.rar



                                                                         ----------------
 module0   ch0                                                  | rt point        |
 module1 ------> thread0 -|                                 | rt database   |
 module2                         |                                 | Int               |
                                       | ------> ProcX() ----> | Float            |
 module3   ch1                 |                                 | Long           |
 module4 ------> thread1 _|                                 | Bit               |
 module5                                                           / ----------------
                                                                       /    \
   ... ...                                           HMI->  ----|      \
                                                     Draw-> ----|       \- thread3 ( write rt database to hd database )
                                                     Explore->--|

------------------------------------------------------------------------------
1、完成利用template产生u16 ,i16 ,f32 ,f64等模拟量初步工作。
2、完成报警类型定义