| | |
| | | { |
| | | functionList.AddRange(FunctionList.List.GetMechanicalArmList()); |
| | | } |
| | | else if(titleId == StringId.SecurityMonitoring) |
| | | { |
| | | functionList.AddRange(FunctionList.List.GetIpCamImouList()); |
| | | } |
| | | functionList = functionList.OrderByDescending(o => o.controlCounter).ToList(); |
| | | |
| | | ShowFunctionRow(functionList); |
| | |
| | | functionDiv.LoadFunctionDiv(); |
| | | functionListView.AddChidren(functionDiv); |
| | | } |
| | | else if(function.spk == SPK.IpCam_Imou) |
| | | { |
| | | var functionDiv = new FunctionControlZone(function) |
| | | { |
| | | Gravity = Gravity.CenterHorizontal, |
| | | Width = Application.GetRealWidth(343), |
| | | Height = Application.GetRealHeight(96), |
| | | Radius = (uint)Application.GetMinRealAverage(12), |
| | | BorderColor = 0x00FFFFFF, |
| | | BorderWidth = 1, |
| | | BackgroundColor = CSS_Color.MainBackgroundColor, |
| | | Tag = function.spk + function.sid |
| | | }; |
| | | functionDiv.LoadFunctionDiv(); |
| | | functionListView.AddChidren(functionDiv); |
| | | |
| | | } |
| | | else |
| | | { |
| | | var functionDiv = new FunctionControlZone(function) |