# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: tfnode-messages.proto
# Protobuf Python Version: 5.28.2
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import runtime_version as _runtime_version
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
_runtime_version.ValidateProtobufRuntimeVersion(
    _runtime_version.Domain.PUBLIC,
    5,
    28,
    2,
    '',
    'tfnode-messages.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()




DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x15tfnode-messages.proto\x12\x06tfnode\"\x93\x03\n\x0bNodeCommand\x12%\n\x05reset\x18\x01 \x01(\x0b\x32\x14.tfnode.ResetCommandH\x00\x12\'\n\x06\x65nable\x18\x02 \x01(\x0b\x32\x15.tfnode.EnableCommandH\x00\x12)\n\x07\x64isable\x18\x03 \x01(\x0b\x32\x16.tfnode.DisableCommandH\x00\x12*\n\x08set_mode\x18\x04 \x01(\x0b\x32\x16.tfnode.SetModeCommandH\x00\x12\x32\n\x0cset_setpoint\x18\x05 \x01(\x0b\x32\x1a.tfnode.SetSetpointCommandH\x00\x12>\n\x12\x63onfigure_settings\x18\x06 \x01(\x0b\x32 .tfnode.ConfigureSettingsCommandH\x00\x12*\n\x06status\x18\x07 \x01(\x0b\x32\x18.tfnode.GetStatusCommandH\x00\x12\x32\n\x0csilence_node\x18\x08 \x01(\x0b\x32\x1a.tfnode.SilenceNodeCommandH\x00\x42\t\n\x07\x63ommand\".\n\x0cResetCommand\x12\x1e\n\x06\x64\x65vice\x18\x01 \x01(\x0e\x32\x0e.tfnode.Device\"/\n\rEnableCommand\x12\x1e\n\x06\x64\x65vice\x18\x01 \x01(\x0e\x32\x0e.tfnode.Device\"0\n\x0e\x44isableCommand\x12\x1e\n\x06\x64\x65vice\x18\x01 \x01(\x0e\x32\x0e.tfnode.Device\"V\n\x0eSetModeCommand\x12\x1e\n\x06\x64\x65vice\x18\x01 \x01(\x0e\x32\x0e.tfnode.Device\x12$\n\x04mode\x18\x02 \x01(\x0e\x32\x16.tfnode.SMAControlMode\"l\n\x12SetSetpointCommand\x12\x1e\n\x06\x64\x65vice\x18\x01 \x01(\x0e\x32\x0e.tfnode.Device\x12$\n\x04mode\x18\x02 \x01(\x0e\x32\x16.tfnode.SMAControlMode\x12\x10\n\x08setpoint\x18\x03 \x01(\x02\"\xb8\x01\n\x18\x43onfigureSettingsCommand\x12\x1e\n\x06\x64\x65vice\x18\x01 \x01(\x0e\x32\x0e.tfnode.Device\x12+\n\x0bnode_config\x18\x02 \x01(\x0b\x32\x14.tfnode.NodeSettingsH\x00\x12>\n\x15sma_controller_config\x18\x03 \x01(\x0b\x32\x1d.tfnode.SMAControllerSettingsH\x00\x42\x0f\n\rdevice_config\"m\n\x10GetStatusCommand\x12\x1e\n\x06\x64\x65vice\x18\x01 \x01(\x0e\x32\x0e.tfnode.Device\x12&\n\x04mode\x18\x02 \x01(\x0e\x32\x18.tfnode.DeviceStatusMode\x12\x11\n\trepeating\x18\x04 \x01(\x08\"%\n\x12SilenceNodeCommand\x12\x0f\n\x07silence\x18\x01 \x01(\x08\"\x82\x01\n\x0cNodeResponse\x12\x33\n\x10general_response\x18\x01 \x01(\x0b\x32\x17.tfnode.GeneralResponseH\x00\x12\x31\n\x0fstatus_response\x18\x02 \x01(\x0b\x32\x16.tfnode.StatusResponseH\x00\x42\n\n\x08response\"\x8a\x01\n\x0fGeneralResponse\x12\x1e\n\x06\x64\x65vice\x18\x01 \x01(\x0e\x32\x0e.tfnode.Device\x12*\n\x0creceived_cmd\x18\x02 \x01(\x0e\x32\x14.tfnode.FunctionCode\x12+\n\rresponse_code\x18\x03 \x01(\x0e\x32\x14.tfnode.ResponseCode\"\x9b\x02\n\x0eStatusResponse\x12\x1e\n\x06\x64\x65vice\x18\x01 \x01(\x0e\x32\x0e.tfnode.Device\x12\x38\n\x13node_status_compact\x18\x02 \x01(\x0b\x32\x19.tfnode.NodeStatusCompactH\x00\x12\x32\n\x10node_status_dump\x18\x03 \x01(\x0b\x32\x16.tfnode.NodeStatusDumpH\x00\x12\x36\n\x12sma_status_compact\x18\x04 \x01(\x0b\x32\x18.tfnode.SMAStatusCompactH\x00\x12\x30\n\x0fsma_status_dump\x18\x05 \x01(\x0b\x32\x15.tfnode.SMAStatusDumpH\x00\x42\x11\n\x0fstatus_response\"\x1e\n\x0cNodeSettings\x12\x0e\n\x06\x63\x61n_id\x18\x01 \x01(\r\"\x95\x01\n\x15SMAControllerSettings\x12,\n\x0c\x64\x65\x66\x61ult_mode\x18\x01 \x01(\x0e\x32\x16.tfnode.SMAControlMode\x12\x18\n\x10\x64\x65\x66\x61ult_setpoint\x18\x02 \x01(\x02\x12\x10\n\x08rctrl_kp\x18\x03 \x01(\x02\x12\x10\n\x08rctrl_ki\x18\x04 \x01(\x02\x12\x10\n\x08rctrl_kd\x18\x05 \x01(\x02\"Z\n\x11NodeStatusCompact\x12\x0e\n\x06uptime\x18\x02 \x01(\r\x12\x12\n\nerror_code\x18\x03 \x01(\r\x12\x10\n\x08v_supply\x18\x04 \x01(\x02\x12\x0f\n\x07pot_val\x18\x05 \x01(\x02\"\xda\x02\n\x0eNodeStatusDump\x12\x31\n\x0e\x63ompact_status\x18\x01 \x01(\x0b\x32\x19.tfnode.NodeStatusCompact\x12-\n\x0floaded_settings\x18\x02 \x01(\x0b\x32\x14.tfnode.NodeSettings\x12\x18\n\x10\x66irmware_version\x18\x03 \x01(\r\x12\x1b\n\x13\x66irmware_subversion\x18\x04 \x01(\r\x12\x15\n\rboard_version\x18\x05 \x01(\r\x12\x18\n\x10\x62oard_subversion\x18\x06 \x01(\r\x12\x12\n\nmuscle_cnt\x18\x07 \x01(\r\x12\x17\n\x0flog_interval_ms\x18\x08 \x01(\r\x12\x12\n\nvrd_scalar\x18\t \x01(\x02\x12\x12\n\nvrd_offset\x18\n \x01(\x02\x12\x13\n\x0bmax_current\x18\x0b \x01(\x02\x12\x14\n\x0cmin_v_supply\x18\x0c \x01(\x02\"\xcf\x01\n\x10SMAStatusCompact\x12#\n\x0b\x64\x65vice_port\x18\x01 \x01(\x0e\x32\x0e.tfnode.Device\x12\x0f\n\x07\x65nabled\x18\x02 \x01(\x08\x12$\n\x04mode\x18\x03 \x01(\x0e\x32\x16.tfnode.SMAControlMode\x12\x10\n\x08setpoint\x18\x04 \x01(\x02\x12\x12\n\noutput_pwm\x18\x05 \x01(\x02\x12\x11\n\tload_amps\x18\x06 \x01(\x02\x12\x12\n\nload_vdrop\x18\x07 \x01(\x02\x12\x12\n\nload_mohms\x18\x08 \x01(\x02\"\x82\x02\n\rSMAStatusDump\x12\x30\n\x0e\x63ompact_status\x18\x01 \x01(\x0b\x32\x18.tfnode.SMAStatusCompact\x12\x36\n\x0floaded_settings\x18\x02 \x01(\x0b\x32\x1d.tfnode.SMAControllerSettings\x12\x12\n\nvld_scalar\x18\x03 \x01(\x02\x12\x12\n\nvld_offset\x18\x04 \x01(\x02\x12\x12\n\nr_sns_ohms\x18\x05 \x01(\x02\x12\x10\n\x08\x61mp_gain\x18\x06 \x01(\x02\x12\x10\n\x08\x61\x66_mohms\x18\x07 \x01(\x02\x12\x13\n\x0b\x64\x65lta_mohms\x18\x08 \x01(\x02\x12\x12\n\ntrainState\x18\t \x01(\r*\xc7\x01\n\x0c\x46unctionCode\x12\x12\n\x0e\x46UNCTION_RESET\x10\x00\x12\x13\n\x0f\x46UNCTION_ENABLE\x10\x01\x12\x14\n\x10\x46UNCTION_DISABLE\x10\x02\x12\x15\n\x11\x46UNCTION_SET_MODE\x10\x03\x12\x19\n\x15\x46UNCTION_SET_SETPOINT\x10\x04\x12\x16\n\x12\x46UNCTION_CONFIGURE\x10\x05\x12\x13\n\x0f\x46UNCTION_STATUS\x10\x06\x12\x19\n\x15\x46UNCTION_SILENCE_NODE\x10\x07*\x8c\x01\n\x0cResponseCode\x12\x14\n\x10RESPONSE_SUCCESS\x10\x00\x12\x13\n\x0fRESPONSE_FAILED\x10\x01\x12\x1b\n\x17RESPONSE_INVALID_DEVICE\x10\x02\x12 \n\x1cRESPONSE_UNSUPPORTED_COMMAND\x10\x03\x12\x12\n\x0eRESPONSE_ERROR\x10\x04*a\n\x06\x44\x65vice\x12\x0e\n\nDEVICE_ALL\x10\x00\x12\x0f\n\x0b\x44\x45VICE_NODE\x10\x01\x12\x12\n\x0e\x44\x45VICE_PORTALL\x10\x02\x12\x10\n\x0c\x44\x45VICE_PORT1\x10\x03\x12\x10\n\x0c\x44\x45VICE_PORT2\x10\x04*b\n\x10\x44\x65viceStatusMode\x12\x0f\n\x0bSTATUS_NONE\x10\x00\x12\x12\n\x0eSTATUS_COMPACT\x10\x01\x12\x0f\n\x0bSTATUS_DUMP\x10\x02\x12\x18\n\x14STATUS_DUMP_READABLE\x10\x03*n\n\x0eSMAControlMode\x12\x10\n\x0cMODE_PERCENT\x10\x00\x12\r\n\tMODE_AMPS\x10\x01\x12\x0e\n\nMODE_VOLTS\x10\x02\x12\r\n\tMODE_OHMS\x10\x03\x12\x0e\n\nMODE_TRAIN\x10\x04\x12\x0c\n\x08MODE_CNT\x10\x05\x62\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tfnode_messages_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  DESCRIPTOR._loaded_options = None
  _globals['_FUNCTIONCODE']._serialized_start=2778
  _globals['_FUNCTIONCODE']._serialized_end=2977
  _globals['_RESPONSECODE']._serialized_start=2980
  _globals['_RESPONSECODE']._serialized_end=3120
  _globals['_DEVICE']._serialized_start=3122
  _globals['_DEVICE']._serialized_end=3219
  _globals['_DEVICESTATUSMODE']._serialized_start=3221
  _globals['_DEVICESTATUSMODE']._serialized_end=3319
  _globals['_SMACONTROLMODE']._serialized_start=3321
  _globals['_SMACONTROLMODE']._serialized_end=3431
  _globals['_NODECOMMAND']._serialized_start=34
  _globals['_NODECOMMAND']._serialized_end=437
  _globals['_RESETCOMMAND']._serialized_start=439
  _globals['_RESETCOMMAND']._serialized_end=485
  _globals['_ENABLECOMMAND']._serialized_start=487
  _globals['_ENABLECOMMAND']._serialized_end=534
  _globals['_DISABLECOMMAND']._serialized_start=536
  _globals['_DISABLECOMMAND']._serialized_end=584
  _globals['_SETMODECOMMAND']._serialized_start=586
  _globals['_SETMODECOMMAND']._serialized_end=672
  _globals['_SETSETPOINTCOMMAND']._serialized_start=674
  _globals['_SETSETPOINTCOMMAND']._serialized_end=782
  _globals['_CONFIGURESETTINGSCOMMAND']._serialized_start=785
  _globals['_CONFIGURESETTINGSCOMMAND']._serialized_end=969
  _globals['_GETSTATUSCOMMAND']._serialized_start=971
  _globals['_GETSTATUSCOMMAND']._serialized_end=1080
  _globals['_SILENCENODECOMMAND']._serialized_start=1082
  _globals['_SILENCENODECOMMAND']._serialized_end=1119
  _globals['_NODERESPONSE']._serialized_start=1122
  _globals['_NODERESPONSE']._serialized_end=1252
  _globals['_GENERALRESPONSE']._serialized_start=1255
  _globals['_GENERALRESPONSE']._serialized_end=1393
  _globals['_STATUSRESPONSE']._serialized_start=1396
  _globals['_STATUSRESPONSE']._serialized_end=1679
  _globals['_NODESETTINGS']._serialized_start=1681
  _globals['_NODESETTINGS']._serialized_end=1711
  _globals['_SMACONTROLLERSETTINGS']._serialized_start=1714
  _globals['_SMACONTROLLERSETTINGS']._serialized_end=1863
  _globals['_NODESTATUSCOMPACT']._serialized_start=1865
  _globals['_NODESTATUSCOMPACT']._serialized_end=1955
  _globals['_NODESTATUSDUMP']._serialized_start=1958
  _globals['_NODESTATUSDUMP']._serialized_end=2304
  _globals['_SMASTATUSCOMPACT']._serialized_start=2307
  _globals['_SMASTATUSCOMPACT']._serialized_end=2514
  _globals['_SMASTATUSDUMP']._serialized_start=2517
  _globals['_SMASTATUSDUMP']._serialized_end=2775
# @@protoc_insertion_point(module_scope)
