黄学彪
2019-10-24 31497bb69602433d94c8a28ea01c3ee3c7cc8576
ZigbeeApp/Shared/R.cs
@@ -277,9 +277,15 @@
        public readonly static int SetTempPasswordTip4 = 190;
        public readonly static int SetTempPasswordTip5 = 191;
        public readonly static int SetTempPasswordTip1 = 192;
        public readonly static int NextStepXm = 193;
        public readonly static int DeviceRemarkXm = 194;
        public readonly static int SetSuccessXm = 195;
        public readonly static int SetFailedXm = 196;
        public readonly static int SetFailedXm1 = 197;
        public readonly static int ClearFailedXm1 = 198;
        public readonly static int ClearFailedXm = 199;
        public readonly static int ModifyTempPasswordTip1 = 200;
        public readonly static int ModifyTempPasswordTip2 = 201;
        public readonly static int RemindSetting = 548;
        public readonly static int AddNewUser = 650;
@@ -538,6 +544,7 @@
        public readonly static int logictemplate = 5358;
        public readonly static int onlight = 5359;
        public readonly static int offlight = 5360;
        public readonly static int OnOffSwitch=5361;
@@ -1234,7 +1241,7 @@
      /// <summary>
      /// 控制面板
      /// </summary>
      public static readonly int OnOffSwitch = 12101;
      //public static readonly int OnOffSwitch = 12101;
      /// <summary>
      /// 继电器
      /// </summary>
@@ -4098,11 +4105,11 @@
        /// </summary>
        public const int uSearchGatewayFailMsg1 = 15779;
        /// <summary>
        /// 1.长按ZB/RST键20秒,网关恢复出厂设置,指示灯全部熄{0}灭后,重新入网。
        /// 1.长按ZB/RST键20秒,网关恢复出厂设置,指示灯全部熄灭后,重新入网。
        /// </summary>
        public const int uSearchGatewayFailMsg2 = 15780;
        /// <summary>
        /// 2.点按HID/WCFG键,进入网关换绑模式,系统指示灯快闪{0}5秒。
        /// 2.点按HID/WCFG键,进入网关换绑模式,系统指示灯快闪5秒。
        /// </summary>
        public const int uSearchGatewayFailMsg3 = 15781;
        /// <summary>
@@ -4133,6 +4140,218 @@
        /// 正在换绑网关,请稍候…
        /// </summary>
        public const int uIsReBindingPleaseWaiting = 15788;
        /// <summary>
        /// 设备配置
        /// </summary>
        public const int uDeviceSettion = 15789;
        /// <summary>
        /// 数据上传与下载
        /// </summary>
        public const int uDataUploadAndDownLoad = 15790;
        /// <summary>
        /// 网关ID
        /// </summary>
        public const int uGatewayID = 15791;
        /// <summary>
        /// 协调器MAC
        /// </summary>
        public const int uCoordinatorMac = 15792;
        /// <summary>
        /// 协调器信道
        /// </summary>
        public const int uCoordinatorChannel = 15793;
        /// <summary>
        /// 协议器PanID
        /// </summary>
        public const int uCoordinatorPanid = 15794;
        /// <summary>
        /// 绿色指示灯缓慢闪烁
        /// </summary>
        public const int uGreanPilotLampLinghtSlowly = 15795;
        /// <summary>
        /// 长按{0}秒
        /// </summary>
        public const int uLongClickSomeSecond = 15796;
        /// <summary>
        /// 方向与限位
        /// </summary>
        public const int uDirectionAndLimit = 15797;
        /// <summary>
        /// 手拉控制
        /// </summary>
        public const int uHandPullControl = 15798;
        /// <summary>
        /// 切换手拉控制失败
        /// </summary>
        public const int uChangeHandPullControlFail = 15799;
        /// <summary>
        /// 方向
        /// </summary>
        public const int uDirection = 15800;
        /// <summary>
        /// 限位
        /// </summary>
        public const int uLimit = 15801;
        /// <summary>
        /// 开限位
        /// </summary>
        public const int uOpenLimit = 15802;
        /// <summary>
        /// 合限位
        /// </summary>
        public const int uCloseLimit = 15803;
        /// <summary>
        /// 重置电机
        /// </summary>
        public const int uResetElectricalMachinery = 15804;
        /// <summary>
        /// 重置电机将初始化{0}方向与限位设置,确认继续?
        /// </summary>
        public const int uResetElectricalMachineryMsg = 15805;
        /// <summary>
        /// 选择方向
        /// </summary>
        public const int uDirectionSelect = 15806;
        /// <summary>
        /// 正向
        /// </summary>
        public const int uForwardDirection = 15807;
        /// <summary>
        /// 反向
        /// </summary>
        public const int uReverseDirection = 15808;
        /// <summary>
        /// 窗帘方向设置失败
        /// </summary>
        public const int uSetCurtainDirectionFail = 15809;
        /// <summary>
        /// 获取窗帘方向与限位设置失败
        /// </summary>
        public const int uGetCurtainDirectionAndLimitSettionFail = 15810;
        /// <summary>
        /// 重置窗帘限位点失败
        /// </summary>
        public const int uDeleteCurtainLimitFail = 15811;
        /// <summary>
        /// 设置窗帘限位点失败
        /// </summary>
        public const int uCommitCurtainLimitFail = 15812;
        /// <summary>
        /// 确认当前位置{0}为开限位?
        /// </summary>
        public const int uCommitCurtainOpenLimitMsg = 15813;
        /// <summary>
        /// 确认当前位置{0}为合限位?
        /// </summary>
        public const int uCommitCurtainCloseLimitMsg = 15814;
        /// <summary>
        /// 重置窗帘失败
        /// </summary>
        public const int uRestoreCurtainFail = 15815;
        /// <summary>
        /// 上限位
        /// </summary>
        public const int uUpLimit = 15816;
        /// <summary>
        /// 下限位
        /// </summary>
        public const int uDownLimit = 15817;
        /// <summary>
        /// 确认当前位置为上限位?
        /// </summary>
        public const int uCommitCurtainUpLimitMsg = 15818;
        /// <summary>
        /// 确认当前位置为下限位?
        /// </summary>
        public const int uCommitCurtainDownLimitMsg = 15819;
        /// <summary>
        /// 如果满足
        /// </summary>
        public const int uIfSatisfied = 15820;
        /// <summary>
        /// 就会
        /// </summary>
        public const int uResultDo = 15821;
        /// <summary>
        /// 触发目标
        /// </summary>
        public const int uTriggerTarget = 15822;
        /// <summary>
        /// 延时
        /// </summary>
        public const int uDelayed = 15823;
        /// <summary>
        /// 分
        /// </summary>
        public const int uMinute = 15824;
        /// <summary>
        /// 秒
        /// </summary>
        public const int uSecond = 15825;
        /// <summary>
        /// 照明等级
        /// </summary>
        public const int uLightLevel = 15826;
        /// <summary>
        /// 低
        /// </summary>
        public const int uLow = 15827;
        /// <summary>
        /// 高
        /// </summary>
        public const int uHigh = 15828;
        /// <summary>
        /// 没有可以添加的目标
        /// </summary>
        public const int uNotHadAddTarget = 15829;
        /// <summary>
        /// 逆时针拧开电池后盖
        /// </summary>
        public const int uUnscrewTheBatteryAnticlockwise = 15830;
        /// <summary>
        /// 绿色指示灯快速闪烁
        /// </summary>
        public const int uGreanPilotLampLinghtQuickly = 15831;
        /// <summary>
        /// 工作
        /// </summary>
        public const int uWork = 15832;
        /// <summary>
        /// 配对
        /// </summary>
        public const int uPair = 15833;
        /// <summary>
        /// 红色指示灯闪烁
        /// </summary>
        public const int uRedPilotLampLinght = 15834;
        /// <summary>
        /// 指示灯变绿闪烁
        /// </summary>
        public const int uPilotLampTurnGreenAndBlinks = 15835;
        /// <summary>
        /// 长按{0}秒(按键/LED)
        /// </summary>
        public const int uLongClickPanelLEDSomeSecond = 15836;
        /// <summary>
        /// 设备添加指引
        /// </summary>
        public const int uAddDeviceHelp1 = 15837;
        /// <summary>
        /// 可能由于当前网络较差或设备已被他人绑定。
        /// </summary>
        public const int uAddDeviceHelp2 = 15838;
        /// <summary>
        /// 1.请确保手机与设备之间的距离足够近,并且周围网络环境没有强干扰。
        /// </summary>
        public const int uAddDeviceHelp3 = 15839;
        /// <summary>
        /// 2.同时需确认应用的定位权限未被关闭。若手动关闭了应用定位权限可能导致无法自拔发现设备。
        /// </summary>
        public const int uAddDeviceHelp4 = 15840;
        /// <summary>
        /// 3.如果仍始终无法发现设备,可能因为设备已经被他人绑定了。如果你并不清楚是谁连接了设备,可以进行重置,重置方式请查阅说明书,根据指引操作。
        /// </summary>
        public const int uAddDeviceHelp5 = 15841;
        //★★★★下面这些是接口的返回信息翻译,从18000开始★★★★
        /// <summary>
@@ -4291,6 +4510,46 @@
        /// 四按键面板 -> 长按图示按键5秒以上,指示灯变绿、闪烁{0}进入配网状态。绿灯快闪3秒则配网成功
        /// </summary>
        public const int uAddFourButtonPanelMsg = 21005;
        /// <summary>
        /// Zigbee智能开合帘电机 -> 长按图示按键5秒以上,指示灯{0}变绿闪烁,则进入配网状态{0}绿灯熄灭则配网成功
        /// </summary>
        public const int uAddCurtainAutoOpenMsg = 21006;
        /// <summary>
        /// Zigbee智能管状电机 -> 长按图示按键5秒以上,指示灯{0}变绿闪烁,则进入配网状态{0}绿灯熄灭则配网成功
        /// </summary>
        public const int uAddCurtainSiphonateMsg = 21007;
        /// <summary>
        /// 红外传感器 -> 长按图示按键5秒以上,绿色快闪{0}进入配网状态,绿灯常亮则入网成功
        /// </summary>
        public const int uAddSensorInfraredMsg = 21008;
        /// <summary>
        /// 门窗传感器 -> 长按图示按键5秒以上,绿色快闪{0}进入配网状态,绿灯常亮则入网成功
        /// </summary>
        public const int uAddSensorDoorWindowMsg = 21009;
        /// <summary>
        /// 燃气传感器 -> 长按图示按键5秒以上,绿色快闪{0}进入配网状态,绿灯常亮则入网成功
        /// </summary>
        public const int uAddSensorCarbonMonoxideMsg = 21010;
        /// <summary>
        /// 烟雾传感器 -> 长按图示按键5秒以上,绿色快闪{0}进入配网状态,绿灯常亮则入网成功
        /// </summary>
        public const int uAddSensorFireMsg = 21011;
        /// <summary>
        /// 水浸传感器 -> 长按图示按键5秒以上,绿色快闪{0}进入配网状态,绿灯常亮则入网成功
        /// </summary>
        public const int uAddSensorWaterMsg = 21012;
        /// <summary>
        /// 空气开关 -> 按键从工作模式拨到配对模式,5秒后红灯{0}慢闪烁时拨回工作模式,{0}进入配网模式,红灯常亮则配网成功
        /// </summary>
        public const int uAddAirSwitchCloudContrMsg = 21013;
        /// <summary>
        /// 中继器 -> 长按图示按键5秒以上,指示灯变绿闪烁{0}进入配网状态,绿灯熄灭则入网成功
        /// </summary>
        public const int uAddRepeaterZigbeeMsg = 21014;
        /// <summary>
        /// 空调 -> 长按图示按键5秒以上,指示灯{0}变绿闪烁,进入配网状态{0}绿灯每5秒闪烁一次则入网成功
        /// </summary>
        public const int uAddAirConditionerZbGatewayMsg = 21015;
        //★★★★下面这些是模块ID的翻译名字,从30000开始★★★★
        /// <summary>
@@ -4306,7 +4565,7 @@
        /// </summary>
        public const int uDeviceModelId1302 = 30002;
        /// <summary>
        /// 镜像ID为1304(暂定)的设备的默认名字:水侵传感器
        /// 镜像ID为1304(暂定)的设备的默认名字:水浸传感器
        /// </summary>
        public const int uDeviceModelId1304 = 30003;
        /// <summary>
@@ -4318,11 +4577,11 @@
        /// </summary>
        public const int uDeviceModelId1301 = 30005;
        /// <summary>
        /// 镜像ID为4100的设备的默认名字:ZIGBEE微断云控制器
        /// 镜像ID为4100的设备的默认名字:Zigbee微断云控制器
        /// </summary>
        public const int uDeviceModelId4100 = 30006;
        /// <summary>
        /// 镜像ID为100的设备的默认名字:ZIGBEE智能开合帘电机
        /// 镜像ID为100的设备的默认名字:Zigbee智能开合帘电机
        /// </summary>
        public const int uDeviceModelId100 = 30007;
        /// <summary>