Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceDomainCropArea ¶
type DeviceDomainCropArea struct { AreaID *uuid.UUID `json:"area_id"` AreaName string `json:"area_name"` }
DeviceDomainCropArea is used ...
type DeviceDomainCropBatch ¶
type DeviceDomainCropBatch struct { CropID *uuid.UUID `json:"crop_id"` CropBatchID string `json:"crop_batch_id"` }
DeviceDomainCropBatch is used...
type DeviceDomainCropMaterial ¶
type DeviceDomainCropMaterial struct { MaterialID *uuid.UUID `json:"material_id"` MaterialName string `json:"material_name"` MaterialType string `json:"material_type"` MaterialDetailedType string `json:"material_detailed_type"` }
DeviceDomainCropMaterial is used ...
type DeviceDomainDetailedArea ¶
type DeviceDomainDetailedArea struct { MaterialID *uuid.UUID `json:"material_id"` MaterialName string `json:"material_name"` MaterialType string `json:"material_type"` MaterialDetailedType string `json:"material_detailed_type"` }
DeviceDomainDetailedArea is used ...
func (DeviceDomainDetailedArea) Code ¶
func (d DeviceDomainDetailedArea) Code() string
Code is used ...
type DeviceDomainDetailedCrop ¶
type DeviceDomainDetailedCrop struct { Material *DeviceDomainCropMaterial `json:"material"` Area *DeviceDomainCropArea `json:"area"` Crop *DeviceDomainCropBatch `json:"crop"` }
DeviceDomainDetailedCrop interface in domain But contains more detailed information of material, area and crop
func (DeviceDomainDetailedCrop) Code ¶
func (d DeviceDomainDetailedCrop) Code() string
Code is used ...
type DeviceDomainDetailedReservoir ¶
type DeviceDomainDetailedReservoir struct { MaterialID *uuid.UUID `json:"material_id"` MaterialName string `json:"material_name"` MaterialType string `json:"material_type"` MaterialDetailedType string `json:"material_detailed_type"` }
DeviceDomainDetailedReservoir is used ...
func (DeviceDomainDetailedReservoir) Code ¶
func (d DeviceDomainDetailedReservoir) Code() string
Code is used ...
type DeviceEvent ¶
DeviceEvent is used ...
type DeviceEventStorage ¶
type DeviceEventStorage struct { Lock *deadlock.RWMutex DeviceEvents []DeviceEvent }
DeviceEventStorage is used ...
func CreateDeviceEventStorage ¶
func CreateDeviceEventStorage() *DeviceEventStorage
CreateDeviceEventStorage is used
type DeviceRead ¶
type DeviceRead struct { Title string `json:"title"` UID uuid.UUID `json:"uid"` Description string `json:"description"` CreatedDate time.Time `json:"created_date"` //DueDate *time.Time `json:"due_date, omitempty"` //CompletedDate *time.Time `json:"completed_date"` //CancelledDate *time.Time `json:"cancelled_date"` //Priority string `json:"priority"` Status string `json:"status"` Domain string `json:"domain"` DomainDetails domain.DeviceDomain `json:"domain_details"` Category string `json:"category"` //IsDue bool `json:"is_due"` AssetID *uuid.UUID `json:"asset_id"` }
DeviceRead is used ...
type DeviceReadStorage ¶
type DeviceReadStorage struct { Lock *deadlock.RWMutex DeviceReadMap map[uuid.UUID]DeviceRead }
DeviceReadStorage is used
func CreateDeviceReadStorage ¶
func CreateDeviceReadStorage() *DeviceReadStorage
CreateDeviceReadStorage is used ...
Click to show internal directories.
Click to hide internal directories.