Documentation ¶
Index ¶
- type ApiLog
- type Attence
- type Auth
- type Blood
- func (p *Blood) GetBlood(query *query.BloodGetQuery) *result.BloodGetResult
- func (p *Blood) GetBloodUpload(query *query.BloodUploadGetQuery) *result.BloodUploadResult
- func (p *Blood) GetBloods(query *query.BloodsGetQuery) *result.BloodsGetResult
- func (p *Blood) UpdateBloodUpload(param *query.BloodUploadSetQuery) *result.Result
- type Config
- type CoreLog
- type Device
- func (p *Device) BindDevice(query *query.DeviceBindQuery) *result.Result
- func (p *Device) DeviceCreate(query *query.DeviceCreateQuery) *result.Result
- func (p *Device) DeviceDelete(query *query.DeviceDeleteQuery) *result.Result
- func (p *Device) DeviceSleepTime(query *query.SendSleepTimeQuery) *result.Result
- func (p *Device) DeviceUpdate(query *query.DeviceUpdateQuery) *result.Result
- func (p *Device) DeviceUpdateStatus(query *query.DeviceStatusQuery) *result.Result
- func (p *Device) DeviceWechat(query *query.DeviceWechatQuery) *result.Result
- func (p *Device) GetDevice(query *query.DeviceGetQuery) *result.DeviceGetResult
- func (p *Device) GetDeviceIsOnline(query *query.DeviceIsOnlineQuery) *result.DeviceIsOnlineResult
- func (p *Device) GetDeviceModules(query *query.DeviceModulesQuery) *result.DeviceModulesResult
- func (p *Device) GetDevices(query *query.DevicesGetQuery) *result.DevicesResult
- func (p *Device) SendDnd(query *query.DeviceDndQuery) *result.Result
- func (p *Device) SendFamily(query *query.DeviceFamilyQuery) *result.Result
- func (p *Device) SendFindDevice(query *query.DeviceFindQuery) *result.Result
- func (p *Device) SendHost(query *query.DeviceHostQuery) *result.Result
- func (p *Device) SendLocate(query *query.DeviceLocateQuery) *result.Result
- func (p *Device) SendLocateMode(query *query.DeviceLocateModeQuery) *result.Result
- func (p *Device) SendLocateUpload(query *query.DeviceLocateUploadQuery) *result.Result
- func (p *Device) SendMessage(query *query.DeviceMessageQuery) *result.Result
- func (p *Device) SendMonitor(query *query.DeviceMonitorQuery) *result.Result
- func (p *Device) SendPowerOff(query *query.DevicePowerOffQuery) *result.Result
- func (p *Device) SendRestart(query *query.DeviceRestartQuery) *result.Result
- func (p *Device) SendUdtime(query *query.DeviceUdtimeQuery) *result.Result
- func (p *Device) UnBindDevice(query *query.DeviceUnBindQuery) *result.Result
- type Fence
- type GuardLog
- type Heart
- func (p *Heart) GetHeart(query *query.HeartGetQuery) *result.HeartResult
- func (p *Heart) GetHeartUpload(query *query.HeartUploadGetQuery) *result.HeartUploadResult
- func (p *Heart) GetHearts(query *query.HeartsGetQuery) *result.HeartsResult
- func (p *Heart) UpdateHeartUpload(param *query.HeartUploadSetQuery) *result.Result
- type MacBook
- func (p *MacBook) DeleteMacBook(query *query.MacbookDeleteQuery) *result.Result
- func (p *MacBook) DrawMacBook(query *query.MacbookDrawQuery) *result.Result
- func (p *MacBook) GetMacBook(query *query.MacBookGetQuery) *result.MacBookGetResult
- func (p *MacBook) GetMacBooks(query *query.MacBooksGetQuery) *result.MacBooksGetResult
- func (p *MacBook) UpdateMacBook(query *query.MacbookUpdateQuery) *result.Result
- type MacList
- type Message
- type Sleep
- type Step
- type Temperature
- func (p *Temperature) GetTemperature(query *query.TemperatureGetQuery) *result.TemperatureResult
- func (p *Temperature) GetTemperatureUpload(query *query.TemperatureUploadGetQuery) *result.TemperatureUploadResult
- func (p *Temperature) GetTemperatures(query *query.TemperaturesGetQuery) *result.TemperaturesResult
- func (p *Temperature) UpdateTemperatureUpload(param *query.TemperatureUploadSetQuery) *result.Result
- type Track
- type Tsp
- func (p *Tsp) ApiLog() *ApiLog
- func (p *Tsp) Attence() *Attence
- func (p *Tsp) Auth() *Auth
- func (p *Tsp) Blood() *Blood
- func (p *Tsp) CoreLog() *CoreLog
- func (p *Tsp) Device() *Device
- func (p *Tsp) Fence() *Fence
- func (p *Tsp) GuardLog() *GuardLog
- func (p *Tsp) Heart() *Heart
- func (p *Tsp) MacBook() *MacBook
- func (p *Tsp) MacList() *MacList
- func (p *Tsp) Message() *Message
- func (p *Tsp) Sleep() *Sleep
- func (p *Tsp) Step() *Step
- func (p *Tsp) Temperature() *Temperature
- func (p *Tsp) Track() *Track
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiLog ¶ added in v1.1.0
type ApiLog struct {
Cfg *Config
}
func (*ApiLog) GetApiLogs ¶ added in v1.1.0
func (p *ApiLog) GetApiLogs(query *query.ApiLogsGetQuery) *result.ApiLogsGetResult
获取api日志列表
type Attence ¶ added in v1.1.0
type Attence struct {
Cfg *Config
}
func (*Attence) GetAttences ¶ added in v1.1.0
func (p *Attence) GetAttences(query *query.AttencesGetQuery) *result.AttencesGetResult
获取考勤数据列表
type Blood ¶ added in v1.0.1
type Blood struct {
Cfg *Config
}
func (*Blood) GetBlood ¶ added in v1.0.1
func (p *Blood) GetBlood(query *query.BloodGetQuery) *result.BloodGetResult
获取最新血压数据
func (*Blood) GetBloodUpload ¶ added in v1.0.11
func (p *Blood) GetBloodUpload(query *query.BloodUploadGetQuery) *result.BloodUploadResult
获取血压测量间隔时间
func (*Blood) GetBloods ¶ added in v1.0.1
func (p *Blood) GetBloods(query *query.BloodsGetQuery) *result.BloodsGetResult
获取血压列表
func (*Blood) UpdateBloodUpload ¶ added in v1.0.11
func (p *Blood) UpdateBloodUpload(param *query.BloodUploadSetQuery) *result.Result
设置血压测量间隔时间
type CoreLog ¶ added in v1.1.0
type CoreLog struct {
Cfg *Config
}
func (*CoreLog) GetCoreLogs ¶ added in v1.1.0
func (p *CoreLog) GetCoreLogs(query *query.CoreLogsGetQuery) *result.CoreLogsGetResult
获取api日志列表
type Device ¶
type Device struct {
Cfg *Config
}
func (*Device) BindDevice ¶ added in v1.0.1
func (p *Device) BindDevice(query *query.DeviceBindQuery) *result.Result
设备绑定
func (*Device) DeviceCreate ¶ added in v1.1.0
func (p *Device) DeviceCreate(query *query.DeviceCreateQuery) *result.Result
创建设备
func (*Device) DeviceDelete ¶ added in v1.1.0
func (p *Device) DeviceDelete(query *query.DeviceDeleteQuery) *result.Result
删除设备
func (*Device) DeviceSleepTime ¶ added in v1.1.0
func (p *Device) DeviceSleepTime(query *query.SendSleepTimeQuery) *result.Result
下发睡眠时间段指令
func (*Device) DeviceUpdate ¶ added in v1.0.7
func (p *Device) DeviceUpdate(query *query.DeviceUpdateQuery) *result.Result
更新设备信息
func (*Device) DeviceUpdateStatus ¶ added in v1.1.0
func (p *Device) DeviceUpdateStatus(query *query.DeviceStatusQuery) *result.Result
变更设备状态
func (*Device) DeviceWechat ¶ added in v1.1.1
func (p *Device) DeviceWechat(query *query.DeviceWechatQuery) *result.Result
DeviceWechat 下发传输微聊音频文件到设备的指令
func (*Device) GetDevice ¶ added in v1.0.1
func (p *Device) GetDevice(query *query.DeviceGetQuery) *result.DeviceGetResult
设备详情
func (*Device) GetDeviceIsOnline ¶ added in v1.0.1
func (p *Device) GetDeviceIsOnline(query *query.DeviceIsOnlineQuery) *result.DeviceIsOnlineResult
判断设备是否在线
func (*Device) GetDeviceModules ¶ added in v1.0.1
func (p *Device) GetDeviceModules(query *query.DeviceModulesQuery) *result.DeviceModulesResult
获取设备功能清单
func (*Device) GetDevices ¶ added in v1.0.1
func (p *Device) GetDevices(query *query.DevicesGetQuery) *result.DevicesResult
获取设备列表
func (*Device) SendDnd ¶ added in v1.0.6
func (p *Device) SendDnd(query *query.DeviceDndQuery) *result.Result
下发设置免打扰时间段指令
func (*Device) SendFamily ¶ added in v1.0.1
func (p *Device) SendFamily(query *query.DeviceFamilyQuery) *result.Result
下发设置亲情号码指令
func (*Device) SendFindDevice ¶ added in v1.0.1
func (p *Device) SendFindDevice(query *query.DeviceFindQuery) *result.Result
下发设备寻找指令
func (*Device) SendHost ¶ added in v1.0.1
func (p *Device) SendHost(query *query.DeviceHostQuery) *result.Result
下发设置终端host指令
func (*Device) SendLocate ¶ added in v1.0.1
func (p *Device) SendLocate(query *query.DeviceLocateQuery) *result.Result
下发定位指令到终端
func (*Device) SendLocateMode ¶ added in v1.0.1
func (p *Device) SendLocateMode(query *query.DeviceLocateModeQuery) *result.Result
下发设置定位模式指令
func (*Device) SendLocateUpload ¶ added in v1.0.1
func (p *Device) SendLocateUpload(query *query.DeviceLocateUploadQuery) *result.Result
下发定位上报间隔指令
func (*Device) SendMessage ¶ added in v1.0.1
func (p *Device) SendMessage(query *query.DeviceMessageQuery) *result.Result
透传报文
func (*Device) SendMonitor ¶ added in v1.0.6
func (p *Device) SendMonitor(query *query.DeviceMonitorQuery) *result.Result
下发聆听指令
func (*Device) SendPowerOff ¶ added in v1.0.1
func (p *Device) SendPowerOff(query *query.DevicePowerOffQuery) *result.Result
下发关机指令
func (*Device) SendRestart ¶ added in v1.0.1
func (p *Device) SendRestart(query *query.DeviceRestartQuery) *result.Result
下发重启指令
func (*Device) SendUdtime ¶ added in v1.0.1
func (p *Device) SendUdtime(query *query.DeviceUdtimeQuery) *result.Result
下发定位时间段指令
func (*Device) UnBindDevice ¶ added in v1.0.1
func (p *Device) UnBindDevice(query *query.DeviceUnBindQuery) *result.Result
设备解绑
type Fence ¶ added in v1.0.1
type Fence struct {
Cfg *Config
}
func (*Fence) CreateFence ¶ added in v1.0.1
func (p *Fence) CreateFence(query *query.FenceCreateQuery) *result.FenceCreateResult
创建围栏
func (*Fence) DeleteFence ¶ added in v1.0.1
func (p *Fence) DeleteFence(query *query.FenceDeleteQuery) *result.Result
删除围栏
func (*Fence) GetFences ¶ added in v1.0.1
func (p *Fence) GetFences(query *query.FencesGetQuery) *result.FencesGetResult
获取围栏列表
type GuardLog ¶ added in v1.1.0
type GuardLog struct {
Cfg *Config
}
func (*GuardLog) GetGuardLogs ¶ added in v1.1.0
func (p *GuardLog) GetGuardLogs(query *query.GuardLogsGetQuery) *result.GuardLogsGetResult
获取api日志列表
type Heart ¶ added in v1.0.1
type Heart struct {
Cfg *Config
}
func (*Heart) GetHeart ¶ added in v1.0.1
func (p *Heart) GetHeart(query *query.HeartGetQuery) *result.HeartResult
获取最新心率数据
func (*Heart) GetHeartUpload ¶ added in v1.0.1
func (p *Heart) GetHeartUpload(query *query.HeartUploadGetQuery) *result.HeartUploadResult
获取心率测量间隔时间
func (*Heart) GetHearts ¶ added in v1.0.1
func (p *Heart) GetHearts(query *query.HeartsGetQuery) *result.HeartsResult
获取心率列表
func (*Heart) UpdateHeartUpload ¶ added in v1.0.1
func (p *Heart) UpdateHeartUpload(param *query.HeartUploadSetQuery) *result.Result
设置心率测量间隔时间
type MacBook ¶ added in v1.0.15
type MacBook struct {
Cfg *Config
}
func (*MacBook) DeleteMacBook ¶ added in v1.0.15
func (p *MacBook) DeleteMacBook(query *query.MacbookDeleteQuery) *result.Result
删除macbook
func (*MacBook) DrawMacBook ¶ added in v1.0.15
func (p *MacBook) DrawMacBook(query *query.MacbookDrawQuery) *result.Result
重绘macbook
func (*MacBook) GetMacBook ¶ added in v1.0.15
func (p *MacBook) GetMacBook(query *query.MacBookGetQuery) *result.MacBookGetResult
获取macbook详情
func (*MacBook) GetMacBooks ¶ added in v1.0.15
func (p *MacBook) GetMacBooks(query *query.MacBooksGetQuery) *result.MacBooksGetResult
获取macbook列表
func (*MacBook) UpdateMacBook ¶ added in v1.0.15
func (p *MacBook) UpdateMacBook(query *query.MacbookUpdateQuery) *result.Result
更新macbook
type MacList ¶ added in v1.0.15
type MacList struct {
Cfg *Config
}
func (*MacList) DeleteMacList ¶ added in v1.0.15
func (p *MacList) DeleteMacList(query *query.MacListDeleteQuery) *result.Result
删除maclist
func (*MacList) GetMacLists ¶ added in v1.0.15
func (p *MacList) GetMacLists(query *query.MacListsGetQuery) *result.MacListsGetResult
获取mac列表
func (*MacList) MacListCreate ¶ added in v1.0.15
func (p *MacList) MacListCreate(query *query.MacListCreateQuery) *result.Result
添加maclist
type Message ¶ added in v1.1.0
type Message struct {
Cfg *Config
}
func (*Message) GetMessages ¶ added in v1.1.0
func (p *Message) GetMessages(query *query.MessagesGetQuery) *result.MessagesGetResult
获取报文数据列表
type Sleep ¶ added in v1.0.1
type Sleep struct {
Cfg *Config
}
func (*Sleep) GetSleep ¶ added in v1.1.0
func (p *Sleep) GetSleep(query *query.SleepGetQuery) *result.SleepResult
获取最新睡眠数据
func (*Sleep) GetSleeps ¶ added in v1.0.1
func (p *Sleep) GetSleeps(query *query.SleepsGetQuery) *result.SleepsResult
获取睡眠列表
type Step ¶ added in v1.0.1
type Step struct {
Cfg *Config
}
func (*Step) GetSteps ¶ added in v1.0.1
func (p *Step) GetSteps(query *query.StepsGetQuery) *result.StepsResult
获取计步列表
type Temperature ¶
type Temperature struct {
Cfg *Config
}
func (*Temperature) GetTemperature ¶
func (p *Temperature) GetTemperature(query *query.TemperatureGetQuery) *result.TemperatureResult
获取最新体温数据
func (*Temperature) GetTemperatureUpload ¶
func (p *Temperature) GetTemperatureUpload(query *query.TemperatureUploadGetQuery) *result.TemperatureUploadResult
获取体温测量间隔时间
func (*Temperature) GetTemperatures ¶
func (p *Temperature) GetTemperatures(query *query.TemperaturesGetQuery) *result.TemperaturesResult
获取体温列表
func (*Temperature) UpdateTemperatureUpload ¶
func (p *Temperature) UpdateTemperatureUpload(param *query.TemperatureUploadSetQuery) *result.Result
设置体温测量间隔时间
type Track ¶ added in v1.0.1
type Track struct {
Cfg *Config
}
func (*Track) GetTracks ¶ added in v1.0.1
func (p *Track) GetTracks(query *query.TracksGetQuery) *result.TracksGetResult
获取轨迹列表
func (*Track) TrackUpdate ¶ added in v1.1.1
func (p *Track) TrackUpdate(query *query.TracksUpdateQuery) *result.Result
TrackUpdate 修改轨迹数据
Source Files ¶
Click to show internal directories.
Click to hide internal directories.