首页> 外国专利> A DISPLAY METHOD OF GUI'S ICONS OF SYNCHRONOUS OPTICAL TRANSMISSION EQUIPMENT USING TIME INTERVAL AND RGB COLOR TONE RATIO

A DISPLAY METHOD OF GUI'S ICONS OF SYNCHRONOUS OPTICAL TRANSMISSION EQUIPMENT USING TIME INTERVAL AND RGB COLOR TONE RATIO

机译:基于时间间隔和RGB色彩比例的GUI光学传输设备GUI图标的显示方法

摘要

PURPOSE: A method for displaying an icon of a user interface for a synchronous optical transmission device is provided to increase the reliability of a system by changing a static and simple user interface graphic screen into a soft and dynamic screen, thereby notifying a user that a system is monitored and controlled in real time. CONSTITUTION: A user interface initializes a connection of an X toolkit and X display needed to make a relevant icon, and generates Top Level Window(11). A relevant BLINK_COLOR and a BLINK icon are generated(12). A timer to a BLINK_INTERVAL is set(13). It is judged whether an event is generated in the user interface(14). It is checked whether the event is an event to BLINK_INTERVAL timer(15). If a timer event is generated, an RGB tonality rate is changed into a percentage, and an RGB shading rate is calculated(16). A BLINK_COLOR value is respectively set(17). A time factor of a BLINK_PERIOD is calculated using the remainder operator(18). A timer to the BLINK_INTERVAL is set(19).
机译:目的:提供一种用于显示用于同步光传输设备的用户界面的图标的方法,以通过将静态和简单的用户界面图形屏幕更改为软和动态屏幕来提高系统的可靠性,从而通知用户系统受到实时监控。组成:用户界面初始化X工具​​箱和X显示器的连接,以制作相关图标,并生成“顶层窗口”(11)。生成一个相关的BLINK_COLOR和一个BLINK图标(12)。 BLINK_INTERVAL的计时器已设置(13)。判断在用户界面(14)中是否产生事件。检查该事件是否是BLINK_INTERVAL计时器(15)的事件。如果生成了计时器事件,则将RGB音调速率更改为百分比,然后计算RGB阴影率(16)。分别设置一个BLINK_COLOR值(17)。使用余数运算符(18)计算BLINK_PERIOD的时间因子。 BLINK_INTERVAL的计时器已设置(19)。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号