用户工具

站点工具


电脑:设备变量

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

后一修订版
前一修订版
电脑:设备变量 [2020/04/04 20:32]
小锁2 创建
电脑:设备变量 [2020/04/04 20:55] (当前版本)
行 1: 行 1:
 ====== 设备变量 ====== ====== 设备变量 ======
 +These variables are used in the circuits to query devices.
 +Note that not all devices will accept setting or reading from these variables.
 +Reading or writing with these values allows you to alter the state of devices within your script.
 +
 +这些变量用于查询在电路中的设备。
 +
 +请注意,并非所有设备都接受这些变量的设置或读取。
 +
 +在脚本中使用这些值进行读写可以改变设备的状态。
 +
 +^  变量名 ​ ^说明^
 +|Activate|1:​如果设备被激活(通常意味着正在运行),否则:0|
 +|ActivateResearch| |
 +|AirRelease|空气释放系统的当前状态,例如空气释放=1 为一套硬具设置空气释放设置为|
 +|AutoResearchPodsRequired| |
 +|Charge|设备的当前电量|
 +|ClearMemory|设置为1时,清除计数器内存 ExportCount ,清除后自动设置回0。|
 +|Color|设置颜色,为整数|
 +|CompletionRatio|此设备当前生产的完成度(0.0~1.0之间)|
 +|CurrentResearchPodType| |
 +|ElevatorLevel|显示电梯的楼层。|
 +|ElevatorSpeed|显示电梯的速度。|
 +|Error|如果设备处于错误状态,则为 1,否则为 0。|
  
电脑/设备变量.1586003529.txt.gz · 最后更改: 2020/04/04 20:32 (外部编辑)