Actions

Difference between revisions of "Computer"

From Unofficial Stationeers Wiki

(Marked this version for translation)
m (Add logic properties)
Line 13: Line 13:
 
Uses different [[Motherboard]]s to perform various functions.
 
Uses different [[Motherboard]]s to perform various functions.
  
 +
== Logic Properties ==
 +
These are all logic properties of this device.
  
 +
=== Logic Parameters ===
 +
These are all parameters, that can be written to with a [[Kit_(Logic_I/O)#Logic_Writer|Logic Writer]] or a [[Kit_(Logic_I/O)#Batch_Writer|Batch Writer]]. The outputs are listed in the order a Logic Writer's "VAR" setting cycles through them.
 +
{| class="wikitable"
 +
|-
 +
! Parameter Name !! Data Type !! Description
 +
|-
 +
| Open || Boolean || Opens the [[Motherboard]] slot, when set to 1. Closes it, when set to 0.
 +
|-
 +
| On || Boolean || Turns the Computer on, when set to 1. Turns it off, when set to 0.
 +
|}
  
 +
=== Logic Outputs ===
 +
These are all parameters, that can be read with a [[Kit_(Logic_I/O)#Logic_Reader|Logic Reader]]. The outputs are listed in the order a Logic Reader's "VAR" setting cycles through them.
 +
{| class="wikitable"
 +
|-
 +
! Output Name !! Data Type !! Description
 +
|-
 +
| Power || Boolean || Returns whether the Computer is turned on. (0 for off, 1 for on) (Identical to "On" output. This might be intended to output whether the device is receiving power or not.)
 +
|-
 +
| Open || Boolean || Returns whether the Computer's [[Motherboard]] slot is open. (0 for closed, 1 for open)
 +
|-
 +
| Error || Boolean || Returns whether the Computer is flashing an error. (0 for no error, 1 for flashing an error)
 +
|-
 +
| On || Boolean || Returns whether the Computer is turned on. (0 for off, 1 for on)
 +
|-
 +
| RequiredPower || Integer || Returns the current amount of power, required by the Computer, in Watts.
 +
|}
 
</translate>
 
</translate>

Revision as of 12:35, 25 March 2018

Other languages:
English
Computer
ItemKitComputer.png
Properties
Stacks No


Description

Uses different Motherboards to perform various functions.

Logic Properties

These are all logic properties of this device.

Logic Parameters

These are all parameters, that can be written to with a Logic Writer or a Batch Writer. The outputs are listed in the order a Logic Writer's "VAR" setting cycles through them.

Parameter Name Data Type Description
Open Boolean Opens the Motherboard slot, when set to 1. Closes it, when set to 0.
On Boolean Turns the Computer on, when set to 1. Turns it off, when set to 0.

Logic Outputs

These are all parameters, that can be read with a Logic Reader. The outputs are listed in the order a Logic Reader's "VAR" setting cycles through them.

Output Name Data Type Description
Power Boolean Returns whether the Computer is turned on. (0 for off, 1 for on) (Identical to "On" output. This might be intended to output whether the device is receiving power or not.)
Open Boolean Returns whether the Computer's Motherboard slot is open. (0 for closed, 1 for open)
Error Boolean Returns whether the Computer is flashing an error. (0 for no error, 1 for flashing an error)
On Boolean Returns whether the Computer is turned on. (0 for off, 1 for on)
RequiredPower Integer Returns the current amount of power, required by the Computer, in Watts.