wxr
2024-09-30 2a88b9b559fd20f42d163d08b582f2d19ff329f4
HDL_ON/UI/UI2/1-HomePage/HomePage.cs
@@ -564,21 +564,33 @@
                #endregion
#if DEBUG
                //bool isPlay= false;
                btnResidenceName.MouseUpEventHandler = (envent, ee) =>
                {
#if __ANDROID__
                    Com.Hdl.Hdllinphonesdk.HDLLinphoneKit.Instance.PlayRingtone();
                    //Com.Hdl.Hdllinphonesdk.HDLLinphoneKit.Instance.PlayRingtone();
                    //Android.Media.AudioManager audioManager = (Android.Media.AudioManager)Application.Activity.GetSystemService(Android.Content.Context.AudioService);
                    //Console.WriteLine(audioManager.RingerMode);
                    try
                    {
                        var ddd = Com.Hdl.Hdllinphonesdk.HDLLinphoneKit.Instance.AudioManager.RingerMode ;
                        Console.WriteLine(ddd + ";;;;ddd");//   ddd   Vibrate   震动 、、   ddd   Silent   静音//   ddd   Normal
                    }
                    catch(Exception e)
                    {
                        Console.WriteLine("dddd"+e.StackTrace);
                    }
#elif __IOS__
                    //if (isPlay)
                    //{
                    //    isPlay = false;
                    //    soundPlayer.StopSound();
                    //    Other.SoundPlayer.Ins.StopSound();
                    //}
                    //else
                    //{
                    //    isPlay = true;
                    //    soundPlayer.PlaySound();
                    //    Other.SoundPlayer.Ins.PlaySound();
                    //}
#endif
@@ -1006,10 +1018,10 @@
                    //    continue;
                    //}
                    //else
                    {
                        if (!function.collect&& function.spk != SPK.InverterJinmao)
                            continue;
                    }
                    //{
                    if (!function.collect&& function.spk != SPK.InverterJinmao)
                        continue;
                    //}
                    if (index % 2 == 0)
                    {
                        rowView = new FrameLayout()