CN106383803B - Temperature treatment method and device - Google Patents

Temperature treatment method and device Download PDF

Info

Publication number
CN106383803B
CN106383803B CN201610791045.4A CN201610791045A CN106383803B CN 106383803 B CN106383803 B CN 106383803B CN 201610791045 A CN201610791045 A CN 201610791045A CN 106383803 B CN106383803 B CN 106383803B
Authority
CN
China
Prior art keywords
temperature
fahrenheit
celsius
flag bit
fahrenheit temperature
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610791045.4A
Other languages
Chinese (zh)
Other versions
CN106383803A (en
Inventor
洪忠玮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201610791045.4A priority Critical patent/CN106383803B/en
Publication of CN106383803A publication Critical patent/CN106383803A/en
Application granted granted Critical
Publication of CN106383803B publication Critical patent/CN106383803B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/02Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators
    • G06F15/025Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators adapted to a specific application
    • G06F15/0258Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators adapted to a specific application for unit conversion

Abstract

The present invention provides a kind of temperature treatment method and device, and the discontinuous problem of Fahrenheit temperature, improves user experience when can be avoided set temperature.According to the first aspect of the invention, a kind of temperature treatment method is provided, comprising: generation step generates the temperature information of the corresponding relationship between instruction Celsius temperature and Fahrenheit temperature according to the transformational relation of Celsius temperature and Fahrenheit temperature;And step is obtained, continuous Fahrenheit temperature is obtained according to the temperature information.Temperature treatment method of the invention solves the problems, such as that Fahrenheit temperature is discontinuous when set temperature, ensure that the real-time and accuracy of data.

Description

Temperature treatment method and device
Technical field
The present invention relates to technical field of electric appliances more particularly to a kind of temperature treatment methods and device.
Background technique
The existing embedded product for having temperature setting function, can not only show Celsius temperature but also can show Fahrenheit temperature Degree.But under Fahrenheit temperature display interface, plus/minus set temperature is carried out by up-regulation/downward key, it may appear that Fahrenheit temperature variation Discontinuous situation.For example, repeatedly pressing up-regulation key, set temperature successively changes as ℉ -> 68 the ℉ -> 64 of 61 ℉ -> 63 ℉ -> 66 ℉->70℉.As it can be seen that its temperature change is discontinuous, and irregular (increase by 1 ℉ sometimes, sometimes plus 2 ℉), it is unfavorable for user's body It tests.
Some products respectively define one to solve the above problems, used scheme is, for Fahrenheit temperature and Celsius temperature Variable TF, TC periodically calculate TF by TC under Celsius temperature display interface;Under Fahrenheit temperature display interface, timing is logical It crosses TF and calculates TC.The problems such as real-time that the processing mode has conversion is poor, transformational relation is chaotic, and if existing in system more A temperature is easy to omit conversion.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of temperature treatment method and devices, when can be avoided set temperature The discontinuous problem of Fahrenheit temperature temperature, improves user experience.
According to the first aspect of the invention, a kind of temperature treatment method is provided, comprising: generation step, according to Celsius temperature With the transformational relation of Fahrenheit temperature, the temperature information of the corresponding relationship between instruction Celsius temperature and Fahrenheit temperature is generated;And Step is obtained, continuous Fahrenheit temperature is obtained according to the temperature information.
Further, the temperature information is the combination for including Celsius temperature and Fahrenheit temperature flag bit, Celsius using this Temperature and the Fahrenheit temperature flag bit obtain the continuous Fahrenheit temperature.
Further, the temperature information meets: when the multiple that centigrade value is 5, Celsius temperature is two corresponding Identical Fahrenheit temperature, but the Fahrenheit temperature flag bit is different;And
When centigrade value is not 5 multiple, the corresponding two different Fahrenheit temperature of Celsius temperature, and the Fahrenheit Temperature flag bit is different.
Further, when executing the Fahrenheit temperature and adding 1 ℉ or the ℉ operation that subtracts 1, in the acquisition step, according to described The similarities and differences of multiple and Fahrenheit temperature flag bit that whether Celsius temperature is 5 obtain continuous Fahrenheit temperature.
Further, execute the Fahrenheit temperature add 1 ℉ operate when, judge Celsius temperature whether the multiple for being 5, yes Words, then Celsius temperature adds 1;And/or
Execute the Fahrenheit temperature add 1 ℉ operate when, if Celsius temperature is not 5 multiple, further according to the China Family name's temperature flag bit, by Celsius temperature remain unchanged or add 1.
Further, when executing the Fahrenheit temperature ℉ that subtracts 1 operation, judge Celsius temperature whether the multiple for being 5, if being, Then Celsius temperature also subtracts 1;And/or
If Celsius temperature is not 5 multiple, further according to the Fahrenheit temperature flag bit, Celsius temperature is kept not Become or subtracts 1.
Further, the generation step further generates the temperature information table being made of the temperature information;And
The acquisition step obtains the Fahrenheit temperature by tabling look-up according to the temperature information table.
Further, the acquisition step is index with the Celsius temperature using temperature information table, and in conjunction with described Fahrenheit temperature flag bit is tabled look-up, to obtain the value of the Fahrenheit temperature.
According to the second aspect of the invention, a kind of temperature processing device is provided, comprising: generation module, according to Celsius temperature With the transformational relation of Fahrenheit temperature, the temperature information of the corresponding relationship between instruction Celsius temperature and Fahrenheit temperature is generated;And Module is obtained, continuous Fahrenheit temperature is obtained according to the temperature information.
Further, the temperature information is the combination for including Celsius temperature and Fahrenheit temperature flag bit, Celsius using this Temperature and the Fahrenheit temperature flag bit obtain the continuous Fahrenheit temperature.
Further, the temperature information meets:
When the multiple that centigrade value is 5, the corresponding two identical Fahrenheit temperature of Celsius temperature, but the Fahrenheit temperature It is different to spend flag bit;And
When centigrade value is not 5 multiple, the corresponding two different Fahrenheit temperature of Celsius temperature, and the Fahrenheit Temperature flag bit is different.
Further, when executing the Fahrenheit temperature and adding 1 ℉ or the ℉ operation that subtracts 1, the acquisition module is taken the photograph according to The similarities and differences of multiple and Fahrenheit temperature flag bit that whether family name's temperature is 5 obtain continuous Fahrenheit temperature.
Further, execute the Fahrenheit temperature add 1 ℉ operate when, judge Celsius temperature whether the multiple for being 5, yes Words, then Celsius temperature adds 1;And/or
Execute the Fahrenheit temperature add 1 ℉ operate when, if Celsius temperature is not 5 multiple, further according to the China Family name's temperature flag bit, by Celsius temperature remain unchanged or add 1.
Further, when executing the Fahrenheit temperature ℉ that subtracts 1 operation, judge Celsius temperature whether the multiple for being 5, if being, Then Celsius temperature also subtracts 1;And/or
If Celsius temperature is not 5 multiple, further according to the Fahrenheit temperature flag bit, Celsius temperature is kept not Become or subtracts 1.
Further, the generation module further generates the temperature information table being made of the temperature information;And institute It states acquisition module and the Fahrenheit temperature is obtained by tabling look-up according to the temperature information table.
Further, the acquisition module utilizes temperature information table, is index with the Celsius temperature, and in conjunction with the China Family name's temperature flag bit is tabled look-up, to obtain the value of the Fahrenheit temperature.
The present invention through the above scheme, is believed by generating the temperature including Celsius temperature and Fahrenheit temperature corresponding relationship Breath, without being stored separately Celsius temperature and Fahrenheit temperature, saves memory space, the Fahrenheit when solving set temperature The discontinuous problem of temperature, without timing conversion Celsius temperature and Fahrenheit temperature, and algorithm is simple, and arithmetic speed is fast, protects The real-time and accuracy of data are demonstrate,proved.In addition, when using the software realization scheme of the invention, it can when in use It calls, consequently facilitating the general and transplanting of program.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And can be implemented in accordance with the contents of the specification, the following is a detailed description of the preferred embodiments of the present invention and the accompanying drawings.
Detailed description of the invention
The attached drawing for constituting a part of the invention is used to provide further understanding of the present invention, schematic reality of the invention It applies example and its explanation is used to explain the present invention, do not constitute improper limitations of the present invention.In the accompanying drawings:
Fig. 1 shows the flow chart of the method according to one preferred embodiment of the present invention.
Fig. 2 (a), 2 (b) show the flow chart for obtaining a preferred embodiment of step according to the present invention;Fig. 2 (a) Show the flow chart when executing Fahrenheit temperature and 1 ℉ being added to operate;And Fig. 2 (b) is shown when executing the Fahrenheit temperature ℉ that subtracts 1 behaviour Flow chart when making.
Fig. 3 shows the structural block diagram of temperature processing device according to one preferred embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with the specific embodiment of the invention and Technical solution of the present invention is clearly and completely described in corresponding attached drawing.Obviously, described embodiment is only the present invention one Section Example, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not doing Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
Fig. 1 is combined to describe temperature treatment method according to the present invention first, this method can be used for any with temperature The electric appliances such as the electric equipment products, such as refrigerator, air-conditioning and washing machine of degree setting and display function.Fig. 1 is shown according to the present invention The flow chart of the method for one preferred embodiment.As shown in Figure 1, which comprises generation step S1, according to Celsius temperature With the transformational relation of Fahrenheit temperature, the temperature information of the corresponding relationship between instruction Celsius temperature and Fahrenheit temperature is generated;And Step S2 is obtained, continuous Fahrenheit temperature is obtained according to the temperature information.
The present invention through the above scheme, is believed by generating the temperature including Celsius temperature and Fahrenheit temperature corresponding relationship Breath, without being stored separately Celsius temperature and Fahrenheit temperature, saves memory space, the Fahrenheit when solving set temperature The discontinuous problem of temperature, without timing conversion Celsius temperature and Fahrenheit temperature, and algorithm is simple, and arithmetic speed is fast, protects The real-time and accuracy of data are demonstrate,proved.
Wherein, the temperature information is the combination for including Celsius temperature and Fahrenheit temperature flag bit, utilizes the Celsius temperature The continuous Fahrenheit temperature is obtained with the Fahrenheit temperature flag bit.Specifically, according to turn of Celsius temperature and Fahrenheit temperature Change relationship: Celsius temperature=(Fahrenheit temperature -32)/1.8, being produced as follows includes Celsius temperature and Fahrenheit temperature mark shown in table 1 The combination of will position, temperature information table to indicate the corresponding relationship between Celsius temperature and Fahrenheit temperature.It can be with from the table 1 It was found that:
1. when the multiple that centigrade value is 5, the corresponding two identical Fahrenheit temperature of Celsius temperature, but the Fahrenheit Temperature flag bit is different.
2. when centigrade value is not 5 multiple, the corresponding two different Fahrenheit temperature of Celsius temperature, and the China Family name's temperature flag bit is different.
Table 1
It follows that by the way that the combination of Celsius temperature and Fahrenheit temperature flag bit is defined as temperature information, then it can benefit Continuous Fahrenheit temperature is obtained with the combination of Celsius temperature and the Fahrenheit temperature flag bit, i.e., so in temperature information actually Imply Fahrenheit temperature value.
It may be noted that be the list of the above temperature information for only providing Fahrenheit temperature and centigrade number of segment value, But it is understood that the temperature information is suitable for indicating relationship between the two in whole numberical ranges.Meanwhile it is described Fahrenheit temperature flag bit respectively with 0 and 1 mark two kinds of different conditions, however, the present invention unlimited can also use 0 and 1 as indicate Position, as long as being able to achieve the mark to two kinds of different situations.
In one embodiment, when executing the Fahrenheit temperature and adding 1 ℉ or the ℉ operation that subtracts 1, in the acquisition step S2, The similarities and differences of the multiple and Fahrenheit temperature flag bit that whether are 5 according to the Celsius temperature obtain continuous Fahrenheit temperature.
Specifically, execute the Fahrenheit temperature add 1 ℉ operate when, judge Celsius temperature whether the multiple for being 5, if being, Then Celsius temperature adds 1.If Celsius temperature is not 5 multiple, further according to the Fahrenheit temperature flag bit, by Celsius temperature Remain unchanged or add 1.Specifically, if Fahrenheit temperature flag bit is 1, Celsius temperature adds 1, and simultaneously by its corresponding Fahrenheit temperature Flag bit is spent to reset;If Fahrenheit temperature flag bit is 0, Celsius temperature is constant, and simultaneously by its corresponding Fahrenheit temperature mark Position is 1.
It is similar, when executing the Fahrenheit temperature ℉ operation that subtracts 1, judge Celsius temperature whether the multiple for being 5, if being, then Celsius temperature also subtracts 1.If Celsius temperature is not 5 multiple, further according to the Fahrenheit temperature flag bit, by Celsius temperature It remains unchanged or subtracts 1.Specifically, if Fahrenheit temperature flag bit is 0, Celsius temperature subtracts 1, and simultaneously by its corresponding Fahrenheit temperature Spending mark position is 1;If Fahrenheit temperature flag bit is 1, Celsius temperature is constant, and simultaneously by its corresponding Fahrenheit temperature mark Position is 0.
Then by above description it is found that the solution of the present invention can be realized Fahrenheit temperature and centigrade increase continuously Or reduce, the user experience is improved.In addition, to execute 2 degree, 3 degree ... of operation, then pass through execution aforesaid operations twice, It realizes three times ....
Illustrate a preferred specific embodiment of above-mentioned acquisition step below in conjunction with Fig. 2 (a), 2 (b).Fig. 2 (a), 2 (b) show The flow chart of the preferred embodiment for obtaining step according to the present invention is gone out.Firstly, working as execution as shown in Fig. 2 (a) Fahrenheit temperature add 1 ℉ operate when, judge centigrade value whether the multiple for being 5, if centigrade value is not 5 multiple, According to table 1, the corresponding two different Fahrenheit temperature of the centigrade value, need to further judge Fahrenheit temperature flag bit. If Fahrenheit temperature flag bit is 1, centigrade value plus 1, while Fahrenheit temperature flag bit is reset.Such as Fahrenheit temperature flag bit It is 0, then centigrade value is constant, and Fahrenheit temperature flag bit adds 1.On the other hand, if centigrade value is 5 multiple, root According to table 1, illustrate the corresponding two identical Fahrenheit temperature of the centigrade value, centigrade value plus 1.
It is similar, as shown in Fig. 2 (b), when executing the Fahrenheit temperature ℉ operation that subtracts 1, judge whether centigrade value is 5 Multiple, if being, then Celsius temperature, which must be worth, also subtracts 1.If Celsius temperature must be worth not be 5 multiple, further judgement described in Fahrenheit temperature flag bit.Specifically, if Fahrenheit temperature flag bit is 0, centigrade value subtracts 1, and simultaneously that its is corresponding Fahrenheit temperature mark position is 1;If Fahrenheit temperature flag bit is 1, Celsius temperature is constant, and simultaneously by its corresponding Fahrenheit temperature Spending mark position is 0.
Further, in another embodiment, in the generation step, further generation is made of the temperature information Temperature information table can obtain the Fahrenheit temperature by tabling look-up according to the temperature information table in the acquisition step.Specifically, It is index with the Celsius temperature, and looked into conjunction with the Fahrenheit temperature flag bit in temperature information table as shown in Table 1 Table can be obtained the value of the Fahrenheit temperature.
In one embodiment, for example, realizing the above method using program, firstly, being China using the temperature information of table 1 Family name's temperature is established a table by ascending order in a program:
TblCel2Fac []=32,32,33,34,35,36,37,38,39,40,41,41,42,43,44,45,46,47, 48,49,50,50,51,52,53,54,55,56,57,58,59,59,60,61,62,63,64,65,66,67……}。
It indicates in graphical form, then are as follows:
Further, by Celsius temperature (being labeled as CelTemp) as indexing, in conjunction with the Fahrenheit temperature flag bit (being labeled as FlgAddOne) tables look-up, and can find the corresponding Fahrenheit temperature of the temperature information:
Fahrenheit temperature=TblCel2Fac [CelTemp*2+FlgAddOne].
For example, when CelTemp=2 DEG C, FlgAddOne=1, then
Fahrenheit temperature=TblCel2Fac [CelTemp*2+FlgAddOne]
=TblCel2Fac [2*2+1]
=TblCel2Fac [5]
Then from above-mentioned chart it can be concluded that, at this time:
Fahrenheit temperature=TblCel2Fac [5]=36 ℉
Above scheme according to the present invention as a result, while guaranteeing that Fahrenheit temperature and Celsius temperature can be obtained continuously, also Convertible Celsius temperature and Fahrenheit temperature, and algorithm is simple, arithmetic speed is fast, ensure that the real-time and accuracy of data.
Temperature processing device according to the present invention is described below in conjunction with Fig. 3.Fig. 3 is shown one to be preferably implemented according to the present invention The structural block diagram of the temperature processing device of example.As shown in figure 3, described device includes: generation module 1, according to Celsius temperature and China The transformational relation of family name's temperature generates the temperature information of the corresponding relationship between instruction Celsius temperature and Fahrenheit temperature;And it obtains Module 2 obtains continuous Fahrenheit temperature according to the temperature information.
Wherein, the temperature information is the combination for including Celsius temperature and Fahrenheit temperature flag bit, utilizes the Celsius temperature The continuous Fahrenheit temperature is obtained with the Fahrenheit temperature flag bit.Specifically, according to turn of Celsius temperature and Fahrenheit temperature Change relationship: Celsius temperature=(Fahrenheit temperature -32)/1.8, making as shown in Table 1 includes Celsius temperature and Fahrenheit temperature mark The combination of position, temperature information table to indicate the corresponding relationship between Celsius temperature and Fahrenheit temperature.It can be sent out from table 1 It is existing:
1. when the multiple that centigrade value is 5, the corresponding two identical Fahrenheit temperature of Celsius temperature, but the Fahrenheit Temperature flag bit is different.
2. when centigrade value is not 5 multiple, the corresponding two different Fahrenheit temperature of Celsius temperature, and the China Family name's temperature flag bit is different.
It follows that by the way that the combination of Celsius temperature and Fahrenheit temperature flag bit is defined as temperature information, then it can benefit Continuous Fahrenheit temperature is obtained with the combination of Celsius temperature and the Fahrenheit temperature flag bit, i.e., so in temperature information actually Imply Fahrenheit temperature value.
In one embodiment, when executing the Fahrenheit temperature and adding 1 ℉ or the ℉ operation that subtracts 1, in the acquisition module 2, The similarities and differences of the multiple and Fahrenheit temperature flag bit that whether are 5 according to the Celsius temperature obtain continuous Fahrenheit temperature.
Specifically, execute the Fahrenheit temperature add 1 ℉ operate when, judge Celsius temperature whether the multiple for being 5, if being, Then Celsius temperature adds 1.If Celsius temperature is not 5 multiple, further according to the Fahrenheit temperature flag bit, by Celsius temperature Remain unchanged or add 1.Specifically, if Fahrenheit temperature flag bit is 1, Celsius temperature adds 1, and simultaneously by its corresponding Fahrenheit temperature Flag bit is spent to reset;If Fahrenheit temperature flag bit is 0, Celsius temperature is constant, and simultaneously by its corresponding Fahrenheit temperature mark Position is 1.
It is similar, when executing the Fahrenheit temperature ℉ operation that subtracts 1, judge Celsius temperature whether the multiple for being 5, if being, then Celsius temperature also subtracts 1.If Celsius temperature is not 5 multiple, further according to the Fahrenheit temperature flag bit, by Celsius temperature It remains unchanged or subtracts 1.Specifically, if Fahrenheit temperature flag bit is 0, Celsius temperature subtracts 1, and simultaneously by its corresponding Fahrenheit temperature Spending mark position is 1;If Fahrenheit temperature flag bit is 1, Celsius temperature is constant, and simultaneously by its corresponding Fahrenheit temperature mark Position is 0.
Further, in another embodiment, the generation module further generates the temperature being made of the temperature information Information table is spent, the acquisition module can obtain the Fahrenheit temperature by tabling look-up according to the temperature information table.Specifically, such as It is index with the Celsius temperature, and table look-up in conjunction with the Fahrenheit temperature flag bit in temperature information table shown in table 1, It can be obtained the value of the Fahrenheit temperature.
The temperature treatment method of the invention and device are described above.The present invention through the above scheme, is led to It crosses and generates the temperature information including Celsius temperature and Fahrenheit temperature corresponding relationship, without being stored separately Celsius temperature And Fahrenheit temperature, memory space is saved, Fahrenheit temperature is discontinuous when solving the problems, such as set temperature, without timing Celsius temperature and Fahrenheit temperature are converted, and algorithm is simple, arithmetic speed is fast, ensure that the real-time and accuracy of data.In addition, It when using the software realization scheme of the invention, can just call when in use, consequently facilitating the general and transplanting of program.
It should be noted that in the absence of conflict, the feature in embodiment and embodiment in the present invention can phase Mutually combination.
The above described is only a preferred embodiment of the present invention, be not intended to limit the present invention in any form, according to According to technical spirit any simple modification, equivalent change and modification to the above embodiments of the invention, this hair is still fallen within In the range of bright technical solution.

Claims (6)

1. a kind of temperature treatment method characterized by comprising
Generation step generates between instruction Celsius temperature and Fahrenheit temperature according to the transformational relation of Celsius temperature and Fahrenheit temperature Corresponding relationship temperature information;And
Step is obtained, continuous Fahrenheit temperature is obtained according to the temperature information;
The temperature information is the combination for including Celsius temperature and Fahrenheit temperature flag bit, utilizes the Celsius temperature and the Fahrenheit Temperature flag bit obtains the continuous Fahrenheit temperature;
The temperature information meets:
When the multiple that centigrade value is 5, the corresponding two identical Fahrenheit temperature of Celsius temperature, but the Fahrenheit temperature mark Will position is different;And
When centigrade value is not 5 multiple, the corresponding two different Fahrenheit temperature of Celsius temperature, and the Fahrenheit temperature Flag bit is different;
When executing the Fahrenheit temperature and adding 1 ℉ or the ℉ operation that subtracts 1, in the acquisition step, according to the Celsius temperature whether Continuous Fahrenheit temperature is obtained for 5 multiple and the similarities and differences of Fahrenheit temperature flag bit;
Execute the Fahrenheit temperature add 1 ℉ operate when, judge Celsius temperature whether the multiple for being 5, if being, then Celsius temperature adds 1;And/or
Execute the Fahrenheit temperature add 1 ℉ operate when, if Celsius temperature is not 5 multiple, further according to the Fahrenheit temperature Spend flag bit, by Celsius temperature remain unchanged or add 1;
When executing the Fahrenheit temperature ℉ that subtracts 1 operation, judge Celsius temperature whether the multiple for being 5, if being, then Celsius temperature also subtracts 1;And/or
If Celsius temperature is not 5 multiple, further according to the Fahrenheit temperature flag bit, Celsius temperature is remained unchanged or Subtract 1.
2. the method as described in claim 1, which is characterized in that
The generation step further generates the temperature information table being made of the temperature information;And
The acquisition step obtains the Fahrenheit temperature by tabling look-up according to the temperature information table.
3. method according to claim 2, which is characterized in that
The acquisition step is index with the Celsius temperature using temperature information table, and in conjunction with the Fahrenheit temperature flag bit It tables look-up, to obtain the value of the Fahrenheit temperature.
4. a kind of temperature processing device characterized by comprising
Generation module generates between instruction Celsius temperature and Fahrenheit temperature according to the transformational relation of Celsius temperature and Fahrenheit temperature Corresponding relationship temperature information;And
Module is obtained, continuous Fahrenheit temperature is obtained according to the temperature information;
The temperature information is the combination for including Celsius temperature and Fahrenheit temperature flag bit, utilizes the Celsius temperature and the Fahrenheit Temperature flag bit obtains the continuous Fahrenheit temperature;
The temperature information meets:
When the multiple that centigrade value is 5, the corresponding two identical Fahrenheit temperature of Celsius temperature, but the Fahrenheit temperature mark Will position is different;And
When centigrade value is not 5 multiple, the corresponding two different Fahrenheit temperature of Celsius temperature, and the Fahrenheit temperature Flag bit is different;
When executing the Fahrenheit temperature and adding 1 ℉ or the ℉ operation that subtracts 1, whether the acquisition module is 5 according to the Celsius temperature Multiple and the similarities and differences of Fahrenheit temperature flag bit obtain continuous Fahrenheit temperature;
Execute the Fahrenheit temperature add 1 ℉ operate when, judge Celsius temperature whether the multiple for being 5, if being, then Celsius temperature adds 1;And/or
Execute the Fahrenheit temperature add 1 ℉ operate when, if Celsius temperature is not 5 multiple, further according to the Fahrenheit temperature Spend flag bit, by Celsius temperature remain unchanged or add 1;
When executing the Fahrenheit temperature ℉ that subtracts 1 operation, judge Celsius temperature whether the multiple for being 5, if being, then Celsius temperature also subtracts 1;And/or
If Celsius temperature is not 5 multiple, further according to the Fahrenheit temperature flag bit, Celsius temperature is remained unchanged or Subtract 1.
5. device as claimed in claim 4, which is characterized in that
The generation module further generates the temperature information table being made of the temperature information;And
The acquisition module obtains the Fahrenheit temperature by tabling look-up according to the temperature information table.
6. device as claimed in claim 5, which is characterized in that
The acquisition module utilizes temperature information table, is index with the Celsius temperature, and in conjunction with the Fahrenheit temperature flag bit It tables look-up, to obtain the value of the Fahrenheit temperature.
CN201610791045.4A 2016-08-31 2016-08-31 Temperature treatment method and device Active CN106383803B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610791045.4A CN106383803B (en) 2016-08-31 2016-08-31 Temperature treatment method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610791045.4A CN106383803B (en) 2016-08-31 2016-08-31 Temperature treatment method and device

Publications (2)

Publication Number Publication Date
CN106383803A CN106383803A (en) 2017-02-08
CN106383803B true CN106383803B (en) 2019-11-05

Family

ID=57939643

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610791045.4A Active CN106383803B (en) 2016-08-31 2016-08-31 Temperature treatment method and device

Country Status (1)

Country Link
CN (1) CN106383803B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112665138B (en) * 2021-01-19 2022-08-23 青岛海信日立空调系统有限公司 Central air-conditioning system and control method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1189051A (en) * 1996-11-11 1998-07-29 Lg电子株式会社 Apparatus for displaying room temperature and body temperature on video display appliance
CN1888592A (en) * 2005-06-28 2007-01-03 乐金电子(天津)电器有限公司 Air conditioner capable of changing temperature display
CN104949279A (en) * 2015-06-26 2015-09-30 珠海格力电器股份有限公司 Method for synchronously displaying Fahrenheit temperature and air conditioning system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130125232A1 (en) * 2011-11-10 2013-05-16 Rockwell Automation Technologies, Inc. Implementing engineering unit conversions associated with control devices
CN105202686B (en) * 2014-05-30 2018-06-05 广东美的暖通设备有限公司 Information transferring method, air-conditioning system and the remote controler of remote controler

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1189051A (en) * 1996-11-11 1998-07-29 Lg电子株式会社 Apparatus for displaying room temperature and body temperature on video display appliance
CN1888592A (en) * 2005-06-28 2007-01-03 乐金电子(天津)电器有限公司 Air conditioner capable of changing temperature display
CN104949279A (en) * 2015-06-26 2015-09-30 珠海格力电器股份有限公司 Method for synchronously displaying Fahrenheit temperature and air conditioning system

Also Published As

Publication number Publication date
CN106383803A (en) 2017-02-08

Similar Documents

Publication Publication Date Title
JP2004070956A5 (en)
WO2014134374A3 (en) Systems and methods for improving clinical documentation
CN106383803B (en) Temperature treatment method and device
JP2014507984A5 (en)
CN104980515B (en) Message distribution treating method and apparatus in a kind of cloud storage system
JP2016534475A5 (en)
JP2015535639A5 (en)
FR2959090B1 (en) COMPUTER RESOURCE AND INFRASTRUCTURE MANAGEMENT TOOL AND NETWORKS
JP2019501437A5 (en)
BR112014016449A2 (en) input pointer delay
RU2015116891A (en) SYSTEMS AND METHODS FOR RE-ORDERING SEQUENTIAL ACTIONS
JP2018032384A5 (en)
CN103577718A (en) Prompting system and prompting method for index data exceptions
CN103207746B (en) A kind of funcall method and device
CN103617041A (en) Animation managing system and method based on template
CN204634926U (en) Fish scale fish gill remover
BALAKRISHNA et al. IoT Based Sensible Well Being Health Care
ZHANG et al. Item Selection Using the Multiple-Strategy RRUM Based on CD-CAT
Mappings CWE-557: Concurrency Issues
CN202636519U (en) Clothes rack
CN109308134A (en) It can see the mouse of temperature
Soheilian Esfahani et al. HEMELB Acceleration and Visualization for Cerebral Aneurysms
CN109144819A (en) A kind of monitoring method and device of server
Gonska et al. On the composition and decomposition of positive linear operators IV: Favard-Bernstein operators revisited
Davidson Letter from the 2017 IEEE TCDE Impact Award Winner.

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant