| | |
| | | /// </summary> |
| | | public string expireTime; |
| | | } |
| | | |
| | | |
| | | |
| | | #region 音箱 |
| | | /// <summary> |
| | | /// 获取音箱列表 |
| | | /// </summary> |
| | | [System.Serializable] |
| | | public class GetSpeakerObj : HomeIdObj |
| | | { |
| | | /// <summary> |
| | | /// 平台名称 |
| | | /// </summary> |
| | | public string platformName; |
| | | /// <summary> |
| | | /// 页面大小 |
| | | /// </summary> |
| | | public int pageSize = 100; |
| | | /// <summary> |
| | | /// 页面序号 |
| | | /// </summary> |
| | | public int pageNo = 1; |
| | | } |
| | | |
| | | |
| | | [System.Serializable] |
| | | public class SpeakerObj : HomeIdObj |
| | | { |
| | | /// <summary> |
| | | /// 记录的主键id |
| | | /// </summary> |
| | | public string tokenId; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 更新音箱备注 |
| | | /// </summary> |
| | | [System.Serializable] |
| | | public class UpdateSpeakerRemarkObj : SpeakerObj |
| | | { |
| | | /// <summary> |
| | | /// 备注 |
| | | /// </summary> |
| | | public string remark; |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 获取音箱分配的设备和场景列表 |
| | | /// </summary> |
| | | [System.Serializable] |
| | | public class GetSpeakerDeviceListObj : HomeIdObj |
| | | { |
| | | /// <summary> |
| | | /// 记录的主键id |
| | | /// </summary> |
| | | public string tokenId; |
| | | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 配置的语音设备和场景数据 |
| | | /// </summary> |
| | | [System.Serializable] |
| | | public class SpeakerTargetInfo |
| | | { |
| | | /// <summary> |
| | | /// 控制的目标Id,云端的设备Id或者场景Id |
| | | /// </summary> |
| | | public string targetId; |
| | | /// <summary> |
| | | /// 是否是设备,场景为false |
| | | /// </summary> |
| | | public bool isDevice; |
| | | /// <summary> |
| | | /// 目标名称 |
| | | /// </summary> |
| | | public string targetName; |
| | | /// <summary> |
| | | /// 扩展参数当前rowview是否选中 |
| | | /// </summary> |
| | | public bool IsSelect; |
| | | } |
| | | |
| | | //[System.Serializable] |
| | | //public class SpeakerTargetInfoRow: SpeakerTargetInfo |
| | | //{ |
| | | // /// <summary> |
| | | // /// 当前rowview是否选中 |
| | | // /// </summary> |
| | | // public bool isSelect; |
| | | //} |
| | | |
| | | |
| | | /// <summary> |
| | | /// 更新音箱控制的设备和场景目标 |
| | | /// </summary> |
| | | [System.Serializable] |
| | | public class UpdateSpeakerDeviceListObj : SpeakerObj |
| | | { |
| | | /// <summary> |
| | | /// 备注 |
| | | /// </summary> |
| | | public List<SpeakerTargetInfo> targetInfos; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 更新音箱控制的设备和场景目标 |
| | | /// </summary> |
| | | [System.Serializable] |
| | | public class SpeakerListRes |
| | | { |
| | | /// <summary> |
| | | /// 音箱列表 |
| | | /// </summary> |
| | | public List<SpeakerInfo> list; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 音箱信息 |
| | | /// </summary> |
| | | [System.Serializable] |
| | | public class SpeakerInfo |
| | | { |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | public string platformName { get; set; } |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | public string remark { get; set; } |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | public string tokenId { get; set; } |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | public string userId { get; set; } |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | public string userRegion { get; set; } |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | public string homeId { get; set; } |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | public string homeRegion { get; set; } |
| | | } |
| | | #endregion |
| | | |
| | | //#region 旧接口 |
| | | ///// <summary> |