2023年09月07日18:06:35
修复海信bug,搞好ios环境;
| | |
| | | <CodesignKey>Apple Development: xuebiao huang (4P32GXQWWK)</CodesignKey> |
| | | <MtouchDebug>true</MtouchDebug> |
| | | <MtouchI18n>cjk</MtouchI18n> |
| | | <MtouchLink>SdkOnly</MtouchLink> |
| | | <MtouchLink>None</MtouchLink> |
| | | <MtouchExtraArgs>-gcc_flags="-dead_strip -ObjC"</MtouchExtraArgs> |
| | | <MtouchEnableSGenConc>false</MtouchEnableSGenConc> |
| | | <CodesignEntitlements>Entitlements.plist</CodesignEntitlements> |
| | |
| | | <WarningLevel>4</WarningLevel> |
| | | <CodesignEntitlements>Entitlements.plist</CodesignEntitlements> |
| | | <MtouchArch>ARM64</MtouchArch> |
| | | <CodesignKey>Apple Distribution: HDL Automation Co., Ltd (BVTA78PRYA)</CodesignKey> |
| | | <CodesignKey>Apple Development: xuebiao huang (4P32GXQWWK)</CodesignKey> |
| | | <MtouchLink>SdkOnly</MtouchLink> |
| | | <MtouchExtraArgs>-gcc_flags="-dead_strip -ObjC"</MtouchExtraArgs> |
| | | <MtouchI18n>cjk</MtouchI18n> |
| | | <AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
| | | <CodesignProvision>OnPro2307291-Dev</CodesignProvision> |
| | | </PropertyGroup> |
| | | <ItemGroup> |
| | | <Reference Include="System" /> |
| | |
| | | |
| | | functionCount = FunctionList.List.GetElectricals().Count; |
| | | functionOnCount = FunctionList.List.GetElectricals().FindAll((obj) => obj.spk!=SPK.ElectricalTvHisense&&obj.trait_on_off.curValue.ToString() == "on").Count; |
| | | #if DEBUG |
| | | functionCount = 1; |
| | | #endif |
| | | //#if DEBUG |
| | | // functionCount = 1; |
| | | //#endif |
| | | #endregion |
| | | break; |
| | | case ShowFunction.EnergyMonitoring: |
| | |
| | | IsMoreLines = true, |
| | | }; |
| | | functionView.AddChidren(btnName); |
| | | |
| | | //不需要显示设备开状态数量; |
| | | Button btnFunctionCount=null; |
| | | if (item != ShowFunction.Aks |
| | | && item != ShowFunction.VideoDoorLock |
| | | && item != ShowFunction.Environmental |
| | |
| | | && item != ShowFunction.Acst && item != ShowFunction.IpCam |
| | | && functionCount != 0) |
| | | { |
| | | Button btnFunctionCount = new Button() |
| | | btnFunctionCount = new Button() |
| | | { |
| | | X = Application.GetRealWidth(17) + Application.GetRealWidth(7 * functionCount.ToString().Length), |
| | | Y = btnName.Bottom, |
| | |
| | | { |
| | | btnFunctionViewBg.MouseUpEventHandler = (sender, e) => |
| | | { |
| | | |
| | | var skipView = new FunctionPage(); |
| | | MainPage.BasePageView.AddChidren(skipView); |
| | | skipView.LoadPage(functionPageTitleId); |
| | | MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; |
| | | skipView.DelAction += () => |
| | | { |
| | | functionContentView?.RemoveFromParent(); |
| | | this.RefreshFunctionView(); |
| | | }; |
| | | }; |
| | | } |
| | | index++; |
| | |
| | | |
| | | } |
| | | #endregion |
| | | |
| | | /// <summary> |
| | | /// 更新底部界面 |
| | | /// </summary> |
| | | void UpdateBottomView() |
| | | { |
| | | Application.RunOnMainThread(() => |
| | | { |
| | | functionContentView?.RemoveFromParent(); |
| | | this.RefreshFunctionView(); |
| | | }); |
| | | } |
| | | } |
| | | } |
| | |
| | | List<Function> functionList; |
| | | int titleId; |
| | | |
| | | public Action DelAction; |
| | | public FunctionPage() |
| | | { |
| | | bodyView = this; |
| | |
| | | } |
| | | else if (titleId == StringId.Electric) |
| | | { |
| | | |
| | | functionList.AddRange(FunctionList.List.GetElectricals()); |
| | | |
| | | } |
| | | else if (titleId == StringId.EnvironmentalScience) |
| | | { |
| | |
| | | functionListView.RemoveAll(); |
| | | showList.Remove(function);//先移除 |
| | | ShowFunctionRow(showList,isAppend); |
| | | this.DelAction?.Invoke(); |
| | | |
| | | }; |
| | | var functionDiv = new FunctionControlZone(function, deviceDelAction) |
| | |
| | | { |
| | | this.Width = Application.GetRealWidth(width); |
| | | this.Height = Application.GetRealWidth(height); |
| | | this.Radius = (uint)Application.GetRealHeight(cornerValue); |
| | | this.Radius = (uint)Application.GetRealWidth(cornerValue); |
| | | this.BackgroundColor = MusicColor.ViewColor; |
| | | this.Gravity = Gravity.CenterHorizontal; |
| | | } |
| | |
| | | Gravity=Gravity.Center, |
| | | Width = Application.GetRealWidth(76), |
| | | Height = Application.GetRealWidth(76), |
| | | Radius = (uint)Application.GetRealHeight(38), |
| | | Radius = (uint)Application.GetRealWidth(38), |
| | | BackgroundColor = MusicColor.WhiteColor, |
| | | |
| | | |
| | |
| | | Gravity = Gravity.Center, |
| | | Width = Application.GetRealWidth(28), |
| | | Height = Application.GetRealWidth(28), |
| | | Radius = (uint)Application.GetRealHeight(14), |
| | | Radius = (uint)Application.GetRealWidth(14), |
| | | BackgroundColor = 0xff1B2D4D, |
| | | SelectedBackgroundColor = MusicColor.SelectedColor, |
| | | Name = "确定" |
| | |
| | | yinliangFL.Y = Application.GetRealHeight(260); |
| | | yinliangFL.X = shouyeFL.X; |
| | | yinliangFL.BackgroundColor = 0xffF2F3F7; |
| | | yinliangFL.Radius = (uint)Application.GetRealHeight(34); |
| | | yinliangFL.Radius = (uint)Application.GetRealWidth(34); |
| | | |
| | | btn_jia = new Button |
| | | { |
| | |
| | | this.IsMoreLines = true; |
| | | this.BackgroundColor = 0xffECEDEE; |
| | | this.SelectedBackgroundColor = 0xFFF2F3F7; |
| | | this.Radius = (uint)Application.GetRealHeight(30); |
| | | this.Radius = (uint)Application.GetRealHeight(19); |
| | | this.Padding = new Padding(0,0,0,0); |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 事件监听方法 |
| | |
| | | SelectedTextColor = MusicColor.MusicTxet14SelectedColor, |
| | | TextSize = TextSize.Text16, |
| | | TextID = StringId.kongzhi, |
| | | Padding = new Padding(0, 0, 0, 0), |
| | | IsBold = true, |
| | | }; |
| | | |
| | |
| | | TextColor = MusicColor.TextColor, |
| | | SelectedTextColor = MusicColor.MusicTxet14SelectedColor, |
| | | TextSize = TextSize.Text16, |
| | | Text = "信号源", |
| | | TextID =StringId.xinhaoyuan, |
| | | Padding=new Padding(0,0,0,0), |
| | | IsBold = true, |
| | | }; |
| | | |
| | |
| | | <DefineConstants></DefineConstants>
|
| | | <ErrorReport>prompt</ErrorReport>
|
| | | <WarningLevel>4</WarningLevel>
|
| | | <CodesignKey>iPhone Distribution</CodesignKey>
|
| | | <CodesignKey>Apple Development: xuebiao huang (4P32GXQWWK)</CodesignKey>
|
| | | <MtouchUseLlvm>true</MtouchUseLlvm>
|
| | | <MtouchFloat32>true</MtouchFloat32>
|
| | | <CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
|
| | |
| | | <MtouchArch>ARM64</MtouchArch>
|
| | | <MtouchHttpClientHandler>NSUrlSessionHandler</MtouchHttpClientHandler>
|
| | | <MtouchVerbosity></MtouchVerbosity>
|
| | | <CodesignProvision>OnProSiri230729-1-Dev</CodesignProvision>
|
| | | </PropertyGroup>
|
| | | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhoneSimulator' ">
|
| | | <DebugType>pdbonly</DebugType>
|
| | |
| | | <DefineConstants></DefineConstants>
|
| | | <ErrorReport>prompt</ErrorReport>
|
| | | <WarningLevel>4</WarningLevel>
|
| | | <CodesignKey>iPhone Distribution</CodesignKey>
|
| | | <CodesignKey>Apple Development: xuebiao huang (4P32GXQWWK)</CodesignKey>
|
| | | <MtouchUseLlvm>true</MtouchUseLlvm>
|
| | | <MtouchFloat32>true</MtouchFloat32>
|
| | | <CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
|
| | |
| | | <MtouchHttpClientHandler>NSUrlSessionHandler</MtouchHttpClientHandler>
|
| | | <MtouchVerbosity></MtouchVerbosity>
|
| | | <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
| | | <CodesignProvision>OnProSiriUI230729-1-Dev</CodesignProvision>
|
| | | </PropertyGroup>
|
| | | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhoneSimulator' ">
|
| | | <DebugType>pdbonly</DebugType>
|