<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>If(Static &amp;amp;&amp;amp; Non-static value){</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/6845/if-static-non-static-value</link><description>Hi.
I&amp;#39;m working with nrf Temp, in the file TemperatureDataParser.java, and I want to send out a note when the measured temperature has passed the chosen SETTING(distinguishing between low, medium and high temperature).
I Therefore wrote an if-sentence</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 05 May 2015 10:45:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/6845/if-static-non-static-value" /><item><title>RE: If(Static &amp;&amp; Non-static value){</title><link>https://devzone.nordicsemi.com/thread/24120?ContentTypeID=1</link><pubDate>Tue, 05 May 2015 10:45:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63c18da7-d5e5-41af-9209-486a764f21c7</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi. I am not an expert in OO languages, but is it possible that you are not using static variables/methods correctly? If you want to get data from TemperatureDataParser you can call TemperatureDataParser.methodName.value. And all variables that gets data from static methods must be declared as static: &lt;code&gt;public static final int TYPE = .....&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>