// Code generated by go-swagger; DO NOT EDIT.

package models

// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command

import (
	"context"

	"github.com/go-openapi/strfmt"
	"github.com/go-openapi/swag"
)

// CommonExpandedSignals common expanded signals
//
// swagger:model common.ExpandedSignals
type CommonExpandedSignals struct {

	// bcm tot milg o d o
	BcmTotMilgODO float64 `json:"bcm_TotMilg_ODO,omitempty"`

	// bms accue chrg tot ah
	BmsAccueChrgTotAh int64 `json:"bms_AccueChrgTotAh,omitempty"`

	// bms accue dcha tot ah
	BmsAccueDchaTotAh int64 `json:"bms_AccueDchaTotAh,omitempty"`

	// bms sw vers
	BmsSwVers int64 `json:"bms_SwVers,omitempty"`

	// bms sw vers m
	BmsSwVersM int64 `json:"bms_SwVersM,omitempty"`

	// bms sw vers s
	BmsSwVersS int64 `json:"bms_SwVersS,omitempty"`

	// ibs available capacity
	IbsAvailableCapacity int64 `json:"ibs_AvailableCapacity,omitempty"`

	// ibs nominal capacity
	IbsNominalCapacity int64 `json:"ibs_NominalCapacity,omitempty"`

	// IBS_SOCUpperTolerance *float64 //unconfirmed
	// IBS_SOCLowerTolerance *float64 //unconfirmed
	IbsStateOfCharge float64 `json:"ibs_StateOfCharge,omitempty"`

	// ibs state of health
	IbsStateOfHealth int64 `json:"ibs_StateOfHealth,omitempty"`
}

// Validate validates this common expanded signals
func (m *CommonExpandedSignals) Validate(formats strfmt.Registry) error {
	return nil
}

// ContextValidate validates this common expanded signals based on context it is used
func (m *CommonExpandedSignals) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
	return nil
}

// MarshalBinary interface implementation
func (m *CommonExpandedSignals) MarshalBinary() ([]byte, error) {
	if m == nil {
		return nil, nil
	}
	return swag.WriteJSON(m)
}

// UnmarshalBinary interface implementation
func (m *CommonExpandedSignals) UnmarshalBinary(b []byte) error {
	var res CommonExpandedSignals
	if err := swag.ReadJSON(b, &res); err != nil {
		return err
	}
	*m = res
	return nil
}
