当前位置:
文档之家› 基于LW—_OOPC框架显控系统RS422软件的设计封装及实现
基于LW—_OOPC框架显控系统RS422软件的设计封装及实现
董 湛 王念伟
( 中国航 空无线 电电子研究所 上海 2 0 0 2 3 3 )
摘 要
C语言在软件程序 开发人 员, 在某 些情况下 , 为 了更好地 组织代 码 ,
面 向对象 的设 计方式未 尝不是一个好 的选择 , 而L w— O O P C( L i g h t - We i g h t O b j e c t — O i r e n t e d P r o g r a mm i n g i n C ) 框 架却很 好地支持 了面
Ab s t r a c t
C l a n g u a g e p l a y s a d e c i s i v e r o l e i n e m b e d d e d s y s t e m d e v e l o p m e n t i f e l d .I n s o m e c a s e s ,o b j e c t — o r i e n t e d p r o g r a m m i n g m e t h o d
i m p l e m e n t t h e d e s i g n a n d e n c a p s u l a t i o n o f R S 4 2 2 c o m mu n i c a t i o n s o f t w a r e f o r i n t e r g a t e d d i s p l a y c o n t r o l s y s t e m( I D C S )o f a c e r t a i n t y p e o f
h e l i c o p t e r ,t h e d e s i g n s o l v e s t o a c e t r a i n e x t e n t t h e p r o b l e m o f d a t a t r a n s f e r d i s o r d e r c a u s e d b y n o n — s o f t wa r e ,a n d h a s p a s s e d t h e v e i r i f c a t i o n i n i t s s i mu l a t i o n l a b .Be s i d e s p r o v i n g t h e f e a s i b i l i t y o f t h e d e s i g n,t h e a d a p t a b i l i t y f o t h i s L W OOP C f r a me w o r k or f V x Wo  ̄s o p e r a t i o n s y s t e m
Do n g Zh a n Wa ng Ni a n we i
( C h i n a N a t i o n a l A e r o n a u t i c a l R a d i o E l e c t r o n i c s R e s e a r c h I n s t i t u t e , S h a n g h a i 2 0 0 2 3 3 , C h i n a )
P C框 架 适 用 于 V x Wo  ̄s 操 作系统。
关键词
L W_ O O P C R S 4 2 2 显制 系统 T P 3 1 1 文献标识码
V x Wo r k s 封 装 A
D O I : 1 0 . 3 9 6 9 / j . i s s n . 1 0 0 0 - 3 8 6 x . 2 0 1 4 . 0 3 . 0 6 1
第3 1卷 第 3期
2 0 1 4年 3月
计 算机应 用 与软件
Co mp u t e r Ap p l i c a t i o ns a n d S o f t wa r e
Vo 1 . 31 No . 3
Ma r .2 01 4
基于 L W— OOP C框 架 显 控 系统 RS 4 2 2软 件 的设 计 封装 及 实现
—
wo u l d b e a g o o d c h o i c e i f t h e s o f t wa r e p r o g r a m d e v e l o p e r s wo u l d l i k e t o o r g a n i s e s o f t w a r e c o d e b e t t e r ,a n d L W
中图分类 号
I M PLEM ENTI NG LW
—
oOPC FRAM EW oRK - BAS ED DI S P LAY AND CONTRoL S YS TEM
RS 4 2 2 S OFTW ARE DES I GN AND ENC AP S ULAT I oN
.
向 对 象的一些基本特 性。在 L W— O O P C的基 础上实现某型直升机 显控 系统( I D C S ) R S 4 2 2通信软件的设计及其封装。该设计 在一定
程度上解决 了由于非软件所引起的数据传输错乱 的问题 , 并在其仿 真实验 室通过 了验证 , 证 明此设 计的可行 性 , 也证 明此 L W— O O—
O O P C( 1 i g h t - w e i g h t o b j e c t ・
o i r e n t e d p r o g r a m mi n g i n C )f r a m e w o r k d o e s s u p p o r t s o me g e n e r a l o b j e c t — o i r e n t e d f e a t u r e s w e l 1 .I n t h i s p a p e r ,b a s e d o n L W— O O P C ,w e