Update PLC inputs and outputs.

This commit is contained in:
Patrick Fairbank
2019-08-04 14:04:46 -07:00
parent 06a91b8a3c
commit 865f071cda
3 changed files with 29 additions and 31 deletions

View File

@@ -15,18 +15,23 @@ func _() {
_ = x[stackLightRed-4]
_ = x[stackLightBlue-5]
_ = x[stackLightBuzzer-6]
_ = x[red1EthernetDisable-7]
_ = x[red2EthernetDisable-8]
_ = x[red3EthernetDisable-9]
_ = x[blue1EthernetDisable-10]
_ = x[blue2EthernetDisable-11]
_ = x[blue3EthernetDisable-12]
_ = x[coilCount-13]
_ = x[fieldResetLight-7]
_ = x[cargoShipMagnetRed-8]
_ = x[cargoShipMagnetBlue-9]
_ = x[cargoShipLightRed-10]
_ = x[cargoShipLightBlue-11]
_ = x[sandstormUpRed-12]
_ = x[sandstormUpBlue-13]
_ = x[rocketLightRedNear-14]
_ = x[rocketLightRedFar-15]
_ = x[rocketLightBlueNear-16]
_ = x[rocketLightBlueFar-17]
_ = x[coilCount-18]
}
const _coil_name = "heartbeatmatchResetstackLightGreenstackLightOrangestackLightRedstackLightBluestackLightBuzzerred1EthernetDisablered2EthernetDisablered3EthernetDisableblue1EthernetDisableblue2EthernetDisableblue3EthernetDisablecoilCount"
const _coil_name = "heartbeatmatchResetstackLightGreenstackLightOrangestackLightRedstackLightBluestackLightBuzzerfieldResetLightcargoShipMagnetRedcargoShipMagnetBluecargoShipLightRedcargoShipLightBluesandstormUpRedsandstormUpBluerocketLightRedNearrocketLightRedFarrocketLightBlueNearrocketLightBlueFarcoilCount"
var _coil_index = [...]uint8{0, 9, 19, 34, 50, 63, 77, 93, 112, 131, 150, 170, 190, 210, 219}
var _coil_index = [...]uint16{0, 9, 19, 34, 50, 63, 77, 93, 108, 126, 145, 162, 180, 194, 209, 227, 244, 263, 281, 290}
func (i coil) String() string {
if i < 0 || i >= coil(len(_coil_index)-1) {