付费计量系统通用功能(14)

11.18 Function_Object功能目标

11.18.1 Function_Object definition功能目标定义

        A Function_Object is an abstract notation of defining the attributes of a function.
        功能目标是一个抽象的功能属性的定义
        Definition of a function object should state at least the following attributes.
        功能目标的定义应该用以下属性进行说明
        Table 8 – Attributes of the Function_Object 表8功能对象属性


Name名称

        Name of the function object as a key attribute
        功能对象的名称是关键属性

Class类型

        The generic classification number
        通用分类号

Data_Elements数据单元

        Data elements that are operated on
        运行的数据单元

Methods方法

        External interface to data elements or to services that may be invoked
        对可以被调用的服务或数据单元的外部接口

Operation操作

        What the function does or what its purpose is
        功能是什么或功能的作用是什么

Association联系

        Other functions it calls on or processes it invokes
        调用其他功能或过程

11.18.2 Function_Object example功能对象举例

        An abbreviated example of a Real_Time_Clock function object is shown in the table below.
        下面是一个实时时钟的功能目标的举例
        Table 9 – Example of a Real_Time_Clock function object



Name名称
        Real_Time_Clock实时时钟
Class类别
        := 12; belongs to the generic class of Time function
        属于时间功能的通用类型

Data Elements数据单元

Time时间
        Local time: hours, minutes, seconds, hundredths
        当地时间:小时、分钟、秒、
Date日期
        Local date: year, month, day of month, day of week
        当地日期年、月、日、星期
Time_Zone时区
        Deviation of local time to GMT in minutes
        当地时间与GMT的偏差
Daylight_Saving_Start夏令时开始
        Date when local time shifts by the deviation
        开始夏令时
Daylight_Saving_End夏令时结束
        Date when local time shifts back to normal
        当地日期回到正常日期
Daylight_Saving_Deviation夏令时偏差
        Deviation of daylight saving time in minutes
        夏令时的偏差
Daylight_Saving_Enabled夏令时使能
        Enable or disable daylight saving function
        使用或不使用夏令时功能

Methods方法

set_Date_Time()设置日期时间
        Sets the date, time and time-zone parameters in the meter
        在表计中设计日期、时间、时区参数
get_Date_Time()读日期时间
        Returns the date, time and time-zone parameters in the meter
        读表计中的日期、时间和时区参数
display_Date_Time显示日期时间
        Displays the date, time and time-zone parameters on the meter display
        在表计上显示日期、时间、时区参数
set_Daylight_Savings()设置夏令时
        Sets the start, end, deviation and enables parameters in the meter
        在表计中设置开始、结束、偏离和使能参数
get_Daylight_Savings()读夏令时
        Returns the start, end, deviation and enables parameters in the meter
        读表计中开始、结束、偏离和使能参数
display_Daylight_Savings显示夏令时
        Displays the start, end, deviation and enables parameters on the meter display
        在表计上显示开始、结束、偏离和使能参数

Operation运行

Date management日期管理
        Maintains date information and makes it available to other functions
        维护日期信息,使其在其他功能中使用
Time management时间管理
        Maintains time information and makes it available to other functions
        维护时间信息,使其在其他功能中使用
Time-zone management时区管理
        Manages time adjustments to compensate for time-zones
        调整时间,满足时区的需要
Daylight savings management夏令时管理
        Manages time adjustments to compensate for daylight savings requirements
        调整时间满足夏令时的需要

Association联系

Display function显示功能
        Submits values to be displayed when invoked by the display_Date_Time and display_Daylight_Savings methods
        当调用显示日期时间和显示夏令时时,提交该值用于显示
Recording function记录功能
        Submits values to be recorded when invoked by the set_Date_Time() and set_Daylight_Savings() methods
        当调用设置日期时间和设置夏令时时,提交该值用于记录
Data_Exchange function数据交换功能
        Returns values to be exchanged when invoked by the get_Date_Time() and
get_Daylight_Savings() methods
        当调用读取日期时间和读取夏令时时读取该值用于数据交换。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值