private void InitView()
		{
			//设置标题栏
			var img_header_back = FindViewById<ImageView> (Resource.Id.img_header_back);
			img_header_back.Click += (sender, e) => 
			{
				this.Finish();
				OverridePendingTransition(Android.Resource.Animation.SlideInLeft,Android.Resource.Animation.SlideOutRight);
			};
				
			var tv_back = FindViewById<TextView> (Resource.Id.tv_back);
			tv_back.Text = "报警记录";
			var tv_desc = FindViewById<TextView> (Resource.Id.tv_desc);
			tv_desc.Text = "报警详细";

			var bundle = Intent.Extras;
			var alarmOrigin = bundle.GetString ("alarmOrigin");
			if (alarmOrigin == "Jpush") {
				var title = bundle.GetString (JPushInterface.ExtraNotificationTitle);
				var content = bundle.GetString (JPushInterface.ExtraAlert);
				var extras = bundle.GetString (JPushInterface.ExtraExtra);
				JSONObject extrasJson = new JSONObject(extras);
				alarmId = extrasJson.OptString("aid");
			
			}
			else if(alarmOrigin == "alarmList")
			{
			    alarmId = bundle.GetString ("alarmId");//报警id
			}
			tv_detail_alamTime = FindViewById<TextView>(Resource.Id.tv_detail_alamTime);
			tv_detail_alarmPosition = FindViewById<TextView> (Resource.Id.tv_detail_alarmPosition);
			tv_detail_trueName = FindViewById<TextView> (Resource.Id.tv_detail_trueName);
			tv_detail_alarmContent = FindViewById<TextView> (Resource.Id.tv_detail_alarmContent);
			tv_detail_deviceElectricity = FindViewById<TextView> (Resource.Id.tv_detail_deviceElectricity);
			tv_detail_alarmDeviceId = FindViewById<TextView> (Resource.Id.tv_detail_alarmDeviceId);
			tv_detail_remark = FindViewById<TextView> (Resource.Id.tv_detail_remark);
			tv_detail_status = FindViewById<TextView> (Resource.Id.tv_detail_status);
			tv_detail_alarmWay = FindViewById<TextView> (Resource.Id.tv_detail_alarmWay);
			tv_detail_handleUserType = FindViewById<TextView> (Resource.Id.tv_detail_handleUserType);
			tv_detail_cTrueName = FindViewById<TextView> (Resource.Id.tv_detail_cTrueName);
			tv_detail_cphoneNumberOne = FindViewById<TextView> (Resource.Id.tv_detail_cphoneNumberOne);
			lv_handleDetail = FindViewById<ListView> (Resource.Id.lv_handleDetail);
			ll_maplocation = FindViewById<LinearLayout> (Resource.Id.ll_maplocation);
			//查看地图
			ll_maplocation.Click += (object sender, EventArgs e) => {
				if(string.IsNullOrEmpty(alarmPosition) || !alarmPosition.Contains(","))
					return;
				var intent = new Intent(this,typeof(AlarmLocationActivity));
				var alarmbundle = new Bundle();
				alarmbundle.PutString("alarmPosition",alarmPosition);
				intent.PutExtras(alarmbundle);
				StartActivity(intent);
				//StartActivity(typeof(AlarmLocationActivity));
				OverridePendingTransition(Android.Resource.Animation.SlideInLeft,Android.Resource.Animation.SlideOutRight);
			};
			//LoadDetailData ();
			new Handler ().PostDelayed (LoadDetailData, 1000);
		}
		protected override void OnNewIntent (Intent intent)
		{
			base.OnNewIntent (intent);
			var bundle = intent.Extras;
			var alarmOrigin = bundle.GetString ("alarmOrigin");
			if (alarmOrigin == "Jpush") {
				var title = bundle.GetString (JPushInterface.ExtraNotificationTitle);
				var content = bundle.GetString (JPushInterface.ExtraAlert);
				var extras = bundle.GetString (JPushInterface.ExtraExtra);
				JSONObject extrasJson = new JSONObject(extras);
				alarmId = extrasJson.OptString("aid");

			}
			else if(alarmOrigin == "alarmList")
			{
				alarmId = bundle.GetString ("alarmId");//报警id
			}
			LoadDetailData ();
		}