/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

package model

import (
	"context"
	"fmt"

	"github.com/pkg/errors"
	"github.com/rs/zerolog"

	"github.com/apache/plc4x/plc4go/spi/utils"
)

// Code generated by code-generation. DO NOT EDIT.

// CALCommandTypeContainer is an enum
type CALCommandTypeContainer uint8

type ICALCommandTypeContainer interface {
	fmt.Stringer
	utils.LengthAware
	utils.Serializable
	NumBytes() uint8
	CommandType() CALCommandType
}

const (
	CALCommandTypeContainer_CALCommandReset                  CALCommandTypeContainer = 0x08
	CALCommandTypeContainer_CALCommandRecall                 CALCommandTypeContainer = 0x1A
	CALCommandTypeContainer_CALCommandIdentify               CALCommandTypeContainer = 0x21
	CALCommandTypeContainer_CALCommandGetStatus              CALCommandTypeContainer = 0x2A
	CALCommandTypeContainer_CALCommandAcknowledge            CALCommandTypeContainer = 0x32
	CALCommandTypeContainer_CALCommandReply_0Bytes           CALCommandTypeContainer = 0x80
	CALCommandTypeContainer_CALCommandReply_1Bytes           CALCommandTypeContainer = 0x81
	CALCommandTypeContainer_CALCommandReply_2Bytes           CALCommandTypeContainer = 0x82
	CALCommandTypeContainer_CALCommandReply_3Bytes           CALCommandTypeContainer = 0x83
	CALCommandTypeContainer_CALCommandReply_4Bytes           CALCommandTypeContainer = 0x84
	CALCommandTypeContainer_CALCommandReply_5Bytes           CALCommandTypeContainer = 0x85
	CALCommandTypeContainer_CALCommandReply_6Bytes           CALCommandTypeContainer = 0x86
	CALCommandTypeContainer_CALCommandReply_7Bytes           CALCommandTypeContainer = 0x87
	CALCommandTypeContainer_CALCommandReply_8Bytes           CALCommandTypeContainer = 0x88
	CALCommandTypeContainer_CALCommandReply_9Bytes           CALCommandTypeContainer = 0x89
	CALCommandTypeContainer_CALCommandReply_10Bytes          CALCommandTypeContainer = 0x8A
	CALCommandTypeContainer_CALCommandReply_11Bytes          CALCommandTypeContainer = 0x8B
	CALCommandTypeContainer_CALCommandReply_12Bytes          CALCommandTypeContainer = 0x8C
	CALCommandTypeContainer_CALCommandReply_13Bytes          CALCommandTypeContainer = 0x8D
	CALCommandTypeContainer_CALCommandReply_14Bytes          CALCommandTypeContainer = 0x8E
	CALCommandTypeContainer_CALCommandReply_15Bytes          CALCommandTypeContainer = 0x8F
	CALCommandTypeContainer_CALCommandReply_16Bytes          CALCommandTypeContainer = 0x90
	CALCommandTypeContainer_CALCommandReply_17Bytes          CALCommandTypeContainer = 0x91
	CALCommandTypeContainer_CALCommandReply_18Bytes          CALCommandTypeContainer = 0x92
	CALCommandTypeContainer_CALCommandReply_19Bytes          CALCommandTypeContainer = 0x93
	CALCommandTypeContainer_CALCommandReply_20Bytes          CALCommandTypeContainer = 0x94
	CALCommandTypeContainer_CALCommandReply_21Bytes          CALCommandTypeContainer = 0x95
	CALCommandTypeContainer_CALCommandReply_22Bytes          CALCommandTypeContainer = 0x96
	CALCommandTypeContainer_CALCommandReply_23Bytes          CALCommandTypeContainer = 0x97
	CALCommandTypeContainer_CALCommandReply_24Bytes          CALCommandTypeContainer = 0x98
	CALCommandTypeContainer_CALCommandReply_25Bytes          CALCommandTypeContainer = 0x99
	CALCommandTypeContainer_CALCommandReply_26Bytes          CALCommandTypeContainer = 0x9A
	CALCommandTypeContainer_CALCommandReply_27Bytes          CALCommandTypeContainer = 0x9B
	CALCommandTypeContainer_CALCommandReply_28Bytes          CALCommandTypeContainer = 0x9C
	CALCommandTypeContainer_CALCommandReply_29Bytes          CALCommandTypeContainer = 0x9D
	CALCommandTypeContainer_CALCommandReply_30Bytes          CALCommandTypeContainer = 0x9E
	CALCommandTypeContainer_CALCommandReply_31Bytes          CALCommandTypeContainer = 0x9F
	CALCommandTypeContainer_CALCommandWrite_0Bytes           CALCommandTypeContainer = 0xA0
	CALCommandTypeContainer_CALCommandWrite_1Bytes           CALCommandTypeContainer = 0xA1
	CALCommandTypeContainer_CALCommandWrite_2Bytes           CALCommandTypeContainer = 0xA2
	CALCommandTypeContainer_CALCommandWrite_3Bytes           CALCommandTypeContainer = 0xA3
	CALCommandTypeContainer_CALCommandWrite_4Bytes           CALCommandTypeContainer = 0xA4
	CALCommandTypeContainer_CALCommandWrite_5Bytes           CALCommandTypeContainer = 0xA5
	CALCommandTypeContainer_CALCommandWrite_6Bytes           CALCommandTypeContainer = 0xA6
	CALCommandTypeContainer_CALCommandWrite_7Bytes           CALCommandTypeContainer = 0xA7
	CALCommandTypeContainer_CALCommandWrite_8Bytes           CALCommandTypeContainer = 0xA8
	CALCommandTypeContainer_CALCommandWrite_9Bytes           CALCommandTypeContainer = 0xA9
	CALCommandTypeContainer_CALCommandWrite_10Bytes          CALCommandTypeContainer = 0xAA
	CALCommandTypeContainer_CALCommandWrite_11Bytes          CALCommandTypeContainer = 0xAB
	CALCommandTypeContainer_CALCommandWrite_12Bytes          CALCommandTypeContainer = 0xAC
	CALCommandTypeContainer_CALCommandWrite_13Bytes          CALCommandTypeContainer = 0xAD
	CALCommandTypeContainer_CALCommandWrite_14Bytes          CALCommandTypeContainer = 0xAE
	CALCommandTypeContainer_CALCommandWrite_15Bytes          CALCommandTypeContainer = 0xAF
	CALCommandTypeContainer_CALCommandStatus_0Bytes          CALCommandTypeContainer = 0xC0
	CALCommandTypeContainer_CALCommandStatus_1Bytes          CALCommandTypeContainer = 0xC1
	CALCommandTypeContainer_CALCommandStatus_2Bytes          CALCommandTypeContainer = 0xC2
	CALCommandTypeContainer_CALCommandStatus_3Bytes          CALCommandTypeContainer = 0xC3
	CALCommandTypeContainer_CALCommandStatus_4Bytes          CALCommandTypeContainer = 0xC4
	CALCommandTypeContainer_CALCommandStatus_5Bytes          CALCommandTypeContainer = 0xC5
	CALCommandTypeContainer_CALCommandStatus_6Bytes          CALCommandTypeContainer = 0xC6
	CALCommandTypeContainer_CALCommandStatus_7Bytes          CALCommandTypeContainer = 0xC7
	CALCommandTypeContainer_CALCommandStatus_8Bytes          CALCommandTypeContainer = 0xC8
	CALCommandTypeContainer_CALCommandStatus_9Bytes          CALCommandTypeContainer = 0xC9
	CALCommandTypeContainer_CALCommandStatus_10Bytes         CALCommandTypeContainer = 0xCA
	CALCommandTypeContainer_CALCommandStatus_11Bytes         CALCommandTypeContainer = 0xCB
	CALCommandTypeContainer_CALCommandStatus_12Bytes         CALCommandTypeContainer = 0xCC
	CALCommandTypeContainer_CALCommandStatus_13Bytes         CALCommandTypeContainer = 0xCD
	CALCommandTypeContainer_CALCommandStatus_14Bytes         CALCommandTypeContainer = 0xCE
	CALCommandTypeContainer_CALCommandStatus_15Bytes         CALCommandTypeContainer = 0xCF
	CALCommandTypeContainer_CALCommandStatus_16Bytes         CALCommandTypeContainer = 0xD0
	CALCommandTypeContainer_CALCommandStatus_17Bytes         CALCommandTypeContainer = 0xD1
	CALCommandTypeContainer_CALCommandStatus_18Bytes         CALCommandTypeContainer = 0xD2
	CALCommandTypeContainer_CALCommandStatus_19Bytes         CALCommandTypeContainer = 0xD3
	CALCommandTypeContainer_CALCommandStatus_20Bytes         CALCommandTypeContainer = 0xD4
	CALCommandTypeContainer_CALCommandStatus_21Bytes         CALCommandTypeContainer = 0xD5
	CALCommandTypeContainer_CALCommandStatus_22Bytes         CALCommandTypeContainer = 0xD6
	CALCommandTypeContainer_CALCommandStatus_23Bytes         CALCommandTypeContainer = 0xD7
	CALCommandTypeContainer_CALCommandStatus_24Bytes         CALCommandTypeContainer = 0xD8
	CALCommandTypeContainer_CALCommandStatus_25Bytes         CALCommandTypeContainer = 0xD9
	CALCommandTypeContainer_CALCommandStatus_26Bytes         CALCommandTypeContainer = 0xDA
	CALCommandTypeContainer_CALCommandStatus_27Bytes         CALCommandTypeContainer = 0xDB
	CALCommandTypeContainer_CALCommandStatus_28Bytes         CALCommandTypeContainer = 0xDC
	CALCommandTypeContainer_CALCommandStatus_29Bytes         CALCommandTypeContainer = 0xDD
	CALCommandTypeContainer_CALCommandStatus_30Bytes         CALCommandTypeContainer = 0xDE
	CALCommandTypeContainer_CALCommandStatus_31Bytes         CALCommandTypeContainer = 0xDF
	CALCommandTypeContainer_CALCommandStatusExtended_0Bytes  CALCommandTypeContainer = 0xE0
	CALCommandTypeContainer_CALCommandStatusExtended_1Bytes  CALCommandTypeContainer = 0xE1
	CALCommandTypeContainer_CALCommandStatusExtended_2Bytes  CALCommandTypeContainer = 0xE2
	CALCommandTypeContainer_CALCommandStatusExtended_3Bytes  CALCommandTypeContainer = 0xE3
	CALCommandTypeContainer_CALCommandStatusExtended_4Bytes  CALCommandTypeContainer = 0xE4
	CALCommandTypeContainer_CALCommandStatusExtended_5Bytes  CALCommandTypeContainer = 0xE5
	CALCommandTypeContainer_CALCommandStatusExtended_6Bytes  CALCommandTypeContainer = 0xE6
	CALCommandTypeContainer_CALCommandStatusExtended_7Bytes  CALCommandTypeContainer = 0xE7
	CALCommandTypeContainer_CALCommandStatusExtended_8Bytes  CALCommandTypeContainer = 0xE8
	CALCommandTypeContainer_CALCommandStatusExtended_9Bytes  CALCommandTypeContainer = 0xE9
	CALCommandTypeContainer_CALCommandStatusExtended_10Bytes CALCommandTypeContainer = 0xEA
	CALCommandTypeContainer_CALCommandStatusExtended_11Bytes CALCommandTypeContainer = 0xEB
	CALCommandTypeContainer_CALCommandStatusExtended_12Bytes CALCommandTypeContainer = 0xEC
	CALCommandTypeContainer_CALCommandStatusExtended_13Bytes CALCommandTypeContainer = 0xED
	CALCommandTypeContainer_CALCommandStatusExtended_14Bytes CALCommandTypeContainer = 0xEE
	CALCommandTypeContainer_CALCommandStatusExtended_15Bytes CALCommandTypeContainer = 0xEF
	CALCommandTypeContainer_CALCommandStatusExtended_16Bytes CALCommandTypeContainer = 0xF0
	CALCommandTypeContainer_CALCommandStatusExtended_17Bytes CALCommandTypeContainer = 0xF1
	CALCommandTypeContainer_CALCommandStatusExtended_18Bytes CALCommandTypeContainer = 0xF2
	CALCommandTypeContainer_CALCommandStatusExtended_19Bytes CALCommandTypeContainer = 0xF3
	CALCommandTypeContainer_CALCommandStatusExtended_20Bytes CALCommandTypeContainer = 0xF4
	CALCommandTypeContainer_CALCommandStatusExtended_21Bytes CALCommandTypeContainer = 0xF5
	CALCommandTypeContainer_CALCommandStatusExtended_22Bytes CALCommandTypeContainer = 0xF6
	CALCommandTypeContainer_CALCommandStatusExtended_23Bytes CALCommandTypeContainer = 0xF7
	CALCommandTypeContainer_CALCommandStatusExtended_24Bytes CALCommandTypeContainer = 0xF8
	CALCommandTypeContainer_CALCommandStatusExtended_25Bytes CALCommandTypeContainer = 0xF9
	CALCommandTypeContainer_CALCommandStatusExtended_26Bytes CALCommandTypeContainer = 0xFA
	CALCommandTypeContainer_CALCommandStatusExtended_27Bytes CALCommandTypeContainer = 0xFB
	CALCommandTypeContainer_CALCommandStatusExtended_28Bytes CALCommandTypeContainer = 0xFC
	CALCommandTypeContainer_CALCommandStatusExtended_29Bytes CALCommandTypeContainer = 0xFD
	CALCommandTypeContainer_CALCommandStatusExtended_30Bytes CALCommandTypeContainer = 0xFE
	CALCommandTypeContainer_CALCommandStatusExtended_31Bytes CALCommandTypeContainer = 0xFF
)

var CALCommandTypeContainerValues []CALCommandTypeContainer

func init() {
	_ = errors.New
	CALCommandTypeContainerValues = []CALCommandTypeContainer{
		CALCommandTypeContainer_CALCommandReset,
		CALCommandTypeContainer_CALCommandRecall,
		CALCommandTypeContainer_CALCommandIdentify,
		CALCommandTypeContainer_CALCommandGetStatus,
		CALCommandTypeContainer_CALCommandAcknowledge,
		CALCommandTypeContainer_CALCommandReply_0Bytes,
		CALCommandTypeContainer_CALCommandReply_1Bytes,
		CALCommandTypeContainer_CALCommandReply_2Bytes,
		CALCommandTypeContainer_CALCommandReply_3Bytes,
		CALCommandTypeContainer_CALCommandReply_4Bytes,
		CALCommandTypeContainer_CALCommandReply_5Bytes,
		CALCommandTypeContainer_CALCommandReply_6Bytes,
		CALCommandTypeContainer_CALCommandReply_7Bytes,
		CALCommandTypeContainer_CALCommandReply_8Bytes,
		CALCommandTypeContainer_CALCommandReply_9Bytes,
		CALCommandTypeContainer_CALCommandReply_10Bytes,
		CALCommandTypeContainer_CALCommandReply_11Bytes,
		CALCommandTypeContainer_CALCommandReply_12Bytes,
		CALCommandTypeContainer_CALCommandReply_13Bytes,
		CALCommandTypeContainer_CALCommandReply_14Bytes,
		CALCommandTypeContainer_CALCommandReply_15Bytes,
		CALCommandTypeContainer_CALCommandReply_16Bytes,
		CALCommandTypeContainer_CALCommandReply_17Bytes,
		CALCommandTypeContainer_CALCommandReply_18Bytes,
		CALCommandTypeContainer_CALCommandReply_19Bytes,
		CALCommandTypeContainer_CALCommandReply_20Bytes,
		CALCommandTypeContainer_CALCommandReply_21Bytes,
		CALCommandTypeContainer_CALCommandReply_22Bytes,
		CALCommandTypeContainer_CALCommandReply_23Bytes,
		CALCommandTypeContainer_CALCommandReply_24Bytes,
		CALCommandTypeContainer_CALCommandReply_25Bytes,
		CALCommandTypeContainer_CALCommandReply_26Bytes,
		CALCommandTypeContainer_CALCommandReply_27Bytes,
		CALCommandTypeContainer_CALCommandReply_28Bytes,
		CALCommandTypeContainer_CALCommandReply_29Bytes,
		CALCommandTypeContainer_CALCommandReply_30Bytes,
		CALCommandTypeContainer_CALCommandReply_31Bytes,
		CALCommandTypeContainer_CALCommandWrite_0Bytes,
		CALCommandTypeContainer_CALCommandWrite_1Bytes,
		CALCommandTypeContainer_CALCommandWrite_2Bytes,
		CALCommandTypeContainer_CALCommandWrite_3Bytes,
		CALCommandTypeContainer_CALCommandWrite_4Bytes,
		CALCommandTypeContainer_CALCommandWrite_5Bytes,
		CALCommandTypeContainer_CALCommandWrite_6Bytes,
		CALCommandTypeContainer_CALCommandWrite_7Bytes,
		CALCommandTypeContainer_CALCommandWrite_8Bytes,
		CALCommandTypeContainer_CALCommandWrite_9Bytes,
		CALCommandTypeContainer_CALCommandWrite_10Bytes,
		CALCommandTypeContainer_CALCommandWrite_11Bytes,
		CALCommandTypeContainer_CALCommandWrite_12Bytes,
		CALCommandTypeContainer_CALCommandWrite_13Bytes,
		CALCommandTypeContainer_CALCommandWrite_14Bytes,
		CALCommandTypeContainer_CALCommandWrite_15Bytes,
		CALCommandTypeContainer_CALCommandStatus_0Bytes,
		CALCommandTypeContainer_CALCommandStatus_1Bytes,
		CALCommandTypeContainer_CALCommandStatus_2Bytes,
		CALCommandTypeContainer_CALCommandStatus_3Bytes,
		CALCommandTypeContainer_CALCommandStatus_4Bytes,
		CALCommandTypeContainer_CALCommandStatus_5Bytes,
		CALCommandTypeContainer_CALCommandStatus_6Bytes,
		CALCommandTypeContainer_CALCommandStatus_7Bytes,
		CALCommandTypeContainer_CALCommandStatus_8Bytes,
		CALCommandTypeContainer_CALCommandStatus_9Bytes,
		CALCommandTypeContainer_CALCommandStatus_10Bytes,
		CALCommandTypeContainer_CALCommandStatus_11Bytes,
		CALCommandTypeContainer_CALCommandStatus_12Bytes,
		CALCommandTypeContainer_CALCommandStatus_13Bytes,
		CALCommandTypeContainer_CALCommandStatus_14Bytes,
		CALCommandTypeContainer_CALCommandStatus_15Bytes,
		CALCommandTypeContainer_CALCommandStatus_16Bytes,
		CALCommandTypeContainer_CALCommandStatus_17Bytes,
		CALCommandTypeContainer_CALCommandStatus_18Bytes,
		CALCommandTypeContainer_CALCommandStatus_19Bytes,
		CALCommandTypeContainer_CALCommandStatus_20Bytes,
		CALCommandTypeContainer_CALCommandStatus_21Bytes,
		CALCommandTypeContainer_CALCommandStatus_22Bytes,
		CALCommandTypeContainer_CALCommandStatus_23Bytes,
		CALCommandTypeContainer_CALCommandStatus_24Bytes,
		CALCommandTypeContainer_CALCommandStatus_25Bytes,
		CALCommandTypeContainer_CALCommandStatus_26Bytes,
		CALCommandTypeContainer_CALCommandStatus_27Bytes,
		CALCommandTypeContainer_CALCommandStatus_28Bytes,
		CALCommandTypeContainer_CALCommandStatus_29Bytes,
		CALCommandTypeContainer_CALCommandStatus_30Bytes,
		CALCommandTypeContainer_CALCommandStatus_31Bytes,
		CALCommandTypeContainer_CALCommandStatusExtended_0Bytes,
		CALCommandTypeContainer_CALCommandStatusExtended_1Bytes,
		CALCommandTypeContainer_CALCommandStatusExtended_2Bytes,
		CALCommandTypeContainer_CALCommandStatusExtended_3Bytes,
		CALCommandTypeContainer_CALCommandStatusExtended_4Bytes,
		CALCommandTypeContainer_CALCommandStatusExtended_5Bytes,
		CALCommandTypeContainer_CALCommandStatusExtended_6Bytes,
		CALCommandTypeContainer_CALCommandStatusExtended_7Bytes,
		CALCommandTypeContainer_CALCommandStatusExtended_8Bytes,
		CALCommandTypeContainer_CALCommandStatusExtended_9Bytes,
		CALCommandTypeContainer_CALCommandStatusExtended_10Bytes,
		CALCommandTypeContainer_CALCommandStatusExtended_11Bytes,
		CALCommandTypeContainer_CALCommandStatusExtended_12Bytes,
		CALCommandTypeContainer_CALCommandStatusExtended_13Bytes,
		CALCommandTypeContainer_CALCommandStatusExtended_14Bytes,
		CALCommandTypeContainer_CALCommandStatusExtended_15Bytes,
		CALCommandTypeContainer_CALCommandStatusExtended_16Bytes,
		CALCommandTypeContainer_CALCommandStatusExtended_17Bytes,
		CALCommandTypeContainer_CALCommandStatusExtended_18Bytes,
		CALCommandTypeContainer_CALCommandStatusExtended_19Bytes,
		CALCommandTypeContainer_CALCommandStatusExtended_20Bytes,
		CALCommandTypeContainer_CALCommandStatusExtended_21Bytes,
		CALCommandTypeContainer_CALCommandStatusExtended_22Bytes,
		CALCommandTypeContainer_CALCommandStatusExtended_23Bytes,
		CALCommandTypeContainer_CALCommandStatusExtended_24Bytes,
		CALCommandTypeContainer_CALCommandStatusExtended_25Bytes,
		CALCommandTypeContainer_CALCommandStatusExtended_26Bytes,
		CALCommandTypeContainer_CALCommandStatusExtended_27Bytes,
		CALCommandTypeContainer_CALCommandStatusExtended_28Bytes,
		CALCommandTypeContainer_CALCommandStatusExtended_29Bytes,
		CALCommandTypeContainer_CALCommandStatusExtended_30Bytes,
		CALCommandTypeContainer_CALCommandStatusExtended_31Bytes,
	}
}

func (e CALCommandTypeContainer) NumBytes() uint8 {
	switch e {
	case 0x08:
		{ /* '0x08' */
			return 0
		}
	case 0x1A:
		{ /* '0x1A' */
			return 2
		}
	case 0x21:
		{ /* '0x21' */
			return 1
		}
	case 0x2A:
		{ /* '0x2A' */
			return 2
		}
	case 0x32:
		{ /* '0x32' */
			return 2
		}
	case 0x80:
		{ /* '0x80' */
			return 0
		}
	case 0x81:
		{ /* '0x81' */
			return 1
		}
	case 0x82:
		{ /* '0x82' */
			return 2
		}
	case 0x83:
		{ /* '0x83' */
			return 3
		}
	case 0x84:
		{ /* '0x84' */
			return 4
		}
	case 0x85:
		{ /* '0x85' */
			return 5
		}
	case 0x86:
		{ /* '0x86' */
			return 6
		}
	case 0x87:
		{ /* '0x87' */
			return 7
		}
	case 0x88:
		{ /* '0x88' */
			return 8
		}
	case 0x89:
		{ /* '0x89' */
			return 9
		}
	case 0x8A:
		{ /* '0x8A' */
			return 10
		}
	case 0x8B:
		{ /* '0x8B' */
			return 11
		}
	case 0x8C:
		{ /* '0x8C' */
			return 12
		}
	case 0x8D:
		{ /* '0x8D' */
			return 13
		}
	case 0x8E:
		{ /* '0x8E' */
			return 14
		}
	case 0x8F:
		{ /* '0x8F' */
			return 15
		}
	case 0x90:
		{ /* '0x90' */
			return 16
		}
	case 0x91:
		{ /* '0x91' */
			return 17
		}
	case 0x92:
		{ /* '0x92' */
			return 18
		}
	case 0x93:
		{ /* '0x93' */
			return 19
		}
	case 0x94:
		{ /* '0x94' */
			return 20
		}
	case 0x95:
		{ /* '0x95' */
			return 21
		}
	case 0x96:
		{ /* '0x96' */
			return 22
		}
	case 0x97:
		{ /* '0x97' */
			return 23
		}
	case 0x98:
		{ /* '0x98' */
			return 24
		}
	case 0x99:
		{ /* '0x99' */
			return 25
		}
	case 0x9A:
		{ /* '0x9A' */
			return 26
		}
	case 0x9B:
		{ /* '0x9B' */
			return 27
		}
	case 0x9C:
		{ /* '0x9C' */
			return 28
		}
	case 0x9D:
		{ /* '0x9D' */
			return 29
		}
	case 0x9E:
		{ /* '0x9E' */
			return 30
		}
	case 0x9F:
		{ /* '0x9F' */
			return 31
		}
	case 0xA0:
		{ /* '0xA0' */
			return 0
		}
	case 0xA1:
		{ /* '0xA1' */
			return 1
		}
	case 0xA2:
		{ /* '0xA2' */
			return 2
		}
	case 0xA3:
		{ /* '0xA3' */
			return 3
		}
	case 0xA4:
		{ /* '0xA4' */
			return 4
		}
	case 0xA5:
		{ /* '0xA5' */
			return 5
		}
	case 0xA6:
		{ /* '0xA6' */
			return 6
		}
	case 0xA7:
		{ /* '0xA7' */
			return 7
		}
	case 0xA8:
		{ /* '0xA8' */
			return 8
		}
	case 0xA9:
		{ /* '0xA9' */
			return 9
		}
	case 0xAA:
		{ /* '0xAA' */
			return 10
		}
	case 0xAB:
		{ /* '0xAB' */
			return 11
		}
	case 0xAC:
		{ /* '0xAC' */
			return 12
		}
	case 0xAD:
		{ /* '0xAD' */
			return 13
		}
	case 0xAE:
		{ /* '0xAE' */
			return 14
		}
	case 0xAF:
		{ /* '0xAF' */
			return 15
		}
	case 0xC0:
		{ /* '0xC0' */
			return 0
		}
	case 0xC1:
		{ /* '0xC1' */
			return 1
		}
	case 0xC2:
		{ /* '0xC2' */
			return 2
		}
	case 0xC3:
		{ /* '0xC3' */
			return 3
		}
	case 0xC4:
		{ /* '0xC4' */
			return 4
		}
	case 0xC5:
		{ /* '0xC5' */
			return 5
		}
	case 0xC6:
		{ /* '0xC6' */
			return 6
		}
	case 0xC7:
		{ /* '0xC7' */
			return 7
		}
	case 0xC8:
		{ /* '0xC8' */
			return 8
		}
	case 0xC9:
		{ /* '0xC9' */
			return 9
		}
	case 0xCA:
		{ /* '0xCA' */
			return 10
		}
	case 0xCB:
		{ /* '0xCB' */
			return 11
		}
	case 0xCC:
		{ /* '0xCC' */
			return 12
		}
	case 0xCD:
		{ /* '0xCD' */
			return 13
		}
	case 0xCE:
		{ /* '0xCE' */
			return 14
		}
	case 0xCF:
		{ /* '0xCF' */
			return 15
		}
	case 0xD0:
		{ /* '0xD0' */
			return 16
		}
	case 0xD1:
		{ /* '0xD1' */
			return 17
		}
	case 0xD2:
		{ /* '0xD2' */
			return 18
		}
	case 0xD3:
		{ /* '0xD3' */
			return 19
		}
	case 0xD4:
		{ /* '0xD4' */
			return 20
		}
	case 0xD5:
		{ /* '0xD5' */
			return 21
		}
	case 0xD6:
		{ /* '0xD6' */
			return 22
		}
	case 0xD7:
		{ /* '0xD7' */
			return 23
		}
	case 0xD8:
		{ /* '0xD8' */
			return 24
		}
	case 0xD9:
		{ /* '0xD9' */
			return 25
		}
	case 0xDA:
		{ /* '0xDA' */
			return 26
		}
	case 0xDB:
		{ /* '0xDB' */
			return 27
		}
	case 0xDC:
		{ /* '0xDC' */
			return 28
		}
	case 0xDD:
		{ /* '0xDD' */
			return 29
		}
	case 0xDE:
		{ /* '0xDE' */
			return 30
		}
	case 0xDF:
		{ /* '0xDF' */
			return 31
		}
	case 0xE0:
		{ /* '0xE0' */
			return 0
		}
	case 0xE1:
		{ /* '0xE1' */
			return 1
		}
	case 0xE2:
		{ /* '0xE2' */
			return 2
		}
	case 0xE3:
		{ /* '0xE3' */
			return 3
		}
	case 0xE4:
		{ /* '0xE4' */
			return 4
		}
	case 0xE5:
		{ /* '0xE5' */
			return 5
		}
	case 0xE6:
		{ /* '0xE6' */
			return 6
		}
	case 0xE7:
		{ /* '0xE7' */
			return 7
		}
	case 0xE8:
		{ /* '0xE8' */
			return 8
		}
	case 0xE9:
		{ /* '0xE9' */
			return 9
		}
	case 0xEA:
		{ /* '0xEA' */
			return 10
		}
	case 0xEB:
		{ /* '0xEB' */
			return 11
		}
	case 0xEC:
		{ /* '0xEC' */
			return 12
		}
	case 0xED:
		{ /* '0xED' */
			return 13
		}
	case 0xEE:
		{ /* '0xEE' */
			return 14
		}
	case 0xEF:
		{ /* '0xEF' */
			return 15
		}
	case 0xF0:
		{ /* '0xF0' */
			return 16
		}
	case 0xF1:
		{ /* '0xF1' */
			return 17
		}
	case 0xF2:
		{ /* '0xF2' */
			return 18
		}
	case 0xF3:
		{ /* '0xF3' */
			return 19
		}
	case 0xF4:
		{ /* '0xF4' */
			return 20
		}
	case 0xF5:
		{ /* '0xF5' */
			return 21
		}
	case 0xF6:
		{ /* '0xF6' */
			return 22
		}
	case 0xF7:
		{ /* '0xF7' */
			return 23
		}
	case 0xF8:
		{ /* '0xF8' */
			return 24
		}
	case 0xF9:
		{ /* '0xF9' */
			return 25
		}
	case 0xFA:
		{ /* '0xFA' */
			return 26
		}
	case 0xFB:
		{ /* '0xFB' */
			return 27
		}
	case 0xFC:
		{ /* '0xFC' */
			return 28
		}
	case 0xFD:
		{ /* '0xFD' */
			return 29
		}
	case 0xFE:
		{ /* '0xFE' */
			return 30
		}
	case 0xFF:
		{ /* '0xFF' */
			return 31
		}
	default:
		{
			return 0
		}
	}
}

func CALCommandTypeContainerFirstEnumForFieldNumBytes(value uint8) (enum CALCommandTypeContainer, ok bool) {
	for _, sizeValue := range CALCommandTypeContainerValues {
		if sizeValue.NumBytes() == value {
			return sizeValue, true
		}
	}
	return 0, false
}

func (e CALCommandTypeContainer) CommandType() CALCommandType {
	switch e {
	case 0x08:
		{ /* '0x08' */
			return CALCommandType_RESET
		}
	case 0x1A:
		{ /* '0x1A' */
			return CALCommandType_RECALL
		}
	case 0x21:
		{ /* '0x21' */
			return CALCommandType_IDENTIFY
		}
	case 0x2A:
		{ /* '0x2A' */
			return CALCommandType_GET_STATUS
		}
	case 0x32:
		{ /* '0x32' */
			return CALCommandType_ACKNOWLEDGE
		}
	case 0x80:
		{ /* '0x80' */
			return CALCommandType_REPLY
		}
	case 0x81:
		{ /* '0x81' */
			return CALCommandType_REPLY
		}
	case 0x82:
		{ /* '0x82' */
			return CALCommandType_REPLY
		}
	case 0x83:
		{ /* '0x83' */
			return CALCommandType_REPLY
		}
	case 0x84:
		{ /* '0x84' */
			return CALCommandType_REPLY
		}
	case 0x85:
		{ /* '0x85' */
			return CALCommandType_REPLY
		}
	case 0x86:
		{ /* '0x86' */
			return CALCommandType_REPLY
		}
	case 0x87:
		{ /* '0x87' */
			return CALCommandType_REPLY
		}
	case 0x88:
		{ /* '0x88' */
			return CALCommandType_REPLY
		}
	case 0x89:
		{ /* '0x89' */
			return CALCommandType_REPLY
		}
	case 0x8A:
		{ /* '0x8A' */
			return CALCommandType_REPLY
		}
	case 0x8B:
		{ /* '0x8B' */
			return CALCommandType_REPLY
		}
	case 0x8C:
		{ /* '0x8C' */
			return CALCommandType_REPLY
		}
	case 0x8D:
		{ /* '0x8D' */
			return CALCommandType_REPLY
		}
	case 0x8E:
		{ /* '0x8E' */
			return CALCommandType_REPLY
		}
	case 0x8F:
		{ /* '0x8F' */
			return CALCommandType_REPLY
		}
	case 0x90:
		{ /* '0x90' */
			return CALCommandType_REPLY
		}
	case 0x91:
		{ /* '0x91' */
			return CALCommandType_REPLY
		}
	case 0x92:
		{ /* '0x92' */
			return CALCommandType_REPLY
		}
	case 0x93:
		{ /* '0x93' */
			return CALCommandType_REPLY
		}
	case 0x94:
		{ /* '0x94' */
			return CALCommandType_REPLY
		}
	case 0x95:
		{ /* '0x95' */
			return CALCommandType_REPLY
		}
	case 0x96:
		{ /* '0x96' */
			return CALCommandType_REPLY
		}
	case 0x97:
		{ /* '0x97' */
			return CALCommandType_REPLY
		}
	case 0x98:
		{ /* '0x98' */
			return CALCommandType_REPLY
		}
	case 0x99:
		{ /* '0x99' */
			return CALCommandType_REPLY
		}
	case 0x9A:
		{ /* '0x9A' */
			return CALCommandType_REPLY
		}
	case 0x9B:
		{ /* '0x9B' */
			return CALCommandType_REPLY
		}
	case 0x9C:
		{ /* '0x9C' */
			return CALCommandType_REPLY
		}
	case 0x9D:
		{ /* '0x9D' */
			return CALCommandType_REPLY
		}
	case 0x9E:
		{ /* '0x9E' */
			return CALCommandType_REPLY
		}
	case 0x9F:
		{ /* '0x9F' */
			return CALCommandType_REPLY
		}
	case 0xA0:
		{ /* '0xA0' */
			return CALCommandType_WRITE
		}
	case 0xA1:
		{ /* '0xA1' */
			return CALCommandType_WRITE
		}
	case 0xA2:
		{ /* '0xA2' */
			return CALCommandType_WRITE
		}
	case 0xA3:
		{ /* '0xA3' */
			return CALCommandType_WRITE
		}
	case 0xA4:
		{ /* '0xA4' */
			return CALCommandType_WRITE
		}
	case 0xA5:
		{ /* '0xA5' */
			return CALCommandType_WRITE
		}
	case 0xA6:
		{ /* '0xA6' */
			return CALCommandType_WRITE
		}
	case 0xA7:
		{ /* '0xA7' */
			return CALCommandType_WRITE
		}
	case 0xA8:
		{ /* '0xA8' */
			return CALCommandType_WRITE
		}
	case 0xA9:
		{ /* '0xA9' */
			return CALCommandType_WRITE
		}
	case 0xAA:
		{ /* '0xAA' */
			return CALCommandType_WRITE
		}
	case 0xAB:
		{ /* '0xAB' */
			return CALCommandType_WRITE
		}
	case 0xAC:
		{ /* '0xAC' */
			return CALCommandType_WRITE
		}
	case 0xAD:
		{ /* '0xAD' */
			return CALCommandType_WRITE
		}
	case 0xAE:
		{ /* '0xAE' */
			return CALCommandType_WRITE
		}
	case 0xAF:
		{ /* '0xAF' */
			return CALCommandType_WRITE
		}
	case 0xC0:
		{ /* '0xC0' */
			return CALCommandType_STATUS
		}
	case 0xC1:
		{ /* '0xC1' */
			return CALCommandType_STATUS
		}
	case 0xC2:
		{ /* '0xC2' */
			return CALCommandType_STATUS
		}
	case 0xC3:
		{ /* '0xC3' */
			return CALCommandType_STATUS
		}
	case 0xC4:
		{ /* '0xC4' */
			return CALCommandType_STATUS
		}
	case 0xC5:
		{ /* '0xC5' */
			return CALCommandType_STATUS
		}
	case 0xC6:
		{ /* '0xC6' */
			return CALCommandType_STATUS
		}
	case 0xC7:
		{ /* '0xC7' */
			return CALCommandType_STATUS
		}
	case 0xC8:
		{ /* '0xC8' */
			return CALCommandType_STATUS
		}
	case 0xC9:
		{ /* '0xC9' */
			return CALCommandType_STATUS
		}
	case 0xCA:
		{ /* '0xCA' */
			return CALCommandType_STATUS
		}
	case 0xCB:
		{ /* '0xCB' */
			return CALCommandType_STATUS
		}
	case 0xCC:
		{ /* '0xCC' */
			return CALCommandType_STATUS
		}
	case 0xCD:
		{ /* '0xCD' */
			return CALCommandType_STATUS
		}
	case 0xCE:
		{ /* '0xCE' */
			return CALCommandType_STATUS
		}
	case 0xCF:
		{ /* '0xCF' */
			return CALCommandType_STATUS
		}
	case 0xD0:
		{ /* '0xD0' */
			return CALCommandType_STATUS
		}
	case 0xD1:
		{ /* '0xD1' */
			return CALCommandType_STATUS
		}
	case 0xD2:
		{ /* '0xD2' */
			return CALCommandType_STATUS
		}
	case 0xD3:
		{ /* '0xD3' */
			return CALCommandType_STATUS
		}
	case 0xD4:
		{ /* '0xD4' */
			return CALCommandType_STATUS
		}
	case 0xD5:
		{ /* '0xD5' */
			return CALCommandType_STATUS
		}
	case 0xD6:
		{ /* '0xD6' */
			return CALCommandType_STATUS
		}
	case 0xD7:
		{ /* '0xD7' */
			return CALCommandType_STATUS
		}
	case 0xD8:
		{ /* '0xD8' */
			return CALCommandType_STATUS
		}
	case 0xD9:
		{ /* '0xD9' */
			return CALCommandType_STATUS
		}
	case 0xDA:
		{ /* '0xDA' */
			return CALCommandType_STATUS
		}
	case 0xDB:
		{ /* '0xDB' */
			return CALCommandType_STATUS
		}
	case 0xDC:
		{ /* '0xDC' */
			return CALCommandType_STATUS
		}
	case 0xDD:
		{ /* '0xDD' */
			return CALCommandType_STATUS
		}
	case 0xDE:
		{ /* '0xDE' */
			return CALCommandType_STATUS
		}
	case 0xDF:
		{ /* '0xDF' */
			return CALCommandType_STATUS
		}
	case 0xE0:
		{ /* '0xE0' */
			return CALCommandType_STATUS_EXTENDED
		}
	case 0xE1:
		{ /* '0xE1' */
			return CALCommandType_STATUS_EXTENDED
		}
	case 0xE2:
		{ /* '0xE2' */
			return CALCommandType_STATUS_EXTENDED
		}
	case 0xE3:
		{ /* '0xE3' */
			return CALCommandType_STATUS_EXTENDED
		}
	case 0xE4:
		{ /* '0xE4' */
			return CALCommandType_STATUS_EXTENDED
		}
	case 0xE5:
		{ /* '0xE5' */
			return CALCommandType_STATUS_EXTENDED
		}
	case 0xE6:
		{ /* '0xE6' */
			return CALCommandType_STATUS_EXTENDED
		}
	case 0xE7:
		{ /* '0xE7' */
			return CALCommandType_STATUS_EXTENDED
		}
	case 0xE8:
		{ /* '0xE8' */
			return CALCommandType_STATUS_EXTENDED
		}
	case 0xE9:
		{ /* '0xE9' */
			return CALCommandType_STATUS_EXTENDED
		}
	case 0xEA:
		{ /* '0xEA' */
			return CALCommandType_STATUS_EXTENDED
		}
	case 0xEB:
		{ /* '0xEB' */
			return CALCommandType_STATUS_EXTENDED
		}
	case 0xEC:
		{ /* '0xEC' */
			return CALCommandType_STATUS_EXTENDED
		}
	case 0xED:
		{ /* '0xED' */
			return CALCommandType_STATUS_EXTENDED
		}
	case 0xEE:
		{ /* '0xEE' */
			return CALCommandType_STATUS_EXTENDED
		}
	case 0xEF:
		{ /* '0xEF' */
			return CALCommandType_STATUS_EXTENDED
		}
	case 0xF0:
		{ /* '0xF0' */
			return CALCommandType_STATUS_EXTENDED
		}
	case 0xF1:
		{ /* '0xF1' */
			return CALCommandType_STATUS_EXTENDED
		}
	case 0xF2:
		{ /* '0xF2' */
			return CALCommandType_STATUS_EXTENDED
		}
	case 0xF3:
		{ /* '0xF3' */
			return CALCommandType_STATUS_EXTENDED
		}
	case 0xF4:
		{ /* '0xF4' */
			return CALCommandType_STATUS_EXTENDED
		}
	case 0xF5:
		{ /* '0xF5' */
			return CALCommandType_STATUS_EXTENDED
		}
	case 0xF6:
		{ /* '0xF6' */
			return CALCommandType_STATUS_EXTENDED
		}
	case 0xF7:
		{ /* '0xF7' */
			return CALCommandType_STATUS_EXTENDED
		}
	case 0xF8:
		{ /* '0xF8' */
			return CALCommandType_STATUS_EXTENDED
		}
	case 0xF9:
		{ /* '0xF9' */
			return CALCommandType_STATUS_EXTENDED
		}
	case 0xFA:
		{ /* '0xFA' */
			return CALCommandType_STATUS_EXTENDED
		}
	case 0xFB:
		{ /* '0xFB' */
			return CALCommandType_STATUS_EXTENDED
		}
	case 0xFC:
		{ /* '0xFC' */
			return CALCommandType_STATUS_EXTENDED
		}
	case 0xFD:
		{ /* '0xFD' */
			return CALCommandType_STATUS_EXTENDED
		}
	case 0xFE:
		{ /* '0xFE' */
			return CALCommandType_STATUS_EXTENDED
		}
	case 0xFF:
		{ /* '0xFF' */
			return CALCommandType_STATUS_EXTENDED
		}
	default:
		{
			return 0
		}
	}
}

func CALCommandTypeContainerFirstEnumForFieldCommandType(value CALCommandType) (enum CALCommandTypeContainer, ok bool) {
	for _, sizeValue := range CALCommandTypeContainerValues {
		if sizeValue.CommandType() == value {
			return sizeValue, true
		}
	}
	return 0, false
}
func CALCommandTypeContainerByValue(value uint8) (enum CALCommandTypeContainer, ok bool) {
	switch value {
	case 0x08:
		return CALCommandTypeContainer_CALCommandReset, true
	case 0x1A:
		return CALCommandTypeContainer_CALCommandRecall, true
	case 0x21:
		return CALCommandTypeContainer_CALCommandIdentify, true
	case 0x2A:
		return CALCommandTypeContainer_CALCommandGetStatus, true
	case 0x32:
		return CALCommandTypeContainer_CALCommandAcknowledge, true
	case 0x80:
		return CALCommandTypeContainer_CALCommandReply_0Bytes, true
	case 0x81:
		return CALCommandTypeContainer_CALCommandReply_1Bytes, true
	case 0x82:
		return CALCommandTypeContainer_CALCommandReply_2Bytes, true
	case 0x83:
		return CALCommandTypeContainer_CALCommandReply_3Bytes, true
	case 0x84:
		return CALCommandTypeContainer_CALCommandReply_4Bytes, true
	case 0x85:
		return CALCommandTypeContainer_CALCommandReply_5Bytes, true
	case 0x86:
		return CALCommandTypeContainer_CALCommandReply_6Bytes, true
	case 0x87:
		return CALCommandTypeContainer_CALCommandReply_7Bytes, true
	case 0x88:
		return CALCommandTypeContainer_CALCommandReply_8Bytes, true
	case 0x89:
		return CALCommandTypeContainer_CALCommandReply_9Bytes, true
	case 0x8A:
		return CALCommandTypeContainer_CALCommandReply_10Bytes, true
	case 0x8B:
		return CALCommandTypeContainer_CALCommandReply_11Bytes, true
	case 0x8C:
		return CALCommandTypeContainer_CALCommandReply_12Bytes, true
	case 0x8D:
		return CALCommandTypeContainer_CALCommandReply_13Bytes, true
	case 0x8E:
		return CALCommandTypeContainer_CALCommandReply_14Bytes, true
	case 0x8F:
		return CALCommandTypeContainer_CALCommandReply_15Bytes, true
	case 0x90:
		return CALCommandTypeContainer_CALCommandReply_16Bytes, true
	case 0x91:
		return CALCommandTypeContainer_CALCommandReply_17Bytes, true
	case 0x92:
		return CALCommandTypeContainer_CALCommandReply_18Bytes, true
	case 0x93:
		return CALCommandTypeContainer_CALCommandReply_19Bytes, true
	case 0x94:
		return CALCommandTypeContainer_CALCommandReply_20Bytes, true
	case 0x95:
		return CALCommandTypeContainer_CALCommandReply_21Bytes, true
	case 0x96:
		return CALCommandTypeContainer_CALCommandReply_22Bytes, true
	case 0x97:
		return CALCommandTypeContainer_CALCommandReply_23Bytes, true
	case 0x98:
		return CALCommandTypeContainer_CALCommandReply_24Bytes, true
	case 0x99:
		return CALCommandTypeContainer_CALCommandReply_25Bytes, true
	case 0x9A:
		return CALCommandTypeContainer_CALCommandReply_26Bytes, true
	case 0x9B:
		return CALCommandTypeContainer_CALCommandReply_27Bytes, true
	case 0x9C:
		return CALCommandTypeContainer_CALCommandReply_28Bytes, true
	case 0x9D:
		return CALCommandTypeContainer_CALCommandReply_29Bytes, true
	case 0x9E:
		return CALCommandTypeContainer_CALCommandReply_30Bytes, true
	case 0x9F:
		return CALCommandTypeContainer_CALCommandReply_31Bytes, true
	case 0xA0:
		return CALCommandTypeContainer_CALCommandWrite_0Bytes, true
	case 0xA1:
		return CALCommandTypeContainer_CALCommandWrite_1Bytes, true
	case 0xA2:
		return CALCommandTypeContainer_CALCommandWrite_2Bytes, true
	case 0xA3:
		return CALCommandTypeContainer_CALCommandWrite_3Bytes, true
	case 0xA4:
		return CALCommandTypeContainer_CALCommandWrite_4Bytes, true
	case 0xA5:
		return CALCommandTypeContainer_CALCommandWrite_5Bytes, true
	case 0xA6:
		return CALCommandTypeContainer_CALCommandWrite_6Bytes, true
	case 0xA7:
		return CALCommandTypeContainer_CALCommandWrite_7Bytes, true
	case 0xA8:
		return CALCommandTypeContainer_CALCommandWrite_8Bytes, true
	case 0xA9:
		return CALCommandTypeContainer_CALCommandWrite_9Bytes, true
	case 0xAA:
		return CALCommandTypeContainer_CALCommandWrite_10Bytes, true
	case 0xAB:
		return CALCommandTypeContainer_CALCommandWrite_11Bytes, true
	case 0xAC:
		return CALCommandTypeContainer_CALCommandWrite_12Bytes, true
	case 0xAD:
		return CALCommandTypeContainer_CALCommandWrite_13Bytes, true
	case 0xAE:
		return CALCommandTypeContainer_CALCommandWrite_14Bytes, true
	case 0xAF:
		return CALCommandTypeContainer_CALCommandWrite_15Bytes, true
	case 0xC0:
		return CALCommandTypeContainer_CALCommandStatus_0Bytes, true
	case 0xC1:
		return CALCommandTypeContainer_CALCommandStatus_1Bytes, true
	case 0xC2:
		return CALCommandTypeContainer_CALCommandStatus_2Bytes, true
	case 0xC3:
		return CALCommandTypeContainer_CALCommandStatus_3Bytes, true
	case 0xC4:
		return CALCommandTypeContainer_CALCommandStatus_4Bytes, true
	case 0xC5:
		return CALCommandTypeContainer_CALCommandStatus_5Bytes, true
	case 0xC6:
		return CALCommandTypeContainer_CALCommandStatus_6Bytes, true
	case 0xC7:
		return CALCommandTypeContainer_CALCommandStatus_7Bytes, true
	case 0xC8:
		return CALCommandTypeContainer_CALCommandStatus_8Bytes, true
	case 0xC9:
		return CALCommandTypeContainer_CALCommandStatus_9Bytes, true
	case 0xCA:
		return CALCommandTypeContainer_CALCommandStatus_10Bytes, true
	case 0xCB:
		return CALCommandTypeContainer_CALCommandStatus_11Bytes, true
	case 0xCC:
		return CALCommandTypeContainer_CALCommandStatus_12Bytes, true
	case 0xCD:
		return CALCommandTypeContainer_CALCommandStatus_13Bytes, true
	case 0xCE:
		return CALCommandTypeContainer_CALCommandStatus_14Bytes, true
	case 0xCF:
		return CALCommandTypeContainer_CALCommandStatus_15Bytes, true
	case 0xD0:
		return CALCommandTypeContainer_CALCommandStatus_16Bytes, true
	case 0xD1:
		return CALCommandTypeContainer_CALCommandStatus_17Bytes, true
	case 0xD2:
		return CALCommandTypeContainer_CALCommandStatus_18Bytes, true
	case 0xD3:
		return CALCommandTypeContainer_CALCommandStatus_19Bytes, true
	case 0xD4:
		return CALCommandTypeContainer_CALCommandStatus_20Bytes, true
	case 0xD5:
		return CALCommandTypeContainer_CALCommandStatus_21Bytes, true
	case 0xD6:
		return CALCommandTypeContainer_CALCommandStatus_22Bytes, true
	case 0xD7:
		return CALCommandTypeContainer_CALCommandStatus_23Bytes, true
	case 0xD8:
		return CALCommandTypeContainer_CALCommandStatus_24Bytes, true
	case 0xD9:
		return CALCommandTypeContainer_CALCommandStatus_25Bytes, true
	case 0xDA:
		return CALCommandTypeContainer_CALCommandStatus_26Bytes, true
	case 0xDB:
		return CALCommandTypeContainer_CALCommandStatus_27Bytes, true
	case 0xDC:
		return CALCommandTypeContainer_CALCommandStatus_28Bytes, true
	case 0xDD:
		return CALCommandTypeContainer_CALCommandStatus_29Bytes, true
	case 0xDE:
		return CALCommandTypeContainer_CALCommandStatus_30Bytes, true
	case 0xDF:
		return CALCommandTypeContainer_CALCommandStatus_31Bytes, true
	case 0xE0:
		return CALCommandTypeContainer_CALCommandStatusExtended_0Bytes, true
	case 0xE1:
		return CALCommandTypeContainer_CALCommandStatusExtended_1Bytes, true
	case 0xE2:
		return CALCommandTypeContainer_CALCommandStatusExtended_2Bytes, true
	case 0xE3:
		return CALCommandTypeContainer_CALCommandStatusExtended_3Bytes, true
	case 0xE4:
		return CALCommandTypeContainer_CALCommandStatusExtended_4Bytes, true
	case 0xE5:
		return CALCommandTypeContainer_CALCommandStatusExtended_5Bytes, true
	case 0xE6:
		return CALCommandTypeContainer_CALCommandStatusExtended_6Bytes, true
	case 0xE7:
		return CALCommandTypeContainer_CALCommandStatusExtended_7Bytes, true
	case 0xE8:
		return CALCommandTypeContainer_CALCommandStatusExtended_8Bytes, true
	case 0xE9:
		return CALCommandTypeContainer_CALCommandStatusExtended_9Bytes, true
	case 0xEA:
		return CALCommandTypeContainer_CALCommandStatusExtended_10Bytes, true
	case 0xEB:
		return CALCommandTypeContainer_CALCommandStatusExtended_11Bytes, true
	case 0xEC:
		return CALCommandTypeContainer_CALCommandStatusExtended_12Bytes, true
	case 0xED:
		return CALCommandTypeContainer_CALCommandStatusExtended_13Bytes, true
	case 0xEE:
		return CALCommandTypeContainer_CALCommandStatusExtended_14Bytes, true
	case 0xEF:
		return CALCommandTypeContainer_CALCommandStatusExtended_15Bytes, true
	case 0xF0:
		return CALCommandTypeContainer_CALCommandStatusExtended_16Bytes, true
	case 0xF1:
		return CALCommandTypeContainer_CALCommandStatusExtended_17Bytes, true
	case 0xF2:
		return CALCommandTypeContainer_CALCommandStatusExtended_18Bytes, true
	case 0xF3:
		return CALCommandTypeContainer_CALCommandStatusExtended_19Bytes, true
	case 0xF4:
		return CALCommandTypeContainer_CALCommandStatusExtended_20Bytes, true
	case 0xF5:
		return CALCommandTypeContainer_CALCommandStatusExtended_21Bytes, true
	case 0xF6:
		return CALCommandTypeContainer_CALCommandStatusExtended_22Bytes, true
	case 0xF7:
		return CALCommandTypeContainer_CALCommandStatusExtended_23Bytes, true
	case 0xF8:
		return CALCommandTypeContainer_CALCommandStatusExtended_24Bytes, true
	case 0xF9:
		return CALCommandTypeContainer_CALCommandStatusExtended_25Bytes, true
	case 0xFA:
		return CALCommandTypeContainer_CALCommandStatusExtended_26Bytes, true
	case 0xFB:
		return CALCommandTypeContainer_CALCommandStatusExtended_27Bytes, true
	case 0xFC:
		return CALCommandTypeContainer_CALCommandStatusExtended_28Bytes, true
	case 0xFD:
		return CALCommandTypeContainer_CALCommandStatusExtended_29Bytes, true
	case 0xFE:
		return CALCommandTypeContainer_CALCommandStatusExtended_30Bytes, true
	case 0xFF:
		return CALCommandTypeContainer_CALCommandStatusExtended_31Bytes, true
	}
	return 0, false
}

func CALCommandTypeContainerByName(value string) (enum CALCommandTypeContainer, ok bool) {
	switch value {
	case "CALCommandReset":
		return CALCommandTypeContainer_CALCommandReset, true
	case "CALCommandRecall":
		return CALCommandTypeContainer_CALCommandRecall, true
	case "CALCommandIdentify":
		return CALCommandTypeContainer_CALCommandIdentify, true
	case "CALCommandGetStatus":
		return CALCommandTypeContainer_CALCommandGetStatus, true
	case "CALCommandAcknowledge":
		return CALCommandTypeContainer_CALCommandAcknowledge, true
	case "CALCommandReply_0Bytes":
		return CALCommandTypeContainer_CALCommandReply_0Bytes, true
	case "CALCommandReply_1Bytes":
		return CALCommandTypeContainer_CALCommandReply_1Bytes, true
	case "CALCommandReply_2Bytes":
		return CALCommandTypeContainer_CALCommandReply_2Bytes, true
	case "CALCommandReply_3Bytes":
		return CALCommandTypeContainer_CALCommandReply_3Bytes, true
	case "CALCommandReply_4Bytes":
		return CALCommandTypeContainer_CALCommandReply_4Bytes, true
	case "CALCommandReply_5Bytes":
		return CALCommandTypeContainer_CALCommandReply_5Bytes, true
	case "CALCommandReply_6Bytes":
		return CALCommandTypeContainer_CALCommandReply_6Bytes, true
	case "CALCommandReply_7Bytes":
		return CALCommandTypeContainer_CALCommandReply_7Bytes, true
	case "CALCommandReply_8Bytes":
		return CALCommandTypeContainer_CALCommandReply_8Bytes, true
	case "CALCommandReply_9Bytes":
		return CALCommandTypeContainer_CALCommandReply_9Bytes, true
	case "CALCommandReply_10Bytes":
		return CALCommandTypeContainer_CALCommandReply_10Bytes, true
	case "CALCommandReply_11Bytes":
		return CALCommandTypeContainer_CALCommandReply_11Bytes, true
	case "CALCommandReply_12Bytes":
		return CALCommandTypeContainer_CALCommandReply_12Bytes, true
	case "CALCommandReply_13Bytes":
		return CALCommandTypeContainer_CALCommandReply_13Bytes, true
	case "CALCommandReply_14Bytes":
		return CALCommandTypeContainer_CALCommandReply_14Bytes, true
	case "CALCommandReply_15Bytes":
		return CALCommandTypeContainer_CALCommandReply_15Bytes, true
	case "CALCommandReply_16Bytes":
		return CALCommandTypeContainer_CALCommandReply_16Bytes, true
	case "CALCommandReply_17Bytes":
		return CALCommandTypeContainer_CALCommandReply_17Bytes, true
	case "CALCommandReply_18Bytes":
		return CALCommandTypeContainer_CALCommandReply_18Bytes, true
	case "CALCommandReply_19Bytes":
		return CALCommandTypeContainer_CALCommandReply_19Bytes, true
	case "CALCommandReply_20Bytes":
		return CALCommandTypeContainer_CALCommandReply_20Bytes, true
	case "CALCommandReply_21Bytes":
		return CALCommandTypeContainer_CALCommandReply_21Bytes, true
	case "CALCommandReply_22Bytes":
		return CALCommandTypeContainer_CALCommandReply_22Bytes, true
	case "CALCommandReply_23Bytes":
		return CALCommandTypeContainer_CALCommandReply_23Bytes, true
	case "CALCommandReply_24Bytes":
		return CALCommandTypeContainer_CALCommandReply_24Bytes, true
	case "CALCommandReply_25Bytes":
		return CALCommandTypeContainer_CALCommandReply_25Bytes, true
	case "CALCommandReply_26Bytes":
		return CALCommandTypeContainer_CALCommandReply_26Bytes, true
	case "CALCommandReply_27Bytes":
		return CALCommandTypeContainer_CALCommandReply_27Bytes, true
	case "CALCommandReply_28Bytes":
		return CALCommandTypeContainer_CALCommandReply_28Bytes, true
	case "CALCommandReply_29Bytes":
		return CALCommandTypeContainer_CALCommandReply_29Bytes, true
	case "CALCommandReply_30Bytes":
		return CALCommandTypeContainer_CALCommandReply_30Bytes, true
	case "CALCommandReply_31Bytes":
		return CALCommandTypeContainer_CALCommandReply_31Bytes, true
	case "CALCommandWrite_0Bytes":
		return CALCommandTypeContainer_CALCommandWrite_0Bytes, true
	case "CALCommandWrite_1Bytes":
		return CALCommandTypeContainer_CALCommandWrite_1Bytes, true
	case "CALCommandWrite_2Bytes":
		return CALCommandTypeContainer_CALCommandWrite_2Bytes, true
	case "CALCommandWrite_3Bytes":
		return CALCommandTypeContainer_CALCommandWrite_3Bytes, true
	case "CALCommandWrite_4Bytes":
		return CALCommandTypeContainer_CALCommandWrite_4Bytes, true
	case "CALCommandWrite_5Bytes":
		return CALCommandTypeContainer_CALCommandWrite_5Bytes, true
	case "CALCommandWrite_6Bytes":
		return CALCommandTypeContainer_CALCommandWrite_6Bytes, true
	case "CALCommandWrite_7Bytes":
		return CALCommandTypeContainer_CALCommandWrite_7Bytes, true
	case "CALCommandWrite_8Bytes":
		return CALCommandTypeContainer_CALCommandWrite_8Bytes, true
	case "CALCommandWrite_9Bytes":
		return CALCommandTypeContainer_CALCommandWrite_9Bytes, true
	case "CALCommandWrite_10Bytes":
		return CALCommandTypeContainer_CALCommandWrite_10Bytes, true
	case "CALCommandWrite_11Bytes":
		return CALCommandTypeContainer_CALCommandWrite_11Bytes, true
	case "CALCommandWrite_12Bytes":
		return CALCommandTypeContainer_CALCommandWrite_12Bytes, true
	case "CALCommandWrite_13Bytes":
		return CALCommandTypeContainer_CALCommandWrite_13Bytes, true
	case "CALCommandWrite_14Bytes":
		return CALCommandTypeContainer_CALCommandWrite_14Bytes, true
	case "CALCommandWrite_15Bytes":
		return CALCommandTypeContainer_CALCommandWrite_15Bytes, true
	case "CALCommandStatus_0Bytes":
		return CALCommandTypeContainer_CALCommandStatus_0Bytes, true
	case "CALCommandStatus_1Bytes":
		return CALCommandTypeContainer_CALCommandStatus_1Bytes, true
	case "CALCommandStatus_2Bytes":
		return CALCommandTypeContainer_CALCommandStatus_2Bytes, true
	case "CALCommandStatus_3Bytes":
		return CALCommandTypeContainer_CALCommandStatus_3Bytes, true
	case "CALCommandStatus_4Bytes":
		return CALCommandTypeContainer_CALCommandStatus_4Bytes, true
	case "CALCommandStatus_5Bytes":
		return CALCommandTypeContainer_CALCommandStatus_5Bytes, true
	case "CALCommandStatus_6Bytes":
		return CALCommandTypeContainer_CALCommandStatus_6Bytes, true
	case "CALCommandStatus_7Bytes":
		return CALCommandTypeContainer_CALCommandStatus_7Bytes, true
	case "CALCommandStatus_8Bytes":
		return CALCommandTypeContainer_CALCommandStatus_8Bytes, true
	case "CALCommandStatus_9Bytes":
		return CALCommandTypeContainer_CALCommandStatus_9Bytes, true
	case "CALCommandStatus_10Bytes":
		return CALCommandTypeContainer_CALCommandStatus_10Bytes, true
	case "CALCommandStatus_11Bytes":
		return CALCommandTypeContainer_CALCommandStatus_11Bytes, true
	case "CALCommandStatus_12Bytes":
		return CALCommandTypeContainer_CALCommandStatus_12Bytes, true
	case "CALCommandStatus_13Bytes":
		return CALCommandTypeContainer_CALCommandStatus_13Bytes, true
	case "CALCommandStatus_14Bytes":
		return CALCommandTypeContainer_CALCommandStatus_14Bytes, true
	case "CALCommandStatus_15Bytes":
		return CALCommandTypeContainer_CALCommandStatus_15Bytes, true
	case "CALCommandStatus_16Bytes":
		return CALCommandTypeContainer_CALCommandStatus_16Bytes, true
	case "CALCommandStatus_17Bytes":
		return CALCommandTypeContainer_CALCommandStatus_17Bytes, true
	case "CALCommandStatus_18Bytes":
		return CALCommandTypeContainer_CALCommandStatus_18Bytes, true
	case "CALCommandStatus_19Bytes":
		return CALCommandTypeContainer_CALCommandStatus_19Bytes, true
	case "CALCommandStatus_20Bytes":
		return CALCommandTypeContainer_CALCommandStatus_20Bytes, true
	case "CALCommandStatus_21Bytes":
		return CALCommandTypeContainer_CALCommandStatus_21Bytes, true
	case "CALCommandStatus_22Bytes":
		return CALCommandTypeContainer_CALCommandStatus_22Bytes, true
	case "CALCommandStatus_23Bytes":
		return CALCommandTypeContainer_CALCommandStatus_23Bytes, true
	case "CALCommandStatus_24Bytes":
		return CALCommandTypeContainer_CALCommandStatus_24Bytes, true
	case "CALCommandStatus_25Bytes":
		return CALCommandTypeContainer_CALCommandStatus_25Bytes, true
	case "CALCommandStatus_26Bytes":
		return CALCommandTypeContainer_CALCommandStatus_26Bytes, true
	case "CALCommandStatus_27Bytes":
		return CALCommandTypeContainer_CALCommandStatus_27Bytes, true
	case "CALCommandStatus_28Bytes":
		return CALCommandTypeContainer_CALCommandStatus_28Bytes, true
	case "CALCommandStatus_29Bytes":
		return CALCommandTypeContainer_CALCommandStatus_29Bytes, true
	case "CALCommandStatus_30Bytes":
		return CALCommandTypeContainer_CALCommandStatus_30Bytes, true
	case "CALCommandStatus_31Bytes":
		return CALCommandTypeContainer_CALCommandStatus_31Bytes, true
	case "CALCommandStatusExtended_0Bytes":
		return CALCommandTypeContainer_CALCommandStatusExtended_0Bytes, true
	case "CALCommandStatusExtended_1Bytes":
		return CALCommandTypeContainer_CALCommandStatusExtended_1Bytes, true
	case "CALCommandStatusExtended_2Bytes":
		return CALCommandTypeContainer_CALCommandStatusExtended_2Bytes, true
	case "CALCommandStatusExtended_3Bytes":
		return CALCommandTypeContainer_CALCommandStatusExtended_3Bytes, true
	case "CALCommandStatusExtended_4Bytes":
		return CALCommandTypeContainer_CALCommandStatusExtended_4Bytes, true
	case "CALCommandStatusExtended_5Bytes":
		return CALCommandTypeContainer_CALCommandStatusExtended_5Bytes, true
	case "CALCommandStatusExtended_6Bytes":
		return CALCommandTypeContainer_CALCommandStatusExtended_6Bytes, true
	case "CALCommandStatusExtended_7Bytes":
		return CALCommandTypeContainer_CALCommandStatusExtended_7Bytes, true
	case "CALCommandStatusExtended_8Bytes":
		return CALCommandTypeContainer_CALCommandStatusExtended_8Bytes, true
	case "CALCommandStatusExtended_9Bytes":
		return CALCommandTypeContainer_CALCommandStatusExtended_9Bytes, true
	case "CALCommandStatusExtended_10Bytes":
		return CALCommandTypeContainer_CALCommandStatusExtended_10Bytes, true
	case "CALCommandStatusExtended_11Bytes":
		return CALCommandTypeContainer_CALCommandStatusExtended_11Bytes, true
	case "CALCommandStatusExtended_12Bytes":
		return CALCommandTypeContainer_CALCommandStatusExtended_12Bytes, true
	case "CALCommandStatusExtended_13Bytes":
		return CALCommandTypeContainer_CALCommandStatusExtended_13Bytes, true
	case "CALCommandStatusExtended_14Bytes":
		return CALCommandTypeContainer_CALCommandStatusExtended_14Bytes, true
	case "CALCommandStatusExtended_15Bytes":
		return CALCommandTypeContainer_CALCommandStatusExtended_15Bytes, true
	case "CALCommandStatusExtended_16Bytes":
		return CALCommandTypeContainer_CALCommandStatusExtended_16Bytes, true
	case "CALCommandStatusExtended_17Bytes":
		return CALCommandTypeContainer_CALCommandStatusExtended_17Bytes, true
	case "CALCommandStatusExtended_18Bytes":
		return CALCommandTypeContainer_CALCommandStatusExtended_18Bytes, true
	case "CALCommandStatusExtended_19Bytes":
		return CALCommandTypeContainer_CALCommandStatusExtended_19Bytes, true
	case "CALCommandStatusExtended_20Bytes":
		return CALCommandTypeContainer_CALCommandStatusExtended_20Bytes, true
	case "CALCommandStatusExtended_21Bytes":
		return CALCommandTypeContainer_CALCommandStatusExtended_21Bytes, true
	case "CALCommandStatusExtended_22Bytes":
		return CALCommandTypeContainer_CALCommandStatusExtended_22Bytes, true
	case "CALCommandStatusExtended_23Bytes":
		return CALCommandTypeContainer_CALCommandStatusExtended_23Bytes, true
	case "CALCommandStatusExtended_24Bytes":
		return CALCommandTypeContainer_CALCommandStatusExtended_24Bytes, true
	case "CALCommandStatusExtended_25Bytes":
		return CALCommandTypeContainer_CALCommandStatusExtended_25Bytes, true
	case "CALCommandStatusExtended_26Bytes":
		return CALCommandTypeContainer_CALCommandStatusExtended_26Bytes, true
	case "CALCommandStatusExtended_27Bytes":
		return CALCommandTypeContainer_CALCommandStatusExtended_27Bytes, true
	case "CALCommandStatusExtended_28Bytes":
		return CALCommandTypeContainer_CALCommandStatusExtended_28Bytes, true
	case "CALCommandStatusExtended_29Bytes":
		return CALCommandTypeContainer_CALCommandStatusExtended_29Bytes, true
	case "CALCommandStatusExtended_30Bytes":
		return CALCommandTypeContainer_CALCommandStatusExtended_30Bytes, true
	case "CALCommandStatusExtended_31Bytes":
		return CALCommandTypeContainer_CALCommandStatusExtended_31Bytes, true
	}
	return 0, false
}

func CALCommandTypeContainerKnows(value uint8) bool {
	for _, typeValue := range CALCommandTypeContainerValues {
		if uint8(typeValue) == value {
			return true
		}
	}
	return false
}

func CastCALCommandTypeContainer(structType any) CALCommandTypeContainer {
	castFunc := func(typ any) CALCommandTypeContainer {
		if sCALCommandTypeContainer, ok := typ.(CALCommandTypeContainer); ok {
			return sCALCommandTypeContainer
		}
		return 0
	}
	return castFunc(structType)
}

func (m CALCommandTypeContainer) GetLengthInBits(ctx context.Context) uint16 {
	return 8
}

func (m CALCommandTypeContainer) GetLengthInBytes(ctx context.Context) uint16 {
	return m.GetLengthInBits(ctx) / 8
}

func CALCommandTypeContainerParse(ctx context.Context, theBytes []byte) (CALCommandTypeContainer, error) {
	return CALCommandTypeContainerParseWithBuffer(ctx, utils.NewReadBufferByteBased(theBytes))
}

func CALCommandTypeContainerParseWithBuffer(ctx context.Context, readBuffer utils.ReadBuffer) (CALCommandTypeContainer, error) {
	log := zerolog.Ctx(ctx)
	_ = log
	val, err := /*TODO: migrate me*/ /*TODO: migrate me*/ readBuffer.ReadUint8("CALCommandTypeContainer", 8)
	if err != nil {
		return 0, errors.Wrap(err, "error reading CALCommandTypeContainer")
	}
	if enum, ok := CALCommandTypeContainerByValue(val); !ok {
		log.Debug().Interface("val", val).Msg("no value val found for CALCommandTypeContainer")
		return CALCommandTypeContainer(val), nil
	} else {
		return enum, nil
	}
}

func (e CALCommandTypeContainer) Serialize() ([]byte, error) {
	wb := utils.NewWriteBufferByteBased()
	if err := e.SerializeWithWriteBuffer(context.Background(), wb); err != nil {
		return nil, err
	}
	return wb.GetBytes(), nil
}

func (e CALCommandTypeContainer) SerializeWithWriteBuffer(ctx context.Context, writeBuffer utils.WriteBuffer) error {
	log := zerolog.Ctx(ctx)
	_ = log
	return /*TODO: migrate me*/ writeBuffer.WriteUint8("CALCommandTypeContainer", 8, uint8(uint8(e)), utils.WithAdditionalStringRepresentation(e.PLC4XEnumName()))
}

func (e CALCommandTypeContainer) GetValue() uint8 {
	return uint8(e)
}

func (e CALCommandTypeContainer) GetNumBytes() uint8 {
	return e.NumBytes()
}
func (e CALCommandTypeContainer) GetCommandType() CALCommandType {
	return e.CommandType()
}

// PLC4XEnumName returns the name that is used in code to identify this enum
func (e CALCommandTypeContainer) PLC4XEnumName() string {
	switch e {
	case CALCommandTypeContainer_CALCommandReset:
		return "CALCommandReset"
	case CALCommandTypeContainer_CALCommandRecall:
		return "CALCommandRecall"
	case CALCommandTypeContainer_CALCommandIdentify:
		return "CALCommandIdentify"
	case CALCommandTypeContainer_CALCommandGetStatus:
		return "CALCommandGetStatus"
	case CALCommandTypeContainer_CALCommandAcknowledge:
		return "CALCommandAcknowledge"
	case CALCommandTypeContainer_CALCommandReply_0Bytes:
		return "CALCommandReply_0Bytes"
	case CALCommandTypeContainer_CALCommandReply_1Bytes:
		return "CALCommandReply_1Bytes"
	case CALCommandTypeContainer_CALCommandReply_2Bytes:
		return "CALCommandReply_2Bytes"
	case CALCommandTypeContainer_CALCommandReply_3Bytes:
		return "CALCommandReply_3Bytes"
	case CALCommandTypeContainer_CALCommandReply_4Bytes:
		return "CALCommandReply_4Bytes"
	case CALCommandTypeContainer_CALCommandReply_5Bytes:
		return "CALCommandReply_5Bytes"
	case CALCommandTypeContainer_CALCommandReply_6Bytes:
		return "CALCommandReply_6Bytes"
	case CALCommandTypeContainer_CALCommandReply_7Bytes:
		return "CALCommandReply_7Bytes"
	case CALCommandTypeContainer_CALCommandReply_8Bytes:
		return "CALCommandReply_8Bytes"
	case CALCommandTypeContainer_CALCommandReply_9Bytes:
		return "CALCommandReply_9Bytes"
	case CALCommandTypeContainer_CALCommandReply_10Bytes:
		return "CALCommandReply_10Bytes"
	case CALCommandTypeContainer_CALCommandReply_11Bytes:
		return "CALCommandReply_11Bytes"
	case CALCommandTypeContainer_CALCommandReply_12Bytes:
		return "CALCommandReply_12Bytes"
	case CALCommandTypeContainer_CALCommandReply_13Bytes:
		return "CALCommandReply_13Bytes"
	case CALCommandTypeContainer_CALCommandReply_14Bytes:
		return "CALCommandReply_14Bytes"
	case CALCommandTypeContainer_CALCommandReply_15Bytes:
		return "CALCommandReply_15Bytes"
	case CALCommandTypeContainer_CALCommandReply_16Bytes:
		return "CALCommandReply_16Bytes"
	case CALCommandTypeContainer_CALCommandReply_17Bytes:
		return "CALCommandReply_17Bytes"
	case CALCommandTypeContainer_CALCommandReply_18Bytes:
		return "CALCommandReply_18Bytes"
	case CALCommandTypeContainer_CALCommandReply_19Bytes:
		return "CALCommandReply_19Bytes"
	case CALCommandTypeContainer_CALCommandReply_20Bytes:
		return "CALCommandReply_20Bytes"
	case CALCommandTypeContainer_CALCommandReply_21Bytes:
		return "CALCommandReply_21Bytes"
	case CALCommandTypeContainer_CALCommandReply_22Bytes:
		return "CALCommandReply_22Bytes"
	case CALCommandTypeContainer_CALCommandReply_23Bytes:
		return "CALCommandReply_23Bytes"
	case CALCommandTypeContainer_CALCommandReply_24Bytes:
		return "CALCommandReply_24Bytes"
	case CALCommandTypeContainer_CALCommandReply_25Bytes:
		return "CALCommandReply_25Bytes"
	case CALCommandTypeContainer_CALCommandReply_26Bytes:
		return "CALCommandReply_26Bytes"
	case CALCommandTypeContainer_CALCommandReply_27Bytes:
		return "CALCommandReply_27Bytes"
	case CALCommandTypeContainer_CALCommandReply_28Bytes:
		return "CALCommandReply_28Bytes"
	case CALCommandTypeContainer_CALCommandReply_29Bytes:
		return "CALCommandReply_29Bytes"
	case CALCommandTypeContainer_CALCommandReply_30Bytes:
		return "CALCommandReply_30Bytes"
	case CALCommandTypeContainer_CALCommandReply_31Bytes:
		return "CALCommandReply_31Bytes"
	case CALCommandTypeContainer_CALCommandWrite_0Bytes:
		return "CALCommandWrite_0Bytes"
	case CALCommandTypeContainer_CALCommandWrite_1Bytes:
		return "CALCommandWrite_1Bytes"
	case CALCommandTypeContainer_CALCommandWrite_2Bytes:
		return "CALCommandWrite_2Bytes"
	case CALCommandTypeContainer_CALCommandWrite_3Bytes:
		return "CALCommandWrite_3Bytes"
	case CALCommandTypeContainer_CALCommandWrite_4Bytes:
		return "CALCommandWrite_4Bytes"
	case CALCommandTypeContainer_CALCommandWrite_5Bytes:
		return "CALCommandWrite_5Bytes"
	case CALCommandTypeContainer_CALCommandWrite_6Bytes:
		return "CALCommandWrite_6Bytes"
	case CALCommandTypeContainer_CALCommandWrite_7Bytes:
		return "CALCommandWrite_7Bytes"
	case CALCommandTypeContainer_CALCommandWrite_8Bytes:
		return "CALCommandWrite_8Bytes"
	case CALCommandTypeContainer_CALCommandWrite_9Bytes:
		return "CALCommandWrite_9Bytes"
	case CALCommandTypeContainer_CALCommandWrite_10Bytes:
		return "CALCommandWrite_10Bytes"
	case CALCommandTypeContainer_CALCommandWrite_11Bytes:
		return "CALCommandWrite_11Bytes"
	case CALCommandTypeContainer_CALCommandWrite_12Bytes:
		return "CALCommandWrite_12Bytes"
	case CALCommandTypeContainer_CALCommandWrite_13Bytes:
		return "CALCommandWrite_13Bytes"
	case CALCommandTypeContainer_CALCommandWrite_14Bytes:
		return "CALCommandWrite_14Bytes"
	case CALCommandTypeContainer_CALCommandWrite_15Bytes:
		return "CALCommandWrite_15Bytes"
	case CALCommandTypeContainer_CALCommandStatus_0Bytes:
		return "CALCommandStatus_0Bytes"
	case CALCommandTypeContainer_CALCommandStatus_1Bytes:
		return "CALCommandStatus_1Bytes"
	case CALCommandTypeContainer_CALCommandStatus_2Bytes:
		return "CALCommandStatus_2Bytes"
	case CALCommandTypeContainer_CALCommandStatus_3Bytes:
		return "CALCommandStatus_3Bytes"
	case CALCommandTypeContainer_CALCommandStatus_4Bytes:
		return "CALCommandStatus_4Bytes"
	case CALCommandTypeContainer_CALCommandStatus_5Bytes:
		return "CALCommandStatus_5Bytes"
	case CALCommandTypeContainer_CALCommandStatus_6Bytes:
		return "CALCommandStatus_6Bytes"
	case CALCommandTypeContainer_CALCommandStatus_7Bytes:
		return "CALCommandStatus_7Bytes"
	case CALCommandTypeContainer_CALCommandStatus_8Bytes:
		return "CALCommandStatus_8Bytes"
	case CALCommandTypeContainer_CALCommandStatus_9Bytes:
		return "CALCommandStatus_9Bytes"
	case CALCommandTypeContainer_CALCommandStatus_10Bytes:
		return "CALCommandStatus_10Bytes"
	case CALCommandTypeContainer_CALCommandStatus_11Bytes:
		return "CALCommandStatus_11Bytes"
	case CALCommandTypeContainer_CALCommandStatus_12Bytes:
		return "CALCommandStatus_12Bytes"
	case CALCommandTypeContainer_CALCommandStatus_13Bytes:
		return "CALCommandStatus_13Bytes"
	case CALCommandTypeContainer_CALCommandStatus_14Bytes:
		return "CALCommandStatus_14Bytes"
	case CALCommandTypeContainer_CALCommandStatus_15Bytes:
		return "CALCommandStatus_15Bytes"
	case CALCommandTypeContainer_CALCommandStatus_16Bytes:
		return "CALCommandStatus_16Bytes"
	case CALCommandTypeContainer_CALCommandStatus_17Bytes:
		return "CALCommandStatus_17Bytes"
	case CALCommandTypeContainer_CALCommandStatus_18Bytes:
		return "CALCommandStatus_18Bytes"
	case CALCommandTypeContainer_CALCommandStatus_19Bytes:
		return "CALCommandStatus_19Bytes"
	case CALCommandTypeContainer_CALCommandStatus_20Bytes:
		return "CALCommandStatus_20Bytes"
	case CALCommandTypeContainer_CALCommandStatus_21Bytes:
		return "CALCommandStatus_21Bytes"
	case CALCommandTypeContainer_CALCommandStatus_22Bytes:
		return "CALCommandStatus_22Bytes"
	case CALCommandTypeContainer_CALCommandStatus_23Bytes:
		return "CALCommandStatus_23Bytes"
	case CALCommandTypeContainer_CALCommandStatus_24Bytes:
		return "CALCommandStatus_24Bytes"
	case CALCommandTypeContainer_CALCommandStatus_25Bytes:
		return "CALCommandStatus_25Bytes"
	case CALCommandTypeContainer_CALCommandStatus_26Bytes:
		return "CALCommandStatus_26Bytes"
	case CALCommandTypeContainer_CALCommandStatus_27Bytes:
		return "CALCommandStatus_27Bytes"
	case CALCommandTypeContainer_CALCommandStatus_28Bytes:
		return "CALCommandStatus_28Bytes"
	case CALCommandTypeContainer_CALCommandStatus_29Bytes:
		return "CALCommandStatus_29Bytes"
	case CALCommandTypeContainer_CALCommandStatus_30Bytes:
		return "CALCommandStatus_30Bytes"
	case CALCommandTypeContainer_CALCommandStatus_31Bytes:
		return "CALCommandStatus_31Bytes"
	case CALCommandTypeContainer_CALCommandStatusExtended_0Bytes:
		return "CALCommandStatusExtended_0Bytes"
	case CALCommandTypeContainer_CALCommandStatusExtended_1Bytes:
		return "CALCommandStatusExtended_1Bytes"
	case CALCommandTypeContainer_CALCommandStatusExtended_2Bytes:
		return "CALCommandStatusExtended_2Bytes"
	case CALCommandTypeContainer_CALCommandStatusExtended_3Bytes:
		return "CALCommandStatusExtended_3Bytes"
	case CALCommandTypeContainer_CALCommandStatusExtended_4Bytes:
		return "CALCommandStatusExtended_4Bytes"
	case CALCommandTypeContainer_CALCommandStatusExtended_5Bytes:
		return "CALCommandStatusExtended_5Bytes"
	case CALCommandTypeContainer_CALCommandStatusExtended_6Bytes:
		return "CALCommandStatusExtended_6Bytes"
	case CALCommandTypeContainer_CALCommandStatusExtended_7Bytes:
		return "CALCommandStatusExtended_7Bytes"
	case CALCommandTypeContainer_CALCommandStatusExtended_8Bytes:
		return "CALCommandStatusExtended_8Bytes"
	case CALCommandTypeContainer_CALCommandStatusExtended_9Bytes:
		return "CALCommandStatusExtended_9Bytes"
	case CALCommandTypeContainer_CALCommandStatusExtended_10Bytes:
		return "CALCommandStatusExtended_10Bytes"
	case CALCommandTypeContainer_CALCommandStatusExtended_11Bytes:
		return "CALCommandStatusExtended_11Bytes"
	case CALCommandTypeContainer_CALCommandStatusExtended_12Bytes:
		return "CALCommandStatusExtended_12Bytes"
	case CALCommandTypeContainer_CALCommandStatusExtended_13Bytes:
		return "CALCommandStatusExtended_13Bytes"
	case CALCommandTypeContainer_CALCommandStatusExtended_14Bytes:
		return "CALCommandStatusExtended_14Bytes"
	case CALCommandTypeContainer_CALCommandStatusExtended_15Bytes:
		return "CALCommandStatusExtended_15Bytes"
	case CALCommandTypeContainer_CALCommandStatusExtended_16Bytes:
		return "CALCommandStatusExtended_16Bytes"
	case CALCommandTypeContainer_CALCommandStatusExtended_17Bytes:
		return "CALCommandStatusExtended_17Bytes"
	case CALCommandTypeContainer_CALCommandStatusExtended_18Bytes:
		return "CALCommandStatusExtended_18Bytes"
	case CALCommandTypeContainer_CALCommandStatusExtended_19Bytes:
		return "CALCommandStatusExtended_19Bytes"
	case CALCommandTypeContainer_CALCommandStatusExtended_20Bytes:
		return "CALCommandStatusExtended_20Bytes"
	case CALCommandTypeContainer_CALCommandStatusExtended_21Bytes:
		return "CALCommandStatusExtended_21Bytes"
	case CALCommandTypeContainer_CALCommandStatusExtended_22Bytes:
		return "CALCommandStatusExtended_22Bytes"
	case CALCommandTypeContainer_CALCommandStatusExtended_23Bytes:
		return "CALCommandStatusExtended_23Bytes"
	case CALCommandTypeContainer_CALCommandStatusExtended_24Bytes:
		return "CALCommandStatusExtended_24Bytes"
	case CALCommandTypeContainer_CALCommandStatusExtended_25Bytes:
		return "CALCommandStatusExtended_25Bytes"
	case CALCommandTypeContainer_CALCommandStatusExtended_26Bytes:
		return "CALCommandStatusExtended_26Bytes"
	case CALCommandTypeContainer_CALCommandStatusExtended_27Bytes:
		return "CALCommandStatusExtended_27Bytes"
	case CALCommandTypeContainer_CALCommandStatusExtended_28Bytes:
		return "CALCommandStatusExtended_28Bytes"
	case CALCommandTypeContainer_CALCommandStatusExtended_29Bytes:
		return "CALCommandStatusExtended_29Bytes"
	case CALCommandTypeContainer_CALCommandStatusExtended_30Bytes:
		return "CALCommandStatusExtended_30Bytes"
	case CALCommandTypeContainer_CALCommandStatusExtended_31Bytes:
		return "CALCommandStatusExtended_31Bytes"
	}
	return fmt.Sprintf("Unknown(%v)", uint8(e))
}

func (e CALCommandTypeContainer) String() string {
	return e.PLC4XEnumName()
}
