Versions in this module Expand all Collapse all v0 v0.0.4 Nov 19, 2022 v0.0.3 Nov 13, 2022 Changes in this version + var E_ModbusOptions = &file_fancoil_proto_extTypes[0] + var FanCoilService_ServiceDesc = grpc.ServiceDesc + var FanSetting_name = map[int32]string + var FanSetting_value = map[string]int32 + var File_fancoil_proto protoreflect.FileDescriptor + var FloorHeatingMode_name = map[int32]string + var FloorHeatingMode_value = map[string]int32 + var Mode_name = map[int32]string + var Mode_value = map[string]int32 + var PowerStatus_name = map[int32]string + var PowerStatus_value = map[string]int32 + var RegisterName_name = map[int32]string + var RegisterName_value = map[string]int32 + var TemperatureUnits_name = map[int32]string + var TemperatureUnits_value = map[string]int32 + var ValveSetting_name = map[int32]string + var ValveSetting_value = map[string]int32 + var ValveState_name = map[int32]string + var ValveState_value = map[string]int32 + func RegisterFanCoilServiceServer(s grpc.ServiceRegistrar, srv FanCoilServiceServer) + type FanCoilServiceClient interface + GetState func(ctx context.Context, in *GetStateRequest, opts ...grpc.CallOption) (*GetStateResponse, error) + SetState func(ctx context.Context, in *SetStateRequest, opts ...grpc.CallOption) (*SetStateResponse, error) + func NewFanCoilServiceClient(cc grpc.ClientConnInterface) FanCoilServiceClient + type FanCoilServiceServer interface + GetState func(context.Context, *GetStateRequest) (*GetStateResponse, error) + SetState func(context.Context, *SetStateRequest) (*SetStateResponse, error) + type FanSetting int32 + const FanSetting_FAN_SETTING_AUTO + const FanSetting_FAN_SETTING_HIGH + const FanSetting_FAN_SETTING_LOW + const FanSetting_FAN_SETTING_MAX + const FanSetting_FAN_SETTING_MEDIUM + const FanSetting_FAN_SETTING_OFF + const FanSetting_FAN_SETTING_ULTRA_LOW + const FanSetting_FAN_SETTING_UNSPECIFIED + func (FanSetting) Descriptor() protoreflect.EnumDescriptor + func (FanSetting) EnumDescriptor() ([]byte, []int) + func (FanSetting) Type() protoreflect.EnumType + func (x FanSetting) Enum() *FanSetting + func (x FanSetting) Number() protoreflect.EnumNumber + func (x FanSetting) String() string + type FanSpeed struct + Rpm int64 + func (*FanSpeed) Descriptor() ([]byte, []int) + func (*FanSpeed) ProtoMessage() + func (x *FanSpeed) GetRpm() int64 + func (x *FanSpeed) ProtoReflect() protoreflect.Message + func (x *FanSpeed) Reset() + func (x *FanSpeed) String() string + type FloorHeatingMode int32 + const FloorHeatingMode_FLOOR_HEATING_MODE_OFF + const FloorHeatingMode_FLOOR_HEATING_MODE_ON + const FloorHeatingMode_FLOOR_HEATING_MODE_UNSPECIFIED + func (FloorHeatingMode) Descriptor() protoreflect.EnumDescriptor + func (FloorHeatingMode) EnumDescriptor() ([]byte, []int) + func (FloorHeatingMode) Type() protoreflect.EnumType + func (x FloorHeatingMode) Enum() *FloorHeatingMode + func (x FloorHeatingMode) Number() protoreflect.EnumNumber + func (x FloorHeatingMode) String() string + type GetStateRequest struct + FancoilName string + func (*GetStateRequest) Descriptor() ([]byte, []int) + func (*GetStateRequest) ProtoMessage() + func (x *GetStateRequest) GetFancoilName() string + func (x *GetStateRequest) ProtoReflect() protoreflect.Message + func (x *GetStateRequest) Reset() + func (x *GetStateRequest) String() string + type GetStateResponse struct + RawSnapshot *RawRegisterSnapshot + State *State + func (*GetStateResponse) Descriptor() ([]byte, []int) + func (*GetStateResponse) ProtoMessage() + func (x *GetStateResponse) GetRawSnapshot() *RawRegisterSnapshot + func (x *GetStateResponse) GetState() *State + func (x *GetStateResponse) ProtoReflect() protoreflect.Message + func (x *GetStateResponse) Reset() + func (x *GetStateResponse) String() string + type ModbusAddress struct + Address uint32 + func (*ModbusAddress) Descriptor() ([]byte, []int) + func (*ModbusAddress) ProtoMessage() + func (x *ModbusAddress) GetAddress() uint32 + func (x *ModbusAddress) ProtoReflect() protoreflect.Message + func (x *ModbusAddress) Reset() + func (x *ModbusAddress) String() string + type ModbusEnumValueOptions struct + RegisterValue uint32 + func (*ModbusEnumValueOptions) Descriptor() ([]byte, []int) + func (*ModbusEnumValueOptions) ProtoMessage() + func (x *ModbusEnumValueOptions) GetRegisterValue() uint32 + func (x *ModbusEnumValueOptions) ProtoReflect() protoreflect.Message + func (x *ModbusEnumValueOptions) Reset() + func (x *ModbusEnumValueOptions) String() string + type Mode int32 + const Mode_MODE_AUTO + const Mode_MODE_COOLING + const Mode_MODE_DEHUMIDIFICATION + const Mode_MODE_HEATING + const Mode_MODE_UNSPECIFIED + const Mode_MODE_VENTILATION + func (Mode) Descriptor() protoreflect.EnumDescriptor + func (Mode) EnumDescriptor() ([]byte, []int) + func (Mode) Type() protoreflect.EnumType + func (x Mode) Enum() *Mode + func (x Mode) Number() protoreflect.EnumNumber + func (x Mode) String() string + type PowerStatus int32 + const PowerStatus_POWER_STATUS_OFF + const PowerStatus_POWER_STATUS_ON + const PowerStatus_POWER_STATUS_UNSPECIFIED + func (PowerStatus) Descriptor() protoreflect.EnumDescriptor + func (PowerStatus) EnumDescriptor() ([]byte, []int) + func (PowerStatus) Type() protoreflect.EnumType + func (x PowerStatus) Enum() *PowerStatus + func (x PowerStatus) Number() protoreflect.EnumNumber + func (x PowerStatus) String() string + type RawRegisterSnapshot struct + RawValues map[uint32]uint32 + func (*RawRegisterSnapshot) Descriptor() ([]byte, []int) + func (*RawRegisterSnapshot) ProtoMessage() + func (x *RawRegisterSnapshot) GetRawValues() map[uint32]uint32 + func (x *RawRegisterSnapshot) ProtoReflect() protoreflect.Message + func (x *RawRegisterSnapshot) Reset() + func (x *RawRegisterSnapshot) String() string + type RegisterName int32 + const RegisterName_REGISTER_NAME_ANTI_COOLING_WIND_SETTING_TEMPERATURE + const RegisterName_REGISTER_NAME_COIL_TEMPERATURE + const RegisterName_REGISTER_NAME_COIL_TEMPERATURE_SENSOR_FAULT + const RegisterName_REGISTER_NAME_COOLING_SET_TEMPERATURE + const RegisterName_REGISTER_NAME_COOLING_SET_TEMPERATURE_AUTO + const RegisterName_REGISTER_NAME_CURRENT_FAN_SPEED + const RegisterName_REGISTER_NAME_FANSPEED + const RegisterName_REGISTER_NAME_FAN_RPM + const RegisterName_REGISTER_NAME_FAN_SPEED_SIGNAL_FEEDBACK_FAULT + const RegisterName_REGISTER_NAME_HEATING_SET_TEMPERATURE + const RegisterName_REGISTER_NAME_HEATING_SET_TEMPERATURE_AUTO + const RegisterName_REGISTER_NAME_MASTER_SLAVE + const RegisterName_REGISTER_NAME_MAX_SET_TEMPERATURE + const RegisterName_REGISTER_NAME_MIN_SET_TEMPERATURE + const RegisterName_REGISTER_NAME_MODE + const RegisterName_REGISTER_NAME_ON_OFF + const RegisterName_REGISTER_NAME_REMOTE_ON_OFF + const RegisterName_REGISTER_NAME_ROOM_TEMPERATURE + const RegisterName_REGISTER_NAME_ROOM_TEMPERATURE_SENSOR_FAULT + const RegisterName_REGISTER_NAME_SIMULATION_SIGNAL + const RegisterName_REGISTER_NAME_START_ANTI_HOT_WIND + const RegisterName_REGISTER_NAME_START_ULTRA_LOW_WIND + const RegisterName_REGISTER_NAME_TIMER_OFF1 + const RegisterName_REGISTER_NAME_TIMER_OFF2 + const RegisterName_REGISTER_NAME_UNIT_ADDRESS + const RegisterName_REGISTER_NAME_UNSPECIFIED + const RegisterName_REGISTER_NAME_USE_FAHRENHEIT + const RegisterName_REGISTER_NAME_USE_FLOOR_HEATING + const RegisterName_REGISTER_NAME_USE_VALVE + const RegisterName_REGISTER_NAME_VALVE_ON_OFF + func (RegisterName) Descriptor() protoreflect.EnumDescriptor + func (RegisterName) EnumDescriptor() ([]byte, []int) + func (RegisterName) Type() protoreflect.EnumType + func (x RegisterName) Enum() *RegisterName + func (x RegisterName) Number() protoreflect.EnumNumber + func (x RegisterName) String() string + type SetStateRequest struct + CoolingTargetTemperature *Temperature + FancoilName string + HeatingTargetTemperature *Temperature + PowerStatus PowerStatus + PreferenceFanSetting FanSetting + ValveSetting ValveSetting + func (*SetStateRequest) Descriptor() ([]byte, []int) + func (*SetStateRequest) ProtoMessage() + func (x *SetStateRequest) GetCoolingTargetTemperature() *Temperature + func (x *SetStateRequest) GetFancoilName() string + func (x *SetStateRequest) GetHeatingTargetTemperature() *Temperature + func (x *SetStateRequest) GetPowerStatus() PowerStatus + func (x *SetStateRequest) GetPreferenceFanSetting() FanSetting + func (x *SetStateRequest) GetValveSetting() ValveSetting + func (x *SetStateRequest) ProtoReflect() protoreflect.Message + func (x *SetStateRequest) Reset() + func (x *SetStateRequest) String() string + type SetStateResponse struct + func (*SetStateResponse) Descriptor() ([]byte, []int) + func (*SetStateResponse) ProtoMessage() + func (x *SetStateResponse) ProtoReflect() protoreflect.Message + func (x *SetStateResponse) Reset() + func (x *SetStateResponse) String() string + type State struct + AntiCoolingTargetTemperature *Temperature + AutoModeCoolingTargetTemperature *Temperature + AutoModeHeatingTargetTemperature *Temperature + CoilTemperature *Temperature + CoolingTargetTemperature *Temperature + CurrentFanSetting FanSetting + DisplayTemperatureUnits TemperatureUnits + FanSpeed *FanSpeed + FloorHeatingMode FloorHeatingMode + HeatingTargetTemperature *Temperature + ModbusAddress *ModbusAddress + Mode Mode + PowerStatus PowerStatus + PreferenceFanSetting FanSetting + RoomTemperature *Temperature + SnapshotTime *timestamp.Timestamp + ValveSetting ValveSetting + ValveState ValveState + func (*State) Descriptor() ([]byte, []int) + func (*State) ProtoMessage() + func (x *State) GetAntiCoolingTargetTemperature() *Temperature + func (x *State) GetAutoModeCoolingTargetTemperature() *Temperature + func (x *State) GetAutoModeHeatingTargetTemperature() *Temperature + func (x *State) GetCoilTemperature() *Temperature + func (x *State) GetCoolingTargetTemperature() *Temperature + func (x *State) GetCurrentFanSetting() FanSetting + func (x *State) GetDisplayTemperatureUnits() TemperatureUnits + func (x *State) GetFanSpeed() *FanSpeed + func (x *State) GetFloorHeatingMode() FloorHeatingMode + func (x *State) GetHeatingTargetTemperature() *Temperature + func (x *State) GetModbusAddress() *ModbusAddress + func (x *State) GetMode() Mode + func (x *State) GetPowerStatus() PowerStatus + func (x *State) GetPreferenceFanSetting() FanSetting + func (x *State) GetRoomTemperature() *Temperature + func (x *State) GetSnapshotTime() *timestamp.Timestamp + func (x *State) GetValveSetting() ValveSetting + func (x *State) GetValveState() ValveState + func (x *State) ProtoReflect() protoreflect.Message + func (x *State) Reset() + func (x *State) String() string + type Temperature struct + DegreesCelcius float32 + func (*Temperature) Descriptor() ([]byte, []int) + func (*Temperature) ProtoMessage() + func (x *Temperature) GetDegreesCelcius() float32 + func (x *Temperature) ProtoReflect() protoreflect.Message + func (x *Temperature) Reset() + func (x *Temperature) String() string + type TemperatureUnits int32 + const TemperatureUnits_TEMPERATURE_UNITS_CELCIUS + const TemperatureUnits_TEMPERATURE_UNITS_FAHRENHEIT + const TemperatureUnits_TEMPERATURE_UNITS_UNSPECIFIED + func (TemperatureUnits) Descriptor() protoreflect.EnumDescriptor + func (TemperatureUnits) EnumDescriptor() ([]byte, []int) + func (TemperatureUnits) Type() protoreflect.EnumType + func (x TemperatureUnits) Enum() *TemperatureUnits + func (x TemperatureUnits) Number() protoreflect.EnumNumber + func (x TemperatureUnits) String() string + type UnimplementedFanCoilServiceServer struct + func (UnimplementedFanCoilServiceServer) GetState(context.Context, *GetStateRequest) (*GetStateResponse, error) + func (UnimplementedFanCoilServiceServer) SetState(context.Context, *SetStateRequest) (*SetStateResponse, error) + type UnsafeFanCoilServiceServer interface + type ValveSetting int32 + const ValveSetting_VALVE_SETTING_DISABLED + const ValveSetting_VALVE_SETTING_ENABLED + const ValveSetting_VALVE_SETTING_UNSPECIFIED + func (ValveSetting) Descriptor() protoreflect.EnumDescriptor + func (ValveSetting) EnumDescriptor() ([]byte, []int) + func (ValveSetting) Type() protoreflect.EnumType + func (x ValveSetting) Enum() *ValveSetting + func (x ValveSetting) Number() protoreflect.EnumNumber + func (x ValveSetting) String() string + type ValveState int32 + const ValveState_VALVE_STATE_OFF + const ValveState_VALVE_STATE_ON + const ValveState_VALVE_STATE_UNSPECIFIED + func (ValveState) Descriptor() protoreflect.EnumDescriptor + func (ValveState) EnumDescriptor() ([]byte, []int) + func (ValveState) Type() protoreflect.EnumType + func (x ValveState) Enum() *ValveState + func (x ValveState) Number() protoreflect.EnumNumber + func (x ValveState) String() string