修复全视通安卓版本无法监控的问题
全视通ip端口变了,需要更新,代理端口跟监控端口不相同
| | |
| | | //wjc |
| | | break; |
| | | case SPK.Inverter: |
| | | MainPage.Log("逆变器数据更新"); |
| | | case SPK.InverterRst: |
| | | var status = new Dictionary<string, object> { ["method"] = "status", ["data"] = temp.objects }; |
| | | MainPage.Log("逆变器数据更新1"); |
| | | Application.RunOnMainThread(() => |
| | | { |
| | | Inverter.Ins.H5Page.CallJS($"nativeToJs(\'{Newtonsoft.Json.JsonConvert.SerializeObject(status)}\')"); |
| | | }); |
| | | MainPage.Log("逆变器数据更新2"); |
| | | break; |
| | | } |
| | | |
| | |
| | | HDLLinphoneKit.Instance.SetAccountAndLogin( |
| | | mHDLSipInfo.sipAccount, |
| | | mHDLSipInfo.sipPasswd, |
| | | "139.159.157.75:46000", |
| | | "139.159.157.75:47000",//mHDLSipInfo.realm, |
| | | "sip:139.159.157.75:47000;transport=udp", |
| | | HDLLinphoneKit.InterPhoneTypeFreeview |
| | | ); |
| | | } |
| | |
| | | mHDLSipInfo.sipAccount, |
| | | mHDLSipInfo.sipPasswd, |
| | | mHDLSipInfo.realm, |
| | | "sip:139.159.157.75:47000;transport=udp", |
| | | HDLLinphoneKit.InterPhoneTypeHdl |
| | | ); |
| | | } |
| | |
| | | /// </summary> |
| | | public const string Inverter = "energy.inverter"; |
| | | /// <summary> |
| | | /// 三相逆变器 |
| | | /// </summary> |
| | | public const string InverterRst = "energy.inverter_rst"; |
| | | /// <summary> |
| | | /// 能源模块 |
| | | /// </summary> |
| | | public const string EnergyStandard = "energy.standard"; |
| | |
| | | /// </summary> |
| | | public List<Function> InverterList() |
| | | { |
| | | //get |
| | | //{ |
| | | // return _inverterList; |
| | | //} |
| | | //set |
| | | //{ |
| | | // _inverterList = value; |
| | | //} |
| | | return Functions.FindAll((obj) => obj.spk == SPK.Inverter); |
| | | return Functions.FindAll((obj) => obj.spk == SPK.Inverter || obj.spk == SPK.InverterRst); |
| | | } |
| | | #region 家电列表 electricals |
| | | #region 家电列表 electricals |
| | | /// <summary> |
| | | /// 家电列表 |
| | | /// </summary> |
| | |
| | | //etAccount.Text = "18244942707"; |
| | | //etAccount.Text = "12345678904"; |
| | | //etAccount.Text = "13418062953"; |
| | | etAccount.Text = "13138682659"; |
| | | etAccount.Text = "13138683659"; |
| | | } |
| | | else |
| | | { |
| | |
| | | }else if(etAccount.Text == "18688414428") |
| | | { |
| | | etPassword.Text = "HDL1985000"; |
| | | }else if (etAccount.Text == "13138682659") |
| | | }else if (etAccount.Text == "13138683659") |
| | | { |
| | | etPassword.Text = "wsad123321"; |
| | | } |