     private func setup01() {
         
         // 创建形状遮罩
-        let startAngle = CGFloat( (M_PI * 0) ) / 180
-        let endAngle   = CGFloat( (M_PI * 360) ) / 180
-        dashCircleLayer = CAShapeLayer.instance(circleCenter: CGPointMake(CGRectGetWidth(view.bounds)/2, 50 + 36), radius: 50, startAngle: startAngle, endAngle: endAngle, clockwise: true, lineDashPattern: [10,10])
+        let startAngle          = CGFloat( (M_PI * 0  ) ) / 180
+        let endAngle            = CGFloat( (M_PI * 360) ) / 180
+        
+        dashCircleLayer = CAShapeLayer.instance(circleCenter: CGPointMake(radius, radius), radius: radius - 8, startAngle: startAngle, endAngle: endAngle, clockwise: true, lineDashPattern: [10,10])
         
         dashCircleLayer.strokeColor = UIColor.blackColor().CGColor // 边缘线的颜色
         dashCircleLayer.lineCap     = kCALineCapSquare             // 边缘线的类型

        
        // 设置虚线圆环
        setup01()
    }
    
    // MARK: - 设置虚线圆环

        super.viewDidLoad()

        setup()
        
        timer = NSTimer.scheduledTimerWithTimeInterval(1, target: self, selector: Selector("timerEvent"), userInfo: nil, repeats: true)
    }

    override func didReceiveMemoryWarning() {
