<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.transcends.co/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.transcends.co/index.php?action=history&amp;feed=atom&amp;title=READERNAME_ReaderModuleOffPowerState.java</id>
		<title>READERNAME ReaderModuleOffPowerState.java - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.transcends.co/index.php?action=history&amp;feed=atom&amp;title=READERNAME_ReaderModuleOffPowerState.java"/>
		<link rel="alternate" type="text/html" href="https://wiki.transcends.co/index.php?title=READERNAME_ReaderModuleOffPowerState.java&amp;action=history"/>
		<updated>2026-06-03T22:20:24Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.1</generator>

	<entry>
		<id>https://wiki.transcends.co/index.php?title=READERNAME_ReaderModuleOffPowerState.java&amp;diff=900&amp;oldid=prev</id>
		<title>Kyle at 00:36, 12 February 2008</title>
		<link rel="alternate" type="text/html" href="https://wiki.transcends.co/index.php?title=READERNAME_ReaderModuleOffPowerState.java&amp;diff=900&amp;oldid=prev"/>
				<updated>2008-02-12T00:36:00Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 00:36, 12 February 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[category:developerDoc]][[category:emulatorDoc]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This class needs to be implemented for each reader to handle the state transitions from off-&amp;gt;on.&amp;#160; It should extend AbstractOffPowerState.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This class needs to be implemented for each reader to handle the state transitions from off-&amp;gt;on.&amp;#160; It should extend AbstractOffPowerState.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Kyle</name></author>	</entry>

	<entry>
		<id>https://wiki.transcends.co/index.php?title=READERNAME_ReaderModuleOffPowerState.java&amp;diff=884&amp;oldid=prev</id>
		<title>Kyle at 23:36, 11 February 2008</title>
		<link rel="alternate" type="text/html" href="https://wiki.transcends.co/index.php?title=READERNAME_ReaderModuleOffPowerState.java&amp;diff=884&amp;oldid=prev"/>
				<updated>2008-02-11T23:36:20Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 23:36, 11 February 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This class needs to be implemented for each reader to handle the state transitions from off-&amp;gt;on.&amp;#160; It should extend &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;AbstractOnPowerState&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This class needs to be implemented for each reader to handle the state transitions from off-&amp;gt;on.&amp;#160; It should extend &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;AbstractOffPowerState&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=turnOn=&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=turnOn=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Kyle</name></author>	</entry>

	<entry>
		<id>https://wiki.transcends.co/index.php?title=READERNAME_ReaderModuleOffPowerState.java&amp;diff=883&amp;oldid=prev</id>
		<title>Kyle: New page: This class needs to be implemented for each reader to handle the state transitions from off-&gt;on.  It should extend AbstractOnPowerState.  =turnOn=  This method should turn the reader and a...</title>
		<link rel="alternate" type="text/html" href="https://wiki.transcends.co/index.php?title=READERNAME_ReaderModuleOffPowerState.java&amp;diff=883&amp;oldid=prev"/>
				<updated>2008-02-11T23:34:51Z</updated>
		
		<summary type="html">&lt;p&gt;New page: This class needs to be implemented for each reader to handle the state transitions from off-&amp;gt;on.  It should extend AbstractOnPowerState.  =turnOn=  This method should turn the reader and a...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This class needs to be implemented for each reader to handle the state transitions from off-&amp;gt;on.  It should extend AbstractOnPowerState.&lt;br /&gt;
&lt;br /&gt;
=turnOn=&lt;br /&gt;
&lt;br /&gt;
This method should turn the reader and all of its components on&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;public void turnOn(PowerControllable pcObject)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Arguments==&lt;br /&gt;
#pcObject - The ReaderModule&lt;br /&gt;
&lt;br /&gt;
==Reference Implementation==&lt;br /&gt;
This is the implementation of the turnOn() in the symbol reader.  It first turns on the communication, then turns on the controllers.  Next it sets the power signals for the communication to true, but makes sure the connection signal is set to false.  Finally it puts the reader into the 'on' state using the changePowerState method.  This method just changes a variable in the module that records which state of the reader.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
	public void turnOn(PowerControllable pcObject) {&lt;br /&gt;
		SymbolReaderModule rm = (SymbolReaderModule) pcObject;&lt;br /&gt;
		rm.getByteComm().turnOn();&lt;br /&gt;
		rm.getHttpComm().turnOn();&lt;br /&gt;
		rm.getInteractiveBitController().turnOn();&lt;br /&gt;
		rm.getInteractiveHttpController().turnOn();&lt;br /&gt;
		rm.getSharedResources().getInteractiveBytePowerSignal().setControlVariableValue(true);&lt;br /&gt;
		rm.getSharedResources().getInteractiveHttpPowerSignal().setControlVariableValue(true);&lt;br /&gt;
		rm.getSharedResources().getInteractiveByteConnectionSignal().setControlVariableValue(false);&lt;br /&gt;
		rm.getSharedResources().getInteractiveHttpConnectionSignal().setControlVariableValue(false);&lt;br /&gt;
&lt;br /&gt;
		/* Turn on Tag Buffer*/&lt;br /&gt;
		&lt;br /&gt;
		SymbolReaderSharedResources ssr = rm.getSharedResources();&lt;br /&gt;
		&lt;br /&gt;
		rm.changePowerState(SymbolReaderModuleOnPowerState.getInstance());&lt;br /&gt;
		&lt;br /&gt;
		String readername = rm.getSharedResources().getReaderName();&lt;br /&gt;
		LogFactory.getLog(&amp;quot;console.&amp;quot; + readername).info(readername + &amp;quot; on&amp;quot;);&lt;br /&gt;
	}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kyle</name></author>	</entry>

	</feed>