management

package
v0.0.0-...-1f04649 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2022 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const EventType_TypeID = 0x82a74595175b71a3

EventType_TypeID is the unique identifier for the type EventType.

View Source
const Event_ExternalType_TypeID = 0xf082ec2d0eb50c9b

Event_ExternalType_TypeID is the unique identifier for the type Event_ExternalType.

View Source
const Event_PhenoStage_TypeID = 0x8fa09457bc1bfc34

Event_PhenoStage_TypeID is the unique identifier for the type Event_PhenoStage.

View Source
const Event_TypeID = 0x9c5dedfd679ac842

Event_TypeID is the unique identifier for the type Event.

View Source
const Event_Type_TypeID = 0xe1ed73d59c8ce359

Event_Type_TypeID is the unique identifier for the type Event_Type.

View Source
const FertilizerService_TypeID = 0xbbb7aeae0d097e05

FertilizerService_TypeID is the unique identifier for the type FertilizerService.

View Source
const FertilizerService_mineralFertilizerPartitionFor_Params_TypeID = 0xc5292994de2615c2

FertilizerService_mineralFertilizerPartitionFor_Params_TypeID is the unique identifier for the type FertilizerService_mineralFertilizerPartitionFor_Params.

View Source
const FertilizerService_mineralFertilizerPartitionFor_Results_TypeID = 0x81b1cd5c7865e185

FertilizerService_mineralFertilizerPartitionFor_Results_TypeID is the unique identifier for the type FertilizerService_mineralFertilizerPartitionFor_Results.

View Source
const FertilizerService_organicFertilizerParametersFor_Params_TypeID = 0xb1c2fa546f41d480

FertilizerService_organicFertilizerParametersFor_Params_TypeID is the unique identifier for the type FertilizerService_organicFertilizerParametersFor_Params.

View Source
const FertilizerService_organicFertilizerParametersFor_Results_TypeID = 0xd801f16b6fa39a94

FertilizerService_organicFertilizerParametersFor_Results_TypeID is the unique identifier for the type FertilizerService_organicFertilizerParametersFor_Results.

View Source
const MineralFertilizer_TypeID = 0xf95ca008c46a4b3b

MineralFertilizer_TypeID is the unique identifier for the type MineralFertilizer.

View Source
const OrganicFertilizer_TypeID = 0x84acb8f8eab508b9

OrganicFertilizer_TypeID is the unique identifier for the type OrganicFertilizer.

View Source
const Params_AutomaticHarvest_TypeID = 0xe3a37e340f816cd1

Params_AutomaticHarvest_TypeID is the unique identifier for the type Params_AutomaticHarvest.

View Source
const Params_AutomaticSowing_AvgSoilTemp_TypeID = 0x9d81d2bf4cd0f868

Params_AutomaticSowing_AvgSoilTemp_TypeID is the unique identifier for the type Params_AutomaticSowing_AvgSoilTemp.

View Source
const Params_AutomaticSowing_TypeID = 0xcfcf44997e7ceab4

Params_AutomaticSowing_TypeID is the unique identifier for the type Params_AutomaticSowing.

View Source
const Params_Cutting_CL_TypeID = 0x825bb2508c0b37b2

Params_Cutting_CL_TypeID is the unique identifier for the type Params_Cutting_CL.

View Source
const Params_Cutting_Spec_TypeID = 0x9a221e04faf79efc

Params_Cutting_Spec_TypeID is the unique identifier for the type Params_Cutting_Spec.

View Source
const Params_Cutting_TypeID = 0xfec75f2ddd43431d

Params_Cutting_TypeID is the unique identifier for the type Params_Cutting.

View Source
const Params_Cutting_Unit_TypeID = 0xf0c763e472409ba2

Params_Cutting_Unit_TypeID is the unique identifier for the type Params_Cutting_Unit.

View Source
const Params_Harvest_CropUsage_TypeID = 0x8f0cbec420589373

Params_Harvest_CropUsage_TypeID is the unique identifier for the type Params_Harvest_CropUsage.

View Source
const Params_Harvest_OptCarbonMgmtData_TypeID = 0x8cb6b3e3c50d3665

Params_Harvest_OptCarbonMgmtData_TypeID is the unique identifier for the type Params_Harvest_OptCarbonMgmtData.

View Source
const Params_Harvest_TypeID = 0xeed4e55bb04289ef

Params_Harvest_TypeID is the unique identifier for the type Params_Harvest.

View Source
const Params_Irrigation_Parameters_TypeID = 0xb991be9572278e2d

Params_Irrigation_Parameters_TypeID is the unique identifier for the type Params_Irrigation_Parameters.

View Source
const Params_Irrigation_TypeID = 0x87feb816363ff43c

Params_Irrigation_TypeID is the unique identifier for the type Params_Irrigation.

View Source
const Params_MineralFertilization_Parameters_TypeID = 0xfcd78361390515e1

Params_MineralFertilization_Parameters_TypeID is the unique identifier for the type Params_MineralFertilization_Parameters.

View Source
const Params_MineralFertilization_TypeID = 0xd3da30ea7b25d921

Params_MineralFertilization_TypeID is the unique identifier for the type Params_MineralFertilization.

View Source
const Params_NDemandFertilization_TypeID = 0x953375ac67d4f573

Params_NDemandFertilization_TypeID is the unique identifier for the type Params_NDemandFertilization.

View Source
const Params_OrganicFertilization_OrganicMatterParameters_TypeID = 0x962b157a9dc85681

Params_OrganicFertilization_OrganicMatterParameters_TypeID is the unique identifier for the type Params_OrganicFertilization_OrganicMatterParameters.

View Source
const Params_OrganicFertilization_Parameters_TypeID = 0xb0919989cca2fd9a

Params_OrganicFertilization_Parameters_TypeID is the unique identifier for the type Params_OrganicFertilization_Parameters.

View Source
const Params_OrganicFertilization_TypeID = 0xe98c76fb0fb0b2cd

Params_OrganicFertilization_TypeID is the unique identifier for the type Params_OrganicFertilization.

View Source
const Params_Sowing_TypeID = 0x80ce153f3bc9a9e8

Params_Sowing_TypeID is the unique identifier for the type Params_Sowing.

View Source
const Params_Tillage_TypeID = 0x88a5848ef8603554

Params_Tillage_TypeID is the unique identifier for the type Params_Tillage.

View Source
const Params_TypeID = 0x9d247c812334c917

Params_TypeID is the unique identifier for the type Params.

View Source
const PlantOrgan_TypeID = 0xc2d50914b83d42de

PlantOrgan_TypeID is the unique identifier for the type PlantOrgan.

View Source
const Service_TypeID = 0xc876b729b7d7f6d9

Service_TypeID is the unique identifier for the type Service.

View Source
const Service_managementAt_Results_TypeID = 0xcca7748d367db151

Service_managementAt_Results_TypeID is the unique identifier for the type Service_managementAt_Results.

Variables

This section is empty.

Functions

func FertilizerService_Methods

func FertilizerService_Methods(methods []server.Method, s FertilizerService_Server) []server.Method

FertilizerService_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.

func FertilizerService_NewServer

func FertilizerService_NewServer(s FertilizerService_Server, policy *server.Policy) *server.Server

FertilizerService_NewServer creates a new Server from an implementation of FertilizerService_Server.

func Service_Methods

func Service_Methods(methods []server.Method, s Service_Server) []server.Method

Service_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.

func Service_NewServer

func Service_NewServer(s Service_Server, policy *server.Policy) *server.Server

Service_NewServer creates a new Server from an implementation of Service_Server.

Types

type Event

type Event struct{ capnp.Struct }

func NewEvent

func NewEvent(s *capnp.Segment) (Event, error)

func NewRootEvent

func NewRootEvent(s *capnp.Segment) (Event, error)

func ReadRootEvent

func ReadRootEvent(msg *capnp.Message) (Event, error)

func (Event) After

func (s Event) After() Event_after

func (Event) At

func (s Event) At() Event_at

func (Event) Between

func (s Event) Between() Event_between

func (Event) HasInfo

func (s Event) HasInfo() bool

func (Event) HasParams

func (s Event) HasParams() bool

func (Event) Info

func (s Event) Info() (common.IdInformation, error)

func (Event) NewInfo

func (s Event) NewInfo() (common.IdInformation, error)

NewInfo sets the info field to a newly allocated common.IdInformation struct, preferring placement in s's segment.

func (Event) Params

func (s Event) Params() (capnp.Ptr, error)

func (Event) RunAtStartOfDay

func (s Event) RunAtStartOfDay() bool

func (Event) SetAfter

func (s Event) SetAfter()

func (Event) SetAt

func (s Event) SetAt()

func (Event) SetBetween

func (s Event) SetBetween()

func (Event) SetInfo

func (s Event) SetInfo(v common.IdInformation) error

func (Event) SetParams

func (s Event) SetParams(v capnp.Ptr) error

func (Event) SetRunAtStartOfDay

func (s Event) SetRunAtStartOfDay(v bool)

func (Event) SetType

func (s Event) SetType(v Event_ExternalType)

func (Event) String

func (s Event) String() string

func (Event) Type

func (s Event) Type() Event_ExternalType

func (Event) Which

func (s Event) Which() Event_Which

type EventType

type EventType uint16
const (
	EventType_sowing               EventType = 0
	EventType_automaticSowing      EventType = 1
	EventType_harvest              EventType = 2
	EventType_automaticHarvest     EventType = 3
	EventType_irrigation           EventType = 4
	EventType_tillage              EventType = 5
	EventType_organicFertilization EventType = 6
	EventType_mineralFertilization EventType = 7
	EventType_nDemandFertilization EventType = 8
	EventType_cutting              EventType = 9
	EventType_setValue             EventType = 10
	EventType_saveState            EventType = 11
)

Values of EventType.

func EventTypeFromString

func EventTypeFromString(c string) EventType

EventTypeFromString returns the enum value with a name, or the zero value if there's no such value.

func (EventType) String

func (c EventType) String() string

String returns the enum's constant name.

type EventType_List

type EventType_List struct{ capnp.List }

func NewEventType_List

func NewEventType_List(s *capnp.Segment, sz int32) (EventType_List, error)

func (EventType_List) At

func (l EventType_List) At(i int) EventType

func (EventType_List) Set

func (l EventType_List) Set(i int, v EventType)

type Event_ExternalType

type Event_ExternalType uint16
const (
	Event_ExternalType_sowing               Event_ExternalType = 0
	Event_ExternalType_automaticSowing      Event_ExternalType = 1
	Event_ExternalType_harvest              Event_ExternalType = 2
	Event_ExternalType_automaticHarvest     Event_ExternalType = 3
	Event_ExternalType_irrigation           Event_ExternalType = 4
	Event_ExternalType_tillage              Event_ExternalType = 5
	Event_ExternalType_organicFertilization Event_ExternalType = 6
	Event_ExternalType_mineralFertilization Event_ExternalType = 7
	Event_ExternalType_nDemandFertilization Event_ExternalType = 8
	Event_ExternalType_cutting              Event_ExternalType = 9
)

Values of Event_ExternalType.

func Event_ExternalTypeFromString

func Event_ExternalTypeFromString(c string) Event_ExternalType

Event_ExternalTypeFromString returns the enum value with a name, or the zero value if there's no such value.

func (Event_ExternalType) String

func (c Event_ExternalType) String() string

String returns the enum's constant name.

type Event_ExternalType_List

type Event_ExternalType_List struct{ capnp.List }

func NewEvent_ExternalType_List

func NewEvent_ExternalType_List(s *capnp.Segment, sz int32) (Event_ExternalType_List, error)

func (Event_ExternalType_List) At

func (Event_ExternalType_List) Set

type Event_Future

type Event_Future struct{ *capnp.Future }

Event_Future is a wrapper for a Event promised by a client call.

func (Event_Future) After

func (p Event_Future) After() Event_after_Future

func (Event_Future) At

func (Event_Future) Between

func (p Event_Future) Between() Event_between_Future

func (Event_Future) Info

func (Event_Future) Params

func (p Event_Future) Params() *capnp.Future

func (Event_Future) Struct

func (p Event_Future) Struct() (Event, error)

type Event_List

type Event_List struct{ capnp.List }

Event_List is a list of Event.

func NewEvent_List

func NewEvent_List(s *capnp.Segment, sz int32) (Event_List, error)

NewEvent creates a new list of Event.

func (Event_List) At

func (s Event_List) At(i int) Event

func (Event_List) Set

func (s Event_List) Set(i int, v Event) error

func (Event_List) String

func (s Event_List) String() string

type Event_PhenoStage

type Event_PhenoStage uint16
const (
	Event_PhenoStage_emergence Event_PhenoStage = 0
	Event_PhenoStage_flowering Event_PhenoStage = 1
	Event_PhenoStage_anthesis  Event_PhenoStage = 2
	Event_PhenoStage_maturity  Event_PhenoStage = 3
)

Values of Event_PhenoStage.

func Event_PhenoStageFromString

func Event_PhenoStageFromString(c string) Event_PhenoStage

Event_PhenoStageFromString returns the enum value with a name, or the zero value if there's no such value.

func (Event_PhenoStage) String

func (c Event_PhenoStage) String() string

String returns the enum's constant name.

type Event_PhenoStage_List

type Event_PhenoStage_List struct{ capnp.List }

func NewEvent_PhenoStage_List

func NewEvent_PhenoStage_List(s *capnp.Segment, sz int32) (Event_PhenoStage_List, error)

func (Event_PhenoStage_List) At

func (Event_PhenoStage_List) Set

type Event_Type

type Event_Type struct{ capnp.Struct }

func NewEvent_Type

func NewEvent_Type(s *capnp.Segment) (Event_Type, error)

func NewRootEvent_Type

func NewRootEvent_Type(s *capnp.Segment) (Event_Type, error)

func ReadRootEvent_Type

func ReadRootEvent_Type(msg *capnp.Message) (Event_Type, error)

func (Event_Type) External

func (s Event_Type) External() Event_ExternalType

func (Event_Type) Internal

func (s Event_Type) Internal() Event_PhenoStage

func (Event_Type) SetExternal

func (s Event_Type) SetExternal(v Event_ExternalType)

func (Event_Type) SetInternal

func (s Event_Type) SetInternal(v Event_PhenoStage)

func (Event_Type) String

func (s Event_Type) String() string

func (Event_Type) Which

func (s Event_Type) Which() Event_Type_Which

type Event_Type_Future

type Event_Type_Future struct{ *capnp.Future }

Event_Type_Future is a wrapper for a Event_Type promised by a client call.

func (Event_Type_Future) Struct

func (p Event_Type_Future) Struct() (Event_Type, error)

type Event_Type_List

type Event_Type_List struct{ capnp.List }

Event_Type_List is a list of Event_Type.

func NewEvent_Type_List

func NewEvent_Type_List(s *capnp.Segment, sz int32) (Event_Type_List, error)

NewEvent_Type creates a new list of Event_Type.

func (Event_Type_List) At

func (s Event_Type_List) At(i int) Event_Type

func (Event_Type_List) Set

func (s Event_Type_List) Set(i int, v Event_Type) error

func (Event_Type_List) String

func (s Event_Type_List) String() string

type Event_Type_Which

type Event_Type_Which uint16
const (
	Event_Type_Which_external Event_Type_Which = 0
	Event_Type_Which_internal Event_Type_Which = 1
)

func (Event_Type_Which) String

func (w Event_Type_Which) String() string

type Event_Which

type Event_Which uint16
const (
	Event_Which_at      Event_Which = 0
	Event_Which_between Event_Which = 1
	Event_Which_after   Event_Which = 2
)

func (Event_Which) String

func (w Event_Which) String() string

type Event_after

type Event_after Event

func (Event_after) Days

func (s Event_after) Days() uint16

func (Event_after) Event

func (s Event_after) Event() (Event_Type, error)

func (Event_after) HasEvent

func (s Event_after) HasEvent() bool

func (Event_after) NewEvent

func (s Event_after) NewEvent() (Event_Type, error)

NewEvent sets the event field to a newly allocated Event_Type struct, preferring placement in s's segment.

func (Event_after) SetDays

func (s Event_after) SetDays(v uint16)

func (Event_after) SetEvent

func (s Event_after) SetEvent(v Event_Type) error

type Event_after_Future

type Event_after_Future struct{ *capnp.Future }

Event_after_Future is a wrapper for a Event_after promised by a client call.

func (Event_after_Future) Event

func (Event_after_Future) Struct

func (p Event_after_Future) Struct() (Event_after, error)

type Event_at

type Event_at Event

func (Event_at) Date

func (s Event_at) Date() (common.Date, error)

func (Event_at) HasDate

func (s Event_at) HasDate() bool

func (Event_at) NewDate

func (s Event_at) NewDate() (common.Date, error)

NewDate sets the date field to a newly allocated common.Date struct, preferring placement in s's segment.

func (Event_at) SetDate

func (s Event_at) SetDate(v common.Date) error

type Event_at_Future

type Event_at_Future struct{ *capnp.Future }

Event_at_Future is a wrapper for a Event_at promised by a client call.

func (Event_at_Future) Date

func (Event_at_Future) Struct

func (p Event_at_Future) Struct() (Event_at, error)

type Event_between

type Event_between Event

func (Event_between) Earliest

func (s Event_between) Earliest() (common.Date, error)

func (Event_between) HasEarliest

func (s Event_between) HasEarliest() bool

func (Event_between) HasLatest

func (s Event_between) HasLatest() bool

func (Event_between) Latest

func (s Event_between) Latest() (common.Date, error)

func (Event_between) NewEarliest

func (s Event_between) NewEarliest() (common.Date, error)

NewEarliest sets the earliest field to a newly allocated common.Date struct, preferring placement in s's segment.

func (Event_between) NewLatest

func (s Event_between) NewLatest() (common.Date, error)

NewLatest sets the latest field to a newly allocated common.Date struct, preferring placement in s's segment.

func (Event_between) SetEarliest

func (s Event_between) SetEarliest(v common.Date) error

func (Event_between) SetLatest

func (s Event_between) SetLatest(v common.Date) error

type Event_between_Future

type Event_between_Future struct{ *capnp.Future }

Event_between_Future is a wrapper for a Event_between promised by a client call.

func (Event_between_Future) Earliest

func (Event_between_Future) Latest

func (Event_between_Future) Struct

type FertilizerService

type FertilizerService struct{ Client *capnp.Client }

func FertilizerService_ServerToClient

func FertilizerService_ServerToClient(s FertilizerService_Server, policy *server.Policy) FertilizerService

FertilizerService_ServerToClient creates a new Client from an implementation of FertilizerService_Server. The caller is responsible for calling Release on the returned Client.

func (FertilizerService) AddRef

func (FertilizerService) Release

func (c FertilizerService) Release()

type FertilizerService_Server

type FertilizerService_Server interface {
	MineralFertilizerPartitionFor(context.Context, FertilizerService_mineralFertilizerPartitionFor) error

	OrganicFertilizerParametersFor(context.Context, FertilizerService_organicFertilizerParametersFor) error

	Info(context.Context, common.Identifiable_info) error
}

A FertilizerService_Server is a FertilizerService with a local implementation.

type FertilizerService_mineralFertilizerPartitionFor

type FertilizerService_mineralFertilizerPartitionFor struct {
	*server.Call
}

FertilizerService_mineralFertilizerPartitionFor holds the state for a server call to FertilizerService.mineralFertilizerPartitionFor. See server.Call for documentation.

func (FertilizerService_mineralFertilizerPartitionFor) AllocResults

AllocResults allocates the results struct.

func (FertilizerService_mineralFertilizerPartitionFor) Args

Args returns the call's arguments.

type FertilizerService_mineralFertilizerPartitionFor_Params

type FertilizerService_mineralFertilizerPartitionFor_Params struct{ capnp.Struct }

func (FertilizerService_mineralFertilizerPartitionFor_Params) MinFert

func (FertilizerService_mineralFertilizerPartitionFor_Params) SetMinFert

func (FertilizerService_mineralFertilizerPartitionFor_Params) String

type FertilizerService_mineralFertilizerPartitionFor_Params_Future

type FertilizerService_mineralFertilizerPartitionFor_Params_Future struct{ *capnp.Future }

FertilizerService_mineralFertilizerPartitionFor_Params_Future is a wrapper for a FertilizerService_mineralFertilizerPartitionFor_Params promised by a client call.

func (FertilizerService_mineralFertilizerPartitionFor_Params_Future) Struct

type FertilizerService_mineralFertilizerPartitionFor_Params_List

type FertilizerService_mineralFertilizerPartitionFor_Params_List struct{ capnp.List }

FertilizerService_mineralFertilizerPartitionFor_Params_List is a list of FertilizerService_mineralFertilizerPartitionFor_Params.

func NewFertilizerService_mineralFertilizerPartitionFor_Params_List

func NewFertilizerService_mineralFertilizerPartitionFor_Params_List(s *capnp.Segment, sz int32) (FertilizerService_mineralFertilizerPartitionFor_Params_List, error)

NewFertilizerService_mineralFertilizerPartitionFor_Params creates a new list of FertilizerService_mineralFertilizerPartitionFor_Params.

func (FertilizerService_mineralFertilizerPartitionFor_Params_List) At

func (FertilizerService_mineralFertilizerPartitionFor_Params_List) Set

func (FertilizerService_mineralFertilizerPartitionFor_Params_List) String

type FertilizerService_mineralFertilizerPartitionFor_Results

type FertilizerService_mineralFertilizerPartitionFor_Results struct{ capnp.Struct }

func (FertilizerService_mineralFertilizerPartitionFor_Results) HasPartition

func (FertilizerService_mineralFertilizerPartitionFor_Results) NewPartition

NewPartition sets the partition field to a newly allocated Params_MineralFertilization_Parameters struct, preferring placement in s's segment.

func (FertilizerService_mineralFertilizerPartitionFor_Results) Partition

func (FertilizerService_mineralFertilizerPartitionFor_Results) SetPartition

func (FertilizerService_mineralFertilizerPartitionFor_Results) String

type FertilizerService_mineralFertilizerPartitionFor_Results_Future

type FertilizerService_mineralFertilizerPartitionFor_Results_Future struct{ *capnp.Future }

FertilizerService_mineralFertilizerPartitionFor_Results_Future is a wrapper for a FertilizerService_mineralFertilizerPartitionFor_Results promised by a client call.

func (FertilizerService_mineralFertilizerPartitionFor_Results_Future) Partition

func (FertilizerService_mineralFertilizerPartitionFor_Results_Future) Struct

type FertilizerService_mineralFertilizerPartitionFor_Results_List

type FertilizerService_mineralFertilizerPartitionFor_Results_List struct{ capnp.List }

FertilizerService_mineralFertilizerPartitionFor_Results_List is a list of FertilizerService_mineralFertilizerPartitionFor_Results.

func NewFertilizerService_mineralFertilizerPartitionFor_Results_List

func NewFertilizerService_mineralFertilizerPartitionFor_Results_List(s *capnp.Segment, sz int32) (FertilizerService_mineralFertilizerPartitionFor_Results_List, error)

NewFertilizerService_mineralFertilizerPartitionFor_Results creates a new list of FertilizerService_mineralFertilizerPartitionFor_Results.

func (FertilizerService_mineralFertilizerPartitionFor_Results_List) At

func (FertilizerService_mineralFertilizerPartitionFor_Results_List) Set

func (FertilizerService_mineralFertilizerPartitionFor_Results_List) String

type FertilizerService_organicFertilizerParametersFor

type FertilizerService_organicFertilizerParametersFor struct {
	*server.Call
}

FertilizerService_organicFertilizerParametersFor holds the state for a server call to FertilizerService.organicFertilizerParametersFor. See server.Call for documentation.

func (FertilizerService_organicFertilizerParametersFor) AllocResults

AllocResults allocates the results struct.

func (FertilizerService_organicFertilizerParametersFor) Args

Args returns the call's arguments.

type FertilizerService_organicFertilizerParametersFor_Params

type FertilizerService_organicFertilizerParametersFor_Params struct{ capnp.Struct }

func (FertilizerService_organicFertilizerParametersFor_Params) OrgFert

func (FertilizerService_organicFertilizerParametersFor_Params) SetOrgFert

func (FertilizerService_organicFertilizerParametersFor_Params) String

type FertilizerService_organicFertilizerParametersFor_Params_Future

type FertilizerService_organicFertilizerParametersFor_Params_Future struct{ *capnp.Future }

FertilizerService_organicFertilizerParametersFor_Params_Future is a wrapper for a FertilizerService_organicFertilizerParametersFor_Params promised by a client call.

func (FertilizerService_organicFertilizerParametersFor_Params_Future) Struct

type FertilizerService_organicFertilizerParametersFor_Params_List

type FertilizerService_organicFertilizerParametersFor_Params_List struct{ capnp.List }

FertilizerService_organicFertilizerParametersFor_Params_List is a list of FertilizerService_organicFertilizerParametersFor_Params.

func NewFertilizerService_organicFertilizerParametersFor_Params_List

func NewFertilizerService_organicFertilizerParametersFor_Params_List(s *capnp.Segment, sz int32) (FertilizerService_organicFertilizerParametersFor_Params_List, error)

NewFertilizerService_organicFertilizerParametersFor_Params creates a new list of FertilizerService_organicFertilizerParametersFor_Params.

func (FertilizerService_organicFertilizerParametersFor_Params_List) At

func (FertilizerService_organicFertilizerParametersFor_Params_List) Set

func (FertilizerService_organicFertilizerParametersFor_Params_List) String

type FertilizerService_organicFertilizerParametersFor_Results

type FertilizerService_organicFertilizerParametersFor_Results struct{ capnp.Struct }

func (FertilizerService_organicFertilizerParametersFor_Results) HasParams

func (FertilizerService_organicFertilizerParametersFor_Results) NewParams

NewParams sets the params field to a newly allocated Params_OrganicFertilization_Parameters struct, preferring placement in s's segment.

func (FertilizerService_organicFertilizerParametersFor_Results) Params

func (FertilizerService_organicFertilizerParametersFor_Results) SetParams

func (FertilizerService_organicFertilizerParametersFor_Results) String

type FertilizerService_organicFertilizerParametersFor_Results_Future

type FertilizerService_organicFertilizerParametersFor_Results_Future struct{ *capnp.Future }

FertilizerService_organicFertilizerParametersFor_Results_Future is a wrapper for a FertilizerService_organicFertilizerParametersFor_Results promised by a client call.

func (FertilizerService_organicFertilizerParametersFor_Results_Future) Params

func (FertilizerService_organicFertilizerParametersFor_Results_Future) Struct

type FertilizerService_organicFertilizerParametersFor_Results_List

type FertilizerService_organicFertilizerParametersFor_Results_List struct{ capnp.List }

FertilizerService_organicFertilizerParametersFor_Results_List is a list of FertilizerService_organicFertilizerParametersFor_Results.

func NewFertilizerService_organicFertilizerParametersFor_Results_List

func NewFertilizerService_organicFertilizerParametersFor_Results_List(s *capnp.Segment, sz int32) (FertilizerService_organicFertilizerParametersFor_Results_List, error)

NewFertilizerService_organicFertilizerParametersFor_Results creates a new list of FertilizerService_organicFertilizerParametersFor_Results.

func (FertilizerService_organicFertilizerParametersFor_Results_List) At

func (FertilizerService_organicFertilizerParametersFor_Results_List) Set

func (FertilizerService_organicFertilizerParametersFor_Results_List) String

type MineralFertilizer

type MineralFertilizer uint16
const (
	MineralFertilizer_ahls  MineralFertilizer = 0
	MineralFertilizer_alzon MineralFertilizer = 1
	MineralFertilizer_an    MineralFertilizer = 2
	MineralFertilizer_ap    MineralFertilizer = 3
	MineralFertilizer_as    MineralFertilizer = 4
	MineralFertilizer_ash   MineralFertilizer = 5
	MineralFertilizer_cf4   MineralFertilizer = 6
	MineralFertilizer_cp1   MineralFertilizer = 7
	MineralFertilizer_cp2   MineralFertilizer = 8
	MineralFertilizer_cp3   MineralFertilizer = 9
	MineralFertilizer_npk   MineralFertilizer = 10
	MineralFertilizer_ns    MineralFertilizer = 11
	MineralFertilizer_u     MineralFertilizer = 12
	MineralFertilizer_uan   MineralFertilizer = 13
	MineralFertilizer_uas   MineralFertilizer = 14
	MineralFertilizer_uni   MineralFertilizer = 15
)

Values of MineralFertilizer.

func MineralFertilizerFromString

func MineralFertilizerFromString(c string) MineralFertilizer

MineralFertilizerFromString returns the enum value with a name, or the zero value if there's no such value.

func (MineralFertilizer) String

func (c MineralFertilizer) String() string

String returns the enum's constant name.

type MineralFertilizer_List

type MineralFertilizer_List struct{ capnp.List }

func NewMineralFertilizer_List

func NewMineralFertilizer_List(s *capnp.Segment, sz int32) (MineralFertilizer_List, error)

func (MineralFertilizer_List) At

func (MineralFertilizer_List) Set

type OrganicFertilizer

type OrganicFertilizer uint16
const (
	OrganicFertilizer_ash   OrganicFertilizer = 0
	OrganicFertilizer_cadlm OrganicFertilizer = 1
	OrganicFertilizer_cam   OrganicFertilizer = 2
	OrganicFertilizer_cas   OrganicFertilizer = 3
	OrganicFertilizer_cau   OrganicFertilizer = 4
	OrganicFertilizer_dgdlm OrganicFertilizer = 5
	OrganicFertilizer_gwc   OrganicFertilizer = 6
	OrganicFertilizer_hodlm OrganicFertilizer = 7
	OrganicFertilizer_mc    OrganicFertilizer = 8
	OrganicFertilizer_ms    OrganicFertilizer = 9
	OrganicFertilizer_oic   OrganicFertilizer = 10
	OrganicFertilizer_pidlm OrganicFertilizer = 11
	OrganicFertilizer_pim   OrganicFertilizer = 12
	OrganicFertilizer_pis   OrganicFertilizer = 13
	OrganicFertilizer_piu   OrganicFertilizer = 14
	OrganicFertilizer_piudk OrganicFertilizer = 15
	OrganicFertilizer_plw   OrganicFertilizer = 16
	OrganicFertilizer_podlm OrganicFertilizer = 17
	OrganicFertilizer_pom   OrganicFertilizer = 18
	OrganicFertilizer_soy   OrganicFertilizer = 19
	OrganicFertilizer_ss    OrganicFertilizer = 20
	OrganicFertilizer_tudlm OrganicFertilizer = 21
	OrganicFertilizer_weeds OrganicFertilizer = 22
	OrganicFertilizer_ws    OrganicFertilizer = 23
)

Values of OrganicFertilizer.

func OrganicFertilizerFromString

func OrganicFertilizerFromString(c string) OrganicFertilizer

OrganicFertilizerFromString returns the enum value with a name, or the zero value if there's no such value.

func (OrganicFertilizer) String

func (c OrganicFertilizer) String() string

String returns the enum's constant name.

type OrganicFertilizer_List

type OrganicFertilizer_List struct{ capnp.List }

func NewOrganicFertilizer_List

func NewOrganicFertilizer_List(s *capnp.Segment, sz int32) (OrganicFertilizer_List, error)

func (OrganicFertilizer_List) At

func (OrganicFertilizer_List) Set

type Params

type Params struct{ capnp.Struct }

func NewParams

func NewParams(s *capnp.Segment) (Params, error)

func NewRootParams

func NewRootParams(s *capnp.Segment) (Params, error)

func ReadRootParams

func ReadRootParams(msg *capnp.Message) (Params, error)

func (Params) String

func (s Params) String() string

type Params_AutomaticHarvest

type Params_AutomaticHarvest struct{ capnp.Struct }

func NewParams_AutomaticHarvest

func NewParams_AutomaticHarvest(s *capnp.Segment) (Params_AutomaticHarvest, error)

func NewRootParams_AutomaticHarvest

func NewRootParams_AutomaticHarvest(s *capnp.Segment) (Params_AutomaticHarvest, error)

func ReadRootParams_AutomaticHarvest

func ReadRootParams_AutomaticHarvest(msg *capnp.Message) (Params_AutomaticHarvest, error)

func (Params_AutomaticHarvest) Harvest

func (Params_AutomaticHarvest) HarvestTime

func (s Params_AutomaticHarvest) HarvestTime() Event_PhenoStage

func (Params_AutomaticHarvest) HasHarvest

func (s Params_AutomaticHarvest) HasHarvest() bool

func (Params_AutomaticHarvest) Max3dayPrecipSum

func (s Params_AutomaticHarvest) Max3dayPrecipSum() float64

func (Params_AutomaticHarvest) MaxCurrentDayPrecipSum

func (s Params_AutomaticHarvest) MaxCurrentDayPrecipSum() float64

func (Params_AutomaticHarvest) MaxPercentASW

func (s Params_AutomaticHarvest) MaxPercentASW() float64

func (Params_AutomaticHarvest) MinPercentASW

func (s Params_AutomaticHarvest) MinPercentASW() float64

func (Params_AutomaticHarvest) NewHarvest

func (s Params_AutomaticHarvest) NewHarvest() (Params_Harvest, error)

NewHarvest sets the harvest field to a newly allocated Params_Harvest struct, preferring placement in s's segment.

func (Params_AutomaticHarvest) SetHarvest

func (Params_AutomaticHarvest) SetHarvestTime

func (s Params_AutomaticHarvest) SetHarvestTime(v Event_PhenoStage)

func (Params_AutomaticHarvest) SetMax3dayPrecipSum

func (s Params_AutomaticHarvest) SetMax3dayPrecipSum(v float64)

func (Params_AutomaticHarvest) SetMaxCurrentDayPrecipSum

func (s Params_AutomaticHarvest) SetMaxCurrentDayPrecipSum(v float64)

func (Params_AutomaticHarvest) SetMaxPercentASW

func (s Params_AutomaticHarvest) SetMaxPercentASW(v float64)

func (Params_AutomaticHarvest) SetMinPercentASW

func (s Params_AutomaticHarvest) SetMinPercentASW(v float64)

func (Params_AutomaticHarvest) String

func (s Params_AutomaticHarvest) String() string

type Params_AutomaticHarvest_Future

type Params_AutomaticHarvest_Future struct{ *capnp.Future }

Params_AutomaticHarvest_Future is a wrapper for a Params_AutomaticHarvest promised by a client call.

func (Params_AutomaticHarvest_Future) Harvest

func (Params_AutomaticHarvest_Future) Struct

type Params_AutomaticHarvest_List

type Params_AutomaticHarvest_List struct{ capnp.List }

Params_AutomaticHarvest_List is a list of Params_AutomaticHarvest.

func NewParams_AutomaticHarvest_List

func NewParams_AutomaticHarvest_List(s *capnp.Segment, sz int32) (Params_AutomaticHarvest_List, error)

NewParams_AutomaticHarvest creates a new list of Params_AutomaticHarvest.

func (Params_AutomaticHarvest_List) At

func (Params_AutomaticHarvest_List) Set

func (Params_AutomaticHarvest_List) String

type Params_AutomaticSowing

type Params_AutomaticSowing struct{ capnp.Struct }

func NewParams_AutomaticSowing

func NewParams_AutomaticSowing(s *capnp.Segment) (Params_AutomaticSowing, error)

func NewRootParams_AutomaticSowing

func NewRootParams_AutomaticSowing(s *capnp.Segment) (Params_AutomaticSowing, error)

func ReadRootParams_AutomaticSowing

func ReadRootParams_AutomaticSowing(msg *capnp.Message) (Params_AutomaticSowing, error)

func (Params_AutomaticSowing) AvgSoilTemp

func (Params_AutomaticSowing) BaseTemp

func (s Params_AutomaticSowing) BaseTemp() float64

func (Params_AutomaticSowing) DaysInTempWindow

func (s Params_AutomaticSowing) DaysInTempWindow() uint16

func (Params_AutomaticSowing) HasAvgSoilTemp

func (s Params_AutomaticSowing) HasAvgSoilTemp() bool

func (Params_AutomaticSowing) HasSowing

func (s Params_AutomaticSowing) HasSowing() bool

func (Params_AutomaticSowing) Max3dayPrecipSum

func (s Params_AutomaticSowing) Max3dayPrecipSum() float64

func (Params_AutomaticSowing) MaxCurrentDayPrecipSum

func (s Params_AutomaticSowing) MaxCurrentDayPrecipSum() float64

func (Params_AutomaticSowing) MaxPercentASW

func (s Params_AutomaticSowing) MaxPercentASW() float64

func (Params_AutomaticSowing) MinPercentASW

func (s Params_AutomaticSowing) MinPercentASW() float64

func (Params_AutomaticSowing) MinTempThreshold

func (s Params_AutomaticSowing) MinTempThreshold() float64

func (Params_AutomaticSowing) NewAvgSoilTemp

NewAvgSoilTemp sets the avgSoilTemp field to a newly allocated Params_AutomaticSowing_AvgSoilTemp struct, preferring placement in s's segment.

func (Params_AutomaticSowing) NewSowing

func (s Params_AutomaticSowing) NewSowing() (Params_Sowing, error)

NewSowing sets the sowing field to a newly allocated Params_Sowing struct, preferring placement in s's segment.

func (Params_AutomaticSowing) SetAvgSoilTemp

func (Params_AutomaticSowing) SetBaseTemp

func (s Params_AutomaticSowing) SetBaseTemp(v float64)

func (Params_AutomaticSowing) SetDaysInTempWindow

func (s Params_AutomaticSowing) SetDaysInTempWindow(v uint16)

func (Params_AutomaticSowing) SetMax3dayPrecipSum

func (s Params_AutomaticSowing) SetMax3dayPrecipSum(v float64)

func (Params_AutomaticSowing) SetMaxCurrentDayPrecipSum

func (s Params_AutomaticSowing) SetMaxCurrentDayPrecipSum(v float64)

func (Params_AutomaticSowing) SetMaxPercentASW

func (s Params_AutomaticSowing) SetMaxPercentASW(v float64)

func (Params_AutomaticSowing) SetMinPercentASW

func (s Params_AutomaticSowing) SetMinPercentASW(v float64)

func (Params_AutomaticSowing) SetMinTempThreshold

func (s Params_AutomaticSowing) SetMinTempThreshold(v float64)

func (Params_AutomaticSowing) SetSowing

func (Params_AutomaticSowing) SetTempSumAboveBaseTemp

func (s Params_AutomaticSowing) SetTempSumAboveBaseTemp(v float64)

func (Params_AutomaticSowing) Sowing

func (Params_AutomaticSowing) String

func (s Params_AutomaticSowing) String() string

func (Params_AutomaticSowing) TempSumAboveBaseTemp

func (s Params_AutomaticSowing) TempSumAboveBaseTemp() float64

type Params_AutomaticSowing_AvgSoilTemp

type Params_AutomaticSowing_AvgSoilTemp struct{ capnp.Struct }

func NewParams_AutomaticSowing_AvgSoilTemp

func NewParams_AutomaticSowing_AvgSoilTemp(s *capnp.Segment) (Params_AutomaticSowing_AvgSoilTemp, error)

func NewRootParams_AutomaticSowing_AvgSoilTemp

func NewRootParams_AutomaticSowing_AvgSoilTemp(s *capnp.Segment) (Params_AutomaticSowing_AvgSoilTemp, error)

func ReadRootParams_AutomaticSowing_AvgSoilTemp

func ReadRootParams_AutomaticSowing_AvgSoilTemp(msg *capnp.Message) (Params_AutomaticSowing_AvgSoilTemp, error)

func (Params_AutomaticSowing_AvgSoilTemp) DaysInSoilTempWindow

func (s Params_AutomaticSowing_AvgSoilTemp) DaysInSoilTempWindow() uint16

func (Params_AutomaticSowing_AvgSoilTemp) SetDaysInSoilTempWindow

func (s Params_AutomaticSowing_AvgSoilTemp) SetDaysInSoilTempWindow(v uint16)

func (Params_AutomaticSowing_AvgSoilTemp) SetSoilDepthForAveraging

func (s Params_AutomaticSowing_AvgSoilTemp) SetSoilDepthForAveraging(v float64)

func (Params_AutomaticSowing_AvgSoilTemp) SetSowingIfAboveAvgSoilTemp

func (s Params_AutomaticSowing_AvgSoilTemp) SetSowingIfAboveAvgSoilTemp(v float64)

func (Params_AutomaticSowing_AvgSoilTemp) SoilDepthForAveraging

func (s Params_AutomaticSowing_AvgSoilTemp) SoilDepthForAveraging() float64

func (Params_AutomaticSowing_AvgSoilTemp) SowingIfAboveAvgSoilTemp

func (s Params_AutomaticSowing_AvgSoilTemp) SowingIfAboveAvgSoilTemp() float64

func (Params_AutomaticSowing_AvgSoilTemp) String

type Params_AutomaticSowing_AvgSoilTemp_Future

type Params_AutomaticSowing_AvgSoilTemp_Future struct{ *capnp.Future }

Params_AutomaticSowing_AvgSoilTemp_Future is a wrapper for a Params_AutomaticSowing_AvgSoilTemp promised by a client call.

func (Params_AutomaticSowing_AvgSoilTemp_Future) Struct

type Params_AutomaticSowing_AvgSoilTemp_List

type Params_AutomaticSowing_AvgSoilTemp_List struct{ capnp.List }

Params_AutomaticSowing_AvgSoilTemp_List is a list of Params_AutomaticSowing_AvgSoilTemp.

func NewParams_AutomaticSowing_AvgSoilTemp_List

func NewParams_AutomaticSowing_AvgSoilTemp_List(s *capnp.Segment, sz int32) (Params_AutomaticSowing_AvgSoilTemp_List, error)

NewParams_AutomaticSowing_AvgSoilTemp creates a new list of Params_AutomaticSowing_AvgSoilTemp.

func (Params_AutomaticSowing_AvgSoilTemp_List) At

func (Params_AutomaticSowing_AvgSoilTemp_List) Set

func (Params_AutomaticSowing_AvgSoilTemp_List) String

type Params_AutomaticSowing_Future

type Params_AutomaticSowing_Future struct{ *capnp.Future }

Params_AutomaticSowing_Future is a wrapper for a Params_AutomaticSowing promised by a client call.

func (Params_AutomaticSowing_Future) AvgSoilTemp

func (Params_AutomaticSowing_Future) Sowing

func (Params_AutomaticSowing_Future) Struct

type Params_AutomaticSowing_List

type Params_AutomaticSowing_List struct{ capnp.List }

Params_AutomaticSowing_List is a list of Params_AutomaticSowing.

func NewParams_AutomaticSowing_List

func NewParams_AutomaticSowing_List(s *capnp.Segment, sz int32) (Params_AutomaticSowing_List, error)

NewParams_AutomaticSowing creates a new list of Params_AutomaticSowing.

func (Params_AutomaticSowing_List) At

func (Params_AutomaticSowing_List) Set

func (Params_AutomaticSowing_List) String

type Params_Cutting

type Params_Cutting struct{ capnp.Struct }

func NewParams_Cutting

func NewParams_Cutting(s *capnp.Segment) (Params_Cutting, error)

func NewRootParams_Cutting

func NewRootParams_Cutting(s *capnp.Segment) (Params_Cutting, error)

func ReadRootParams_Cutting

func ReadRootParams_Cutting(msg *capnp.Message) (Params_Cutting, error)

func (Params_Cutting) CutMaxAssimilationRatePercentage

func (s Params_Cutting) CutMaxAssimilationRatePercentage() float64

func (Params_Cutting) CuttingSpec

func (s Params_Cutting) CuttingSpec() (Params_Cutting_Spec_List, error)

func (Params_Cutting) HasCuttingSpec

func (s Params_Cutting) HasCuttingSpec() bool

func (Params_Cutting) NewCuttingSpec

func (s Params_Cutting) NewCuttingSpec(n int32) (Params_Cutting_Spec_List, error)

NewCuttingSpec sets the cuttingSpec field to a newly allocated Params_Cutting_Spec_List, preferring placement in s's segment.

func (Params_Cutting) SetCutMaxAssimilationRatePercentage

func (s Params_Cutting) SetCutMaxAssimilationRatePercentage(v float64)

func (Params_Cutting) SetCuttingSpec

func (s Params_Cutting) SetCuttingSpec(v Params_Cutting_Spec_List) error

func (Params_Cutting) String

func (s Params_Cutting) String() string

type Params_Cutting_CL

type Params_Cutting_CL uint16
const (
	Params_Cutting_CL_cut  Params_Cutting_CL = 0
	Params_Cutting_CL_left Params_Cutting_CL = 1
)

Values of Params_Cutting_CL.

func Params_Cutting_CLFromString

func Params_Cutting_CLFromString(c string) Params_Cutting_CL

Params_Cutting_CLFromString returns the enum value with a name, or the zero value if there's no such value.

func (Params_Cutting_CL) String

func (c Params_Cutting_CL) String() string

String returns the enum's constant name.

type Params_Cutting_CL_List

type Params_Cutting_CL_List struct{ capnp.List }

func NewParams_Cutting_CL_List

func NewParams_Cutting_CL_List(s *capnp.Segment, sz int32) (Params_Cutting_CL_List, error)

func (Params_Cutting_CL_List) At

func (Params_Cutting_CL_List) Set

type Params_Cutting_Future

type Params_Cutting_Future struct{ *capnp.Future }

Params_Cutting_Future is a wrapper for a Params_Cutting promised by a client call.

func (Params_Cutting_Future) Struct

type Params_Cutting_List

type Params_Cutting_List struct{ capnp.List }

Params_Cutting_List is a list of Params_Cutting.

func NewParams_Cutting_List

func NewParams_Cutting_List(s *capnp.Segment, sz int32) (Params_Cutting_List, error)

NewParams_Cutting creates a new list of Params_Cutting.

func (Params_Cutting_List) At

func (Params_Cutting_List) Set

func (Params_Cutting_List) String

func (s Params_Cutting_List) String() string

type Params_Cutting_Spec

type Params_Cutting_Spec struct{ capnp.Struct }

func NewParams_Cutting_Spec

func NewParams_Cutting_Spec(s *capnp.Segment) (Params_Cutting_Spec, error)

func NewRootParams_Cutting_Spec

func NewRootParams_Cutting_Spec(s *capnp.Segment) (Params_Cutting_Spec, error)

func ReadRootParams_Cutting_Spec

func ReadRootParams_Cutting_Spec(msg *capnp.Message) (Params_Cutting_Spec, error)

func (Params_Cutting_Spec) CutOrLeft

func (s Params_Cutting_Spec) CutOrLeft() Params_Cutting_CL

func (Params_Cutting_Spec) ExportPercentage

func (s Params_Cutting_Spec) ExportPercentage() float64

func (Params_Cutting_Spec) Organ

func (s Params_Cutting_Spec) Organ() PlantOrgan

func (Params_Cutting_Spec) SetCutOrLeft

func (s Params_Cutting_Spec) SetCutOrLeft(v Params_Cutting_CL)

func (Params_Cutting_Spec) SetExportPercentage

func (s Params_Cutting_Spec) SetExportPercentage(v float64)

func (Params_Cutting_Spec) SetOrgan

func (s Params_Cutting_Spec) SetOrgan(v PlantOrgan)

func (Params_Cutting_Spec) SetUnit

func (Params_Cutting_Spec) SetValue

func (s Params_Cutting_Spec) SetValue(v float64)

func (Params_Cutting_Spec) String

func (s Params_Cutting_Spec) String() string

func (Params_Cutting_Spec) Unit

func (Params_Cutting_Spec) Value

func (s Params_Cutting_Spec) Value() float64

type Params_Cutting_Spec_Future

type Params_Cutting_Spec_Future struct{ *capnp.Future }

Params_Cutting_Spec_Future is a wrapper for a Params_Cutting_Spec promised by a client call.

func (Params_Cutting_Spec_Future) Struct

type Params_Cutting_Spec_List

type Params_Cutting_Spec_List struct{ capnp.List }

Params_Cutting_Spec_List is a list of Params_Cutting_Spec.

func NewParams_Cutting_Spec_List

func NewParams_Cutting_Spec_List(s *capnp.Segment, sz int32) (Params_Cutting_Spec_List, error)

NewParams_Cutting_Spec creates a new list of Params_Cutting_Spec.

func (Params_Cutting_Spec_List) At

func (Params_Cutting_Spec_List) Set

func (Params_Cutting_Spec_List) String

func (s Params_Cutting_Spec_List) String() string

type Params_Cutting_Unit

type Params_Cutting_Unit uint16
const (
	Params_Cutting_Unit_percentage Params_Cutting_Unit = 0
	Params_Cutting_Unit_biomass    Params_Cutting_Unit = 1
	Params_Cutting_Unit_lai        Params_Cutting_Unit = 2
)

Values of Params_Cutting_Unit.

func Params_Cutting_UnitFromString

func Params_Cutting_UnitFromString(c string) Params_Cutting_Unit

Params_Cutting_UnitFromString returns the enum value with a name, or the zero value if there's no such value.

func (Params_Cutting_Unit) String

func (c Params_Cutting_Unit) String() string

String returns the enum's constant name.

type Params_Cutting_Unit_List

type Params_Cutting_Unit_List struct{ capnp.List }

func NewParams_Cutting_Unit_List

func NewParams_Cutting_Unit_List(s *capnp.Segment, sz int32) (Params_Cutting_Unit_List, error)

func (Params_Cutting_Unit_List) At

func (Params_Cutting_Unit_List) Set

type Params_Future

type Params_Future struct{ *capnp.Future }

Params_Future is a wrapper for a Params promised by a client call.

func (Params_Future) Struct

func (p Params_Future) Struct() (Params, error)

type Params_Harvest

type Params_Harvest struct{ capnp.Struct }

func NewParams_Harvest

func NewParams_Harvest(s *capnp.Segment) (Params_Harvest, error)

func NewRootParams_Harvest

func NewRootParams_Harvest(s *capnp.Segment) (Params_Harvest, error)

func ReadRootParams_Harvest

func ReadRootParams_Harvest(msg *capnp.Message) (Params_Harvest, error)

func (Params_Harvest) Exported

func (s Params_Harvest) Exported() bool

func (Params_Harvest) HasOptCarbMgmtData

func (s Params_Harvest) HasOptCarbMgmtData() bool

func (Params_Harvest) NewOptCarbMgmtData

func (s Params_Harvest) NewOptCarbMgmtData() (Params_Harvest_OptCarbonMgmtData, error)

NewOptCarbMgmtData sets the optCarbMgmtData field to a newly allocated Params_Harvest_OptCarbonMgmtData struct, preferring placement in s's segment.

func (Params_Harvest) OptCarbMgmtData

func (s Params_Harvest) OptCarbMgmtData() (Params_Harvest_OptCarbonMgmtData, error)

func (Params_Harvest) SetExported

func (s Params_Harvest) SetExported(v bool)

func (Params_Harvest) SetOptCarbMgmtData

func (s Params_Harvest) SetOptCarbMgmtData(v Params_Harvest_OptCarbonMgmtData) error

func (Params_Harvest) String

func (s Params_Harvest) String() string

type Params_Harvest_CropUsage

type Params_Harvest_CropUsage uint16
const (
	Params_Harvest_CropUsage_greenManure       Params_Harvest_CropUsage = 0
	Params_Harvest_CropUsage_biomassProduction Params_Harvest_CropUsage = 1
)

Values of Params_Harvest_CropUsage.

func Params_Harvest_CropUsageFromString

func Params_Harvest_CropUsageFromString(c string) Params_Harvest_CropUsage

Params_Harvest_CropUsageFromString returns the enum value with a name, or the zero value if there's no such value.

func (Params_Harvest_CropUsage) String

func (c Params_Harvest_CropUsage) String() string

String returns the enum's constant name.

type Params_Harvest_CropUsage_List

type Params_Harvest_CropUsage_List struct{ capnp.List }

func NewParams_Harvest_CropUsage_List

func NewParams_Harvest_CropUsage_List(s *capnp.Segment, sz int32) (Params_Harvest_CropUsage_List, error)

func (Params_Harvest_CropUsage_List) At

func (Params_Harvest_CropUsage_List) Set

type Params_Harvest_Future

type Params_Harvest_Future struct{ *capnp.Future }

Params_Harvest_Future is a wrapper for a Params_Harvest promised by a client call.

func (Params_Harvest_Future) OptCarbMgmtData

func (Params_Harvest_Future) Struct

type Params_Harvest_List

type Params_Harvest_List struct{ capnp.List }

Params_Harvest_List is a list of Params_Harvest.

func NewParams_Harvest_List

func NewParams_Harvest_List(s *capnp.Segment, sz int32) (Params_Harvest_List, error)

NewParams_Harvest creates a new list of Params_Harvest.

func (Params_Harvest_List) At

func (Params_Harvest_List) Set

func (Params_Harvest_List) String

func (s Params_Harvest_List) String() string

type Params_Harvest_OptCarbonMgmtData

type Params_Harvest_OptCarbonMgmtData struct{ capnp.Struct }

func NewParams_Harvest_OptCarbonMgmtData

func NewParams_Harvest_OptCarbonMgmtData(s *capnp.Segment) (Params_Harvest_OptCarbonMgmtData, error)

func NewRootParams_Harvest_OptCarbonMgmtData

func NewRootParams_Harvest_OptCarbonMgmtData(s *capnp.Segment) (Params_Harvest_OptCarbonMgmtData, error)

func ReadRootParams_Harvest_OptCarbonMgmtData

func ReadRootParams_Harvest_OptCarbonMgmtData(msg *capnp.Message) (Params_Harvest_OptCarbonMgmtData, error)

func (Params_Harvest_OptCarbonMgmtData) CropImpactOnHumusBalance

func (s Params_Harvest_OptCarbonMgmtData) CropImpactOnHumusBalance() float64

func (Params_Harvest_OptCarbonMgmtData) CropUsage

func (Params_Harvest_OptCarbonMgmtData) MaxResidueRecoverFraction

func (s Params_Harvest_OptCarbonMgmtData) MaxResidueRecoverFraction() float64

func (Params_Harvest_OptCarbonMgmtData) OptCarbonConservation

func (s Params_Harvest_OptCarbonMgmtData) OptCarbonConservation() bool

func (Params_Harvest_OptCarbonMgmtData) OrganicFertilizerHeq

func (s Params_Harvest_OptCarbonMgmtData) OrganicFertilizerHeq() float64

func (Params_Harvest_OptCarbonMgmtData) ResidueHeq

func (Params_Harvest_OptCarbonMgmtData) SetCropImpactOnHumusBalance

func (s Params_Harvest_OptCarbonMgmtData) SetCropImpactOnHumusBalance(v float64)

func (Params_Harvest_OptCarbonMgmtData) SetCropUsage

func (Params_Harvest_OptCarbonMgmtData) SetMaxResidueRecoverFraction

func (s Params_Harvest_OptCarbonMgmtData) SetMaxResidueRecoverFraction(v float64)

func (Params_Harvest_OptCarbonMgmtData) SetOptCarbonConservation

func (s Params_Harvest_OptCarbonMgmtData) SetOptCarbonConservation(v bool)

func (Params_Harvest_OptCarbonMgmtData) SetOrganicFertilizerHeq

func (s Params_Harvest_OptCarbonMgmtData) SetOrganicFertilizerHeq(v float64)

func (Params_Harvest_OptCarbonMgmtData) SetResidueHeq

func (s Params_Harvest_OptCarbonMgmtData) SetResidueHeq(v float64)

func (Params_Harvest_OptCarbonMgmtData) String

type Params_Harvest_OptCarbonMgmtData_Future

type Params_Harvest_OptCarbonMgmtData_Future struct{ *capnp.Future }

Params_Harvest_OptCarbonMgmtData_Future is a wrapper for a Params_Harvest_OptCarbonMgmtData promised by a client call.

func (Params_Harvest_OptCarbonMgmtData_Future) Struct

type Params_Harvest_OptCarbonMgmtData_List

type Params_Harvest_OptCarbonMgmtData_List struct{ capnp.List }

Params_Harvest_OptCarbonMgmtData_List is a list of Params_Harvest_OptCarbonMgmtData.

func NewParams_Harvest_OptCarbonMgmtData_List

func NewParams_Harvest_OptCarbonMgmtData_List(s *capnp.Segment, sz int32) (Params_Harvest_OptCarbonMgmtData_List, error)

NewParams_Harvest_OptCarbonMgmtData creates a new list of Params_Harvest_OptCarbonMgmtData.

func (Params_Harvest_OptCarbonMgmtData_List) At

func (Params_Harvest_OptCarbonMgmtData_List) Set

func (Params_Harvest_OptCarbonMgmtData_List) String

type Params_Irrigation

type Params_Irrigation struct{ capnp.Struct }

func NewParams_Irrigation

func NewParams_Irrigation(s *capnp.Segment) (Params_Irrigation, error)

func NewRootParams_Irrigation

func NewRootParams_Irrigation(s *capnp.Segment) (Params_Irrigation, error)

func ReadRootParams_Irrigation

func ReadRootParams_Irrigation(msg *capnp.Message) (Params_Irrigation, error)

func (Params_Irrigation) Amount

func (s Params_Irrigation) Amount() float64

func (Params_Irrigation) HasParams

func (s Params_Irrigation) HasParams() bool

func (Params_Irrigation) NewParams

NewParams sets the params field to a newly allocated Params_Irrigation_Parameters struct, preferring placement in s's segment.

func (Params_Irrigation) Params

func (Params_Irrigation) SetAmount

func (s Params_Irrigation) SetAmount(v float64)

func (Params_Irrigation) SetParams

func (Params_Irrigation) String

func (s Params_Irrigation) String() string

type Params_Irrigation_Future

type Params_Irrigation_Future struct{ *capnp.Future }

Params_Irrigation_Future is a wrapper for a Params_Irrigation promised by a client call.

func (Params_Irrigation_Future) Params

func (Params_Irrigation_Future) Struct

type Params_Irrigation_List

type Params_Irrigation_List struct{ capnp.List }

Params_Irrigation_List is a list of Params_Irrigation.

func NewParams_Irrigation_List

func NewParams_Irrigation_List(s *capnp.Segment, sz int32) (Params_Irrigation_List, error)

NewParams_Irrigation creates a new list of Params_Irrigation.

func (Params_Irrigation_List) At

func (Params_Irrigation_List) Set

func (Params_Irrigation_List) String

func (s Params_Irrigation_List) String() string

type Params_Irrigation_Parameters

type Params_Irrigation_Parameters struct{ capnp.Struct }

func NewParams_Irrigation_Parameters

func NewParams_Irrigation_Parameters(s *capnp.Segment) (Params_Irrigation_Parameters, error)

func NewRootParams_Irrigation_Parameters

func NewRootParams_Irrigation_Parameters(s *capnp.Segment) (Params_Irrigation_Parameters, error)

func ReadRootParams_Irrigation_Parameters

func ReadRootParams_Irrigation_Parameters(msg *capnp.Message) (Params_Irrigation_Parameters, error)

func (Params_Irrigation_Parameters) NitrateConcentration

func (s Params_Irrigation_Parameters) NitrateConcentration() float64

func (Params_Irrigation_Parameters) SetNitrateConcentration

func (s Params_Irrigation_Parameters) SetNitrateConcentration(v float64)

func (Params_Irrigation_Parameters) SetSulfateConcentration

func (s Params_Irrigation_Parameters) SetSulfateConcentration(v float64)

func (Params_Irrigation_Parameters) String

func (Params_Irrigation_Parameters) SulfateConcentration

func (s Params_Irrigation_Parameters) SulfateConcentration() float64

type Params_Irrigation_Parameters_Future

type Params_Irrigation_Parameters_Future struct{ *capnp.Future }

Params_Irrigation_Parameters_Future is a wrapper for a Params_Irrigation_Parameters promised by a client call.

func (Params_Irrigation_Parameters_Future) Struct

type Params_Irrigation_Parameters_List

type Params_Irrigation_Parameters_List struct{ capnp.List }

Params_Irrigation_Parameters_List is a list of Params_Irrigation_Parameters.

func NewParams_Irrigation_Parameters_List

func NewParams_Irrigation_Parameters_List(s *capnp.Segment, sz int32) (Params_Irrigation_Parameters_List, error)

NewParams_Irrigation_Parameters creates a new list of Params_Irrigation_Parameters.

func (Params_Irrigation_Parameters_List) At

func (Params_Irrigation_Parameters_List) Set

func (Params_Irrigation_Parameters_List) String

type Params_List

type Params_List struct{ capnp.List }

Params_List is a list of Params.

func NewParams_List

func NewParams_List(s *capnp.Segment, sz int32) (Params_List, error)

NewParams creates a new list of Params.

func (Params_List) At

func (s Params_List) At(i int) Params

func (Params_List) Set

func (s Params_List) Set(i int, v Params) error

func (Params_List) String

func (s Params_List) String() string

type Params_MineralFertilization

type Params_MineralFertilization struct{ capnp.Struct }

func NewParams_MineralFertilization

func NewParams_MineralFertilization(s *capnp.Segment) (Params_MineralFertilization, error)

func NewRootParams_MineralFertilization

func NewRootParams_MineralFertilization(s *capnp.Segment) (Params_MineralFertilization, error)

func ReadRootParams_MineralFertilization

func ReadRootParams_MineralFertilization(msg *capnp.Message) (Params_MineralFertilization, error)

func (Params_MineralFertilization) Amount

func (Params_MineralFertilization) HasPartition

func (s Params_MineralFertilization) HasPartition() bool

func (Params_MineralFertilization) NewPartition

NewPartition sets the partition field to a newly allocated Params_MineralFertilization_Parameters struct, preferring placement in s's segment.

func (Params_MineralFertilization) Partition

func (Params_MineralFertilization) SetAmount

func (s Params_MineralFertilization) SetAmount(v float64)

func (Params_MineralFertilization) SetPartition

func (Params_MineralFertilization) String

type Params_MineralFertilization_Future

type Params_MineralFertilization_Future struct{ *capnp.Future }

Params_MineralFertilization_Future is a wrapper for a Params_MineralFertilization promised by a client call.

func (Params_MineralFertilization_Future) Partition

func (Params_MineralFertilization_Future) Struct

type Params_MineralFertilization_List

type Params_MineralFertilization_List struct{ capnp.List }

Params_MineralFertilization_List is a list of Params_MineralFertilization.

func NewParams_MineralFertilization_List

func NewParams_MineralFertilization_List(s *capnp.Segment, sz int32) (Params_MineralFertilization_List, error)

NewParams_MineralFertilization creates a new list of Params_MineralFertilization.

func (Params_MineralFertilization_List) At

func (Params_MineralFertilization_List) Set

func (Params_MineralFertilization_List) String

type Params_MineralFertilization_Parameters

type Params_MineralFertilization_Parameters struct{ capnp.Struct }

func NewParams_MineralFertilization_Parameters

func NewParams_MineralFertilization_Parameters(s *capnp.Segment) (Params_MineralFertilization_Parameters, error)

func NewRootParams_MineralFertilization_Parameters

func NewRootParams_MineralFertilization_Parameters(s *capnp.Segment) (Params_MineralFertilization_Parameters, error)

func ReadRootParams_MineralFertilization_Parameters

func ReadRootParams_MineralFertilization_Parameters(msg *capnp.Message) (Params_MineralFertilization_Parameters, error)

func (Params_MineralFertilization_Parameters) Carbamid

func (Params_MineralFertilization_Parameters) HasId

func (Params_MineralFertilization_Parameters) HasName

func (Params_MineralFertilization_Parameters) Id

func (Params_MineralFertilization_Parameters) IdBytes

func (Params_MineralFertilization_Parameters) Name

func (Params_MineralFertilization_Parameters) NameBytes

func (Params_MineralFertilization_Parameters) Nh4

func (Params_MineralFertilization_Parameters) No3

func (Params_MineralFertilization_Parameters) SetCarbamid

func (Params_MineralFertilization_Parameters) SetId

func (Params_MineralFertilization_Parameters) SetName

func (Params_MineralFertilization_Parameters) SetNh4

func (Params_MineralFertilization_Parameters) SetNo3

func (Params_MineralFertilization_Parameters) String

type Params_MineralFertilization_Parameters_Future

type Params_MineralFertilization_Parameters_Future struct{ *capnp.Future }

Params_MineralFertilization_Parameters_Future is a wrapper for a Params_MineralFertilization_Parameters promised by a client call.

func (Params_MineralFertilization_Parameters_Future) Struct

type Params_MineralFertilization_Parameters_List

type Params_MineralFertilization_Parameters_List struct{ capnp.List }

Params_MineralFertilization_Parameters_List is a list of Params_MineralFertilization_Parameters.

func NewParams_MineralFertilization_Parameters_List

func NewParams_MineralFertilization_Parameters_List(s *capnp.Segment, sz int32) (Params_MineralFertilization_Parameters_List, error)

NewParams_MineralFertilization_Parameters creates a new list of Params_MineralFertilization_Parameters.

func (Params_MineralFertilization_Parameters_List) At

func (Params_MineralFertilization_Parameters_List) Set

func (Params_MineralFertilization_Parameters_List) String

type Params_NDemandFertilization

type Params_NDemandFertilization struct{ capnp.Struct }

func NewParams_NDemandFertilization

func NewParams_NDemandFertilization(s *capnp.Segment) (Params_NDemandFertilization, error)

func NewRootParams_NDemandFertilization

func NewRootParams_NDemandFertilization(s *capnp.Segment) (Params_NDemandFertilization, error)

func ReadRootParams_NDemandFertilization

func ReadRootParams_NDemandFertilization(msg *capnp.Message) (Params_NDemandFertilization, error)

func (Params_NDemandFertilization) Depth

func (Params_NDemandFertilization) HasPartition

func (s Params_NDemandFertilization) HasPartition() bool

func (Params_NDemandFertilization) NDemand

func (Params_NDemandFertilization) NewPartition

NewPartition sets the partition field to a newly allocated Params_MineralFertilization_Parameters struct, preferring placement in s's segment.

func (Params_NDemandFertilization) Partition

func (Params_NDemandFertilization) SetDepth

func (s Params_NDemandFertilization) SetDepth(v float64)

func (Params_NDemandFertilization) SetNDemand

func (s Params_NDemandFertilization) SetNDemand(v float64)

func (Params_NDemandFertilization) SetPartition

func (Params_NDemandFertilization) SetStage

func (s Params_NDemandFertilization) SetStage(v uint8)

func (Params_NDemandFertilization) Stage

func (Params_NDemandFertilization) String

type Params_NDemandFertilization_Future

type Params_NDemandFertilization_Future struct{ *capnp.Future }

Params_NDemandFertilization_Future is a wrapper for a Params_NDemandFertilization promised by a client call.

func (Params_NDemandFertilization_Future) Partition

func (Params_NDemandFertilization_Future) Struct

type Params_NDemandFertilization_List

type Params_NDemandFertilization_List struct{ capnp.List }

Params_NDemandFertilization_List is a list of Params_NDemandFertilization.

func NewParams_NDemandFertilization_List

func NewParams_NDemandFertilization_List(s *capnp.Segment, sz int32) (Params_NDemandFertilization_List, error)

NewParams_NDemandFertilization creates a new list of Params_NDemandFertilization.

func (Params_NDemandFertilization_List) At

func (Params_NDemandFertilization_List) Set

func (Params_NDemandFertilization_List) String

type Params_OrganicFertilization

type Params_OrganicFertilization struct{ capnp.Struct }

func NewParams_OrganicFertilization

func NewParams_OrganicFertilization(s *capnp.Segment) (Params_OrganicFertilization, error)

func NewRootParams_OrganicFertilization

func NewRootParams_OrganicFertilization(s *capnp.Segment) (Params_OrganicFertilization, error)

func ReadRootParams_OrganicFertilization

func ReadRootParams_OrganicFertilization(msg *capnp.Message) (Params_OrganicFertilization, error)

func (Params_OrganicFertilization) Amount

func (Params_OrganicFertilization) HasParams

func (s Params_OrganicFertilization) HasParams() bool

func (Params_OrganicFertilization) Incorporation

func (s Params_OrganicFertilization) Incorporation() bool

func (Params_OrganicFertilization) NewParams

NewParams sets the params field to a newly allocated Params_OrganicFertilization_Parameters struct, preferring placement in s's segment.

func (Params_OrganicFertilization) Params

func (Params_OrganicFertilization) SetAmount

func (s Params_OrganicFertilization) SetAmount(v float64)

func (Params_OrganicFertilization) SetIncorporation

func (s Params_OrganicFertilization) SetIncorporation(v bool)

func (Params_OrganicFertilization) SetParams

func (Params_OrganicFertilization) String

type Params_OrganicFertilization_Future

type Params_OrganicFertilization_Future struct{ *capnp.Future }

Params_OrganicFertilization_Future is a wrapper for a Params_OrganicFertilization promised by a client call.

func (Params_OrganicFertilization_Future) Params

func (Params_OrganicFertilization_Future) Struct

type Params_OrganicFertilization_List

type Params_OrganicFertilization_List struct{ capnp.List }

Params_OrganicFertilization_List is a list of Params_OrganicFertilization.

func NewParams_OrganicFertilization_List

func NewParams_OrganicFertilization_List(s *capnp.Segment, sz int32) (Params_OrganicFertilization_List, error)

NewParams_OrganicFertilization creates a new list of Params_OrganicFertilization.

func (Params_OrganicFertilization_List) At

func (Params_OrganicFertilization_List) Set

func (Params_OrganicFertilization_List) String

type Params_OrganicFertilization_OrganicMatterParameters

type Params_OrganicFertilization_OrganicMatterParameters struct{ capnp.Struct }

func ReadRootParams_OrganicFertilization_OrganicMatterParameters

func ReadRootParams_OrganicFertilization_OrganicMatterParameters(msg *capnp.Message) (Params_OrganicFertilization_OrganicMatterParameters, error)

func (Params_OrganicFertilization_OrganicMatterParameters) AomCarbamidContent

func (Params_OrganicFertilization_OrganicMatterParameters) AomDryMatterContent

func (Params_OrganicFertilization_OrganicMatterParameters) AomFastDecCoeffStandard

func (Params_OrganicFertilization_OrganicMatterParameters) AomNH4Content

func (Params_OrganicFertilization_OrganicMatterParameters) AomNO3Content

func (Params_OrganicFertilization_OrganicMatterParameters) AomSlowDecCoeffStandard

func (Params_OrganicFertilization_OrganicMatterParameters) CnRatioAOMFast

func (Params_OrganicFertilization_OrganicMatterParameters) CnRatioAOMSlow

func (Params_OrganicFertilization_OrganicMatterParameters) NConcentration

func (Params_OrganicFertilization_OrganicMatterParameters) PartAOMSlowToSMBFast

func (Params_OrganicFertilization_OrganicMatterParameters) PartAOMSlowToSMBSlow

func (Params_OrganicFertilization_OrganicMatterParameters) PartAOMToAOMFast

func (Params_OrganicFertilization_OrganicMatterParameters) PartAOMToAOMSlow

func (Params_OrganicFertilization_OrganicMatterParameters) SetAomCarbamidContent

func (Params_OrganicFertilization_OrganicMatterParameters) SetAomDryMatterContent

func (Params_OrganicFertilization_OrganicMatterParameters) SetAomFastDecCoeffStandard

func (s Params_OrganicFertilization_OrganicMatterParameters) SetAomFastDecCoeffStandard(v float64)

func (Params_OrganicFertilization_OrganicMatterParameters) SetAomNH4Content

func (Params_OrganicFertilization_OrganicMatterParameters) SetAomNO3Content

func (Params_OrganicFertilization_OrganicMatterParameters) SetAomSlowDecCoeffStandard

func (s Params_OrganicFertilization_OrganicMatterParameters) SetAomSlowDecCoeffStandard(v float64)

func (Params_OrganicFertilization_OrganicMatterParameters) SetCnRatioAOMFast

func (Params_OrganicFertilization_OrganicMatterParameters) SetCnRatioAOMSlow

func (Params_OrganicFertilization_OrganicMatterParameters) SetNConcentration

func (Params_OrganicFertilization_OrganicMatterParameters) SetPartAOMSlowToSMBFast

func (s Params_OrganicFertilization_OrganicMatterParameters) SetPartAOMSlowToSMBFast(v float64)

func (Params_OrganicFertilization_OrganicMatterParameters) SetPartAOMSlowToSMBSlow

func (s Params_OrganicFertilization_OrganicMatterParameters) SetPartAOMSlowToSMBSlow(v float64)

func (Params_OrganicFertilization_OrganicMatterParameters) SetPartAOMToAOMFast

func (Params_OrganicFertilization_OrganicMatterParameters) SetPartAOMToAOMSlow

func (Params_OrganicFertilization_OrganicMatterParameters) String

type Params_OrganicFertilization_OrganicMatterParameters_Future

type Params_OrganicFertilization_OrganicMatterParameters_Future struct{ *capnp.Future }

Params_OrganicFertilization_OrganicMatterParameters_Future is a wrapper for a Params_OrganicFertilization_OrganicMatterParameters promised by a client call.

func (Params_OrganicFertilization_OrganicMatterParameters_Future) Struct

type Params_OrganicFertilization_OrganicMatterParameters_List

type Params_OrganicFertilization_OrganicMatterParameters_List struct{ capnp.List }

Params_OrganicFertilization_OrganicMatterParameters_List is a list of Params_OrganicFertilization_OrganicMatterParameters.

func NewParams_OrganicFertilization_OrganicMatterParameters_List

func NewParams_OrganicFertilization_OrganicMatterParameters_List(s *capnp.Segment, sz int32) (Params_OrganicFertilization_OrganicMatterParameters_List, error)

NewParams_OrganicFertilization_OrganicMatterParameters creates a new list of Params_OrganicFertilization_OrganicMatterParameters.

func (Params_OrganicFertilization_OrganicMatterParameters_List) At

func (Params_OrganicFertilization_OrganicMatterParameters_List) Set

func (Params_OrganicFertilization_OrganicMatterParameters_List) String

type Params_OrganicFertilization_Parameters

type Params_OrganicFertilization_Parameters struct{ capnp.Struct }

func NewParams_OrganicFertilization_Parameters

func NewParams_OrganicFertilization_Parameters(s *capnp.Segment) (Params_OrganicFertilization_Parameters, error)

func NewRootParams_OrganicFertilization_Parameters

func NewRootParams_OrganicFertilization_Parameters(s *capnp.Segment) (Params_OrganicFertilization_Parameters, error)

func ReadRootParams_OrganicFertilization_Parameters

func ReadRootParams_OrganicFertilization_Parameters(msg *capnp.Message) (Params_OrganicFertilization_Parameters, error)

func (Params_OrganicFertilization_Parameters) HasId

func (Params_OrganicFertilization_Parameters) HasName

func (Params_OrganicFertilization_Parameters) HasParams

func (Params_OrganicFertilization_Parameters) Id

func (Params_OrganicFertilization_Parameters) IdBytes

func (Params_OrganicFertilization_Parameters) Name

func (Params_OrganicFertilization_Parameters) NameBytes

func (Params_OrganicFertilization_Parameters) NewParams

NewParams sets the params field to a newly allocated Params_OrganicFertilization_OrganicMatterParameters struct, preferring placement in s's segment.

func (Params_OrganicFertilization_Parameters) Params

func (Params_OrganicFertilization_Parameters) SetId

func (Params_OrganicFertilization_Parameters) SetName

func (Params_OrganicFertilization_Parameters) SetParams

func (Params_OrganicFertilization_Parameters) String

type Params_OrganicFertilization_Parameters_Future

type Params_OrganicFertilization_Parameters_Future struct{ *capnp.Future }

Params_OrganicFertilization_Parameters_Future is a wrapper for a Params_OrganicFertilization_Parameters promised by a client call.

func (Params_OrganicFertilization_Parameters_Future) Params

func (Params_OrganicFertilization_Parameters_Future) Struct

type Params_OrganicFertilization_Parameters_List

type Params_OrganicFertilization_Parameters_List struct{ capnp.List }

Params_OrganicFertilization_Parameters_List is a list of Params_OrganicFertilization_Parameters.

func NewParams_OrganicFertilization_Parameters_List

func NewParams_OrganicFertilization_Parameters_List(s *capnp.Segment, sz int32) (Params_OrganicFertilization_Parameters_List, error)

NewParams_OrganicFertilization_Parameters creates a new list of Params_OrganicFertilization_Parameters.

func (Params_OrganicFertilization_Parameters_List) At

func (Params_OrganicFertilization_Parameters_List) Set

func (Params_OrganicFertilization_Parameters_List) String

type Params_Sowing

type Params_Sowing struct{ capnp.Struct }

func NewParams_Sowing

func NewParams_Sowing(s *capnp.Segment) (Params_Sowing, error)

func NewRootParams_Sowing

func NewRootParams_Sowing(s *capnp.Segment) (Params_Sowing, error)

func ReadRootParams_Sowing

func ReadRootParams_Sowing(msg *capnp.Message) (Params_Sowing, error)

func (Params_Sowing) Crop

func (s Params_Sowing) Crop() crop.Crop

func (Params_Sowing) Cultivar

func (s Params_Sowing) Cultivar() crop.Cultivar

func (Params_Sowing) HasCrop

func (s Params_Sowing) HasCrop() bool

func (Params_Sowing) PlantDensity

func (s Params_Sowing) PlantDensity() uint16

func (Params_Sowing) SetCrop

func (s Params_Sowing) SetCrop(v crop.Crop) error

func (Params_Sowing) SetCultivar

func (s Params_Sowing) SetCultivar(v crop.Cultivar)

func (Params_Sowing) SetPlantDensity

func (s Params_Sowing) SetPlantDensity(v uint16)

func (Params_Sowing) String

func (s Params_Sowing) String() string

type Params_Sowing_Future

type Params_Sowing_Future struct{ *capnp.Future }

Params_Sowing_Future is a wrapper for a Params_Sowing promised by a client call.

func (Params_Sowing_Future) Crop

func (p Params_Sowing_Future) Crop() crop.Crop

func (Params_Sowing_Future) Struct

type Params_Sowing_List

type Params_Sowing_List struct{ capnp.List }

Params_Sowing_List is a list of Params_Sowing.

func NewParams_Sowing_List

func NewParams_Sowing_List(s *capnp.Segment, sz int32) (Params_Sowing_List, error)

NewParams_Sowing creates a new list of Params_Sowing.

func (Params_Sowing_List) At

func (Params_Sowing_List) Set

func (Params_Sowing_List) String

func (s Params_Sowing_List) String() string

type Params_Tillage

type Params_Tillage struct{ capnp.Struct }

func NewParams_Tillage

func NewParams_Tillage(s *capnp.Segment) (Params_Tillage, error)

func NewRootParams_Tillage

func NewRootParams_Tillage(s *capnp.Segment) (Params_Tillage, error)

func ReadRootParams_Tillage

func ReadRootParams_Tillage(msg *capnp.Message) (Params_Tillage, error)

func (Params_Tillage) Depth

func (s Params_Tillage) Depth() float64

func (Params_Tillage) SetDepth

func (s Params_Tillage) SetDepth(v float64)

func (Params_Tillage) String

func (s Params_Tillage) String() string

type Params_Tillage_Future

type Params_Tillage_Future struct{ *capnp.Future }

Params_Tillage_Future is a wrapper for a Params_Tillage promised by a client call.

func (Params_Tillage_Future) Struct

type Params_Tillage_List

type Params_Tillage_List struct{ capnp.List }

Params_Tillage_List is a list of Params_Tillage.

func NewParams_Tillage_List

func NewParams_Tillage_List(s *capnp.Segment, sz int32) (Params_Tillage_List, error)

NewParams_Tillage creates a new list of Params_Tillage.

func (Params_Tillage_List) At

func (Params_Tillage_List) Set

func (Params_Tillage_List) String

func (s Params_Tillage_List) String() string

type PlantOrgan

type PlantOrgan uint16
const (
	PlantOrgan_root   PlantOrgan = 0
	PlantOrgan_leaf   PlantOrgan = 1
	PlantOrgan_shoot  PlantOrgan = 2
	PlantOrgan_fruit  PlantOrgan = 3
	PlantOrgan_strukt PlantOrgan = 4
	PlantOrgan_sugar  PlantOrgan = 5
)

Values of PlantOrgan.

func PlantOrganFromString

func PlantOrganFromString(c string) PlantOrgan

PlantOrganFromString returns the enum value with a name, or the zero value if there's no such value.

func (PlantOrgan) String

func (c PlantOrgan) String() string

String returns the enum's constant name.

type PlantOrgan_List

type PlantOrgan_List struct{ capnp.List }

func NewPlantOrgan_List

func NewPlantOrgan_List(s *capnp.Segment, sz int32) (PlantOrgan_List, error)

func (PlantOrgan_List) At

func (l PlantOrgan_List) At(i int) PlantOrgan

func (PlantOrgan_List) Set

func (l PlantOrgan_List) Set(i int, v PlantOrgan)

type Service

type Service struct{ Client *capnp.Client }

func Service_ServerToClient

func Service_ServerToClient(s Service_Server, policy *server.Policy) Service

Service_ServerToClient creates a new Client from an implementation of Service_Server. The caller is responsible for calling Release on the returned Client.

func (Service) AddRef

func (c Service) AddRef() Service

func (Service) ManagementAt

func (Service) Release

func (c Service) Release()

type Service_Server

type Service_Server interface {
	ManagementAt(context.Context, Service_managementAt) error

	Info(context.Context, common.Identifiable_info) error
}

A Service_Server is a Service with a local implementation.

type Service_managementAt

type Service_managementAt struct {
	*server.Call
}

Service_managementAt holds the state for a server call to Service.managementAt. See server.Call for documentation.

func (Service_managementAt) AllocResults

AllocResults allocates the results struct.

func (Service_managementAt) Args

Args returns the call's arguments.

type Service_managementAt_Results

type Service_managementAt_Results struct{ capnp.Struct }

func NewRootService_managementAt_Results

func NewRootService_managementAt_Results(s *capnp.Segment) (Service_managementAt_Results, error)

func NewService_managementAt_Results

func NewService_managementAt_Results(s *capnp.Segment) (Service_managementAt_Results, error)

func ReadRootService_managementAt_Results

func ReadRootService_managementAt_Results(msg *capnp.Message) (Service_managementAt_Results, error)

func (Service_managementAt_Results) HasMgmt

func (s Service_managementAt_Results) HasMgmt() bool

func (Service_managementAt_Results) Mgmt

func (Service_managementAt_Results) NewMgmt

NewMgmt sets the mgmt field to a newly allocated Event_List, preferring placement in s's segment.

func (Service_managementAt_Results) SetMgmt

func (Service_managementAt_Results) String

type Service_managementAt_Results_Future

type Service_managementAt_Results_Future struct{ *capnp.Future }

Service_managementAt_Results_Future is a wrapper for a Service_managementAt_Results promised by a client call.

func (Service_managementAt_Results_Future) Struct

type Service_managementAt_Results_List

type Service_managementAt_Results_List struct{ capnp.List }

Service_managementAt_Results_List is a list of Service_managementAt_Results.

func NewService_managementAt_Results_List

func NewService_managementAt_Results_List(s *capnp.Segment, sz int32) (Service_managementAt_Results_List, error)

NewService_managementAt_Results creates a new list of Service_managementAt_Results.

func (Service_managementAt_Results_List) At

func (Service_managementAt_Results_List) Set

func (Service_managementAt_Results_List) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL