[ @file = "C:\grmn\AntPlusTestApp\source\AntPlusTestAppPowerView.mc"; @line = 1; @symbol_importdef<0> = [Toybox,1,7,13]; @symbol_importdef<1> = [Graphics,1,14,22]; ]
import Toybox.Graphics;
[ @file = "C:\grmn\AntPlusTestApp\source\AntPlusTestAppPowerView.mc"; @line = 2; @symbol_importdef<0> = [Toybox,2,7,13]; @symbol_importdef<1> = [WatchUi,2,14,21]; ]
import Toybox.WatchUi;
[ @file = "C:\grmn\AntPlusTestApp\source\AntPlusTestAppPowerView.mc"; @line = 4; @symbol_usingdef<0> = [Toybox,4,6,12]; @symbol_usingdef<1> = [Timer,4,13,18]; @symbol_usingAlias = [Timer,4,22,27]; ]
using Toybox.Timer as :Timer;
[ @file = "C:\grmn\AntPlusTestApp\source\AntPlusTestAppPowerView.mc"; @line = 6; @symbol_classdef = [AntPlusTestAppPowerView,6,6,29]; @symbol_extends<0> = [WatchUi,6,38,45]; @symbol_extends<1> = [View,6,46,50]; ]
class AntPlusTestAppPowerView extends WatchUi.View {
    [ @file = "C:\grmn\AntPlusTestApp\source\AntPlusTestAppPowerView.mc"; @line = 6; ]
    <init> {
    }
    [ @file = "C:\grmn\AntPlusTestApp\source\AntPlusTestAppPowerView.mc"; @line = 6; ]
    static
    <init> {
    }
    [ @file = "C:\grmn\AntPlusTestApp\source\AntPlusTestAppPowerView.mc"; @line = 8; @position = 15; @symbol_vardef = [m_power,8,15,22]; ]
    protected
    var m_power;
    [ @file = "C:\grmn\AntPlusTestApp\source\AntPlusTestAppPowerView.mc"; @line = 9; @position = 15; @symbol_vardef = [m_antPlus,9,15,24]; ]
    protected
    var m_antPlus;
    [ @file = "C:\grmn\AntPlusTestApp\source\AntPlusTestAppPowerView.mc"; @line = 11; @symbol_functiondef = [initialize,11,13,23]; @symbol_param<0> = [ant_api,11,24,31]; ]
    function initialize(ant_api) as Void {
C_grmn_AntPlusTestApp_source_AntPlusTestAppPowerView_mc_11_33_16_4_start:
[ "C:\grmn\AntPlusTestApp\source\AntPlusTestAppPowerView.mc" 12 8 ]
        symbol [ View %tmp.2 12 8 12 ];
        %tmp.2 = getv ? :View;
        symbol [ initialize %tmp.3 12 13 23 ];
        %tmp.3 = getv function %tmp.2 :initialize;
        invoke %tmp.2 %tmp.3();
[ "C:\grmn\AntPlusTestApp\source\AntPlusTestAppPowerView.mc" 14 8 ]
        %tmp.4 = 0;
        symbol [ m_power ? 14 8 15 ];
        putv self :m_power %tmp.4;
[ "C:\grmn\AntPlusTestApp\source\AntPlusTestAppPowerView.mc" 15 8 ]
        %tmp.5 = lgetv %ant_api;
        symbol [ ant_api %tmp.5 15 20 27 ];
        symbol [ m_antPlus ? 15 8 17 ];
        putv self :m_antPlus %tmp.5;
C_grmn_AntPlusTestApp_source_AntPlusTestAppPowerView_mc_11_33_16_4_stop:
    }
    [ @file = "C:\grmn\AntPlusTestApp\source\AntPlusTestAppPowerView.mc"; @line = 18; @symbol_functiondef = [OnTimerUpdate,18,13,26]; ]
    function OnTimerUpdate() {
C_grmn_AntPlusTestApp_source_AntPlusTestAppPowerView_mc_18_29_22_4_start:
[ "C:\grmn\AntPlusTestApp\source\AntPlusTestAppPowerView.mc" 19 8 ]
        symbol [ m_antPlus %tmp.2 19 18 27 ];
        %tmp.2 = getv ? :m_antPlus;
        symbol [ getPower %tmp.3 19 28 36 ];
        %tmp.3 = getv function %tmp.2 :getPower;
        %tmp.4 = invoke %tmp.2 %tmp.3();
        symbol [ m_power ? 19 8 15 ];
        putv self :m_power %tmp.4;
[ "C:\grmn\AntPlusTestApp\source\AntPlusTestAppPowerView.mc" 20 8 ]
        symbol [ System %tmp.6 20 8 14 ];
        %tmp.6 = getv ? :System;
        symbol [ println %tmp.7 20 15 22 ];
        %tmp.7 = getv function %tmp.6 :println;
        %tmp.8 = "Power: ";
        symbol [ m_power %tmp.10 20 35 42 ];
        %tmp.10 = getv ? :m_power;
        %tmp.11 = add %tmp.8 %tmp.10;
        invoke %tmp.6 %tmp.7(%tmp.11);
[ "C:\grmn\AntPlusTestApp\source\AntPlusTestAppPowerView.mc" 21 8 ]
        symbol [ WatchUi %tmp.12 21 8 15 ];
        %tmp.12 = getm $.Toybox.WatchUi;
        symbol [ requestUpdate %tmp.13 21 16 29 ];
        %tmp.13 = getv function %tmp.12 :requestUpdate;
        invoke %tmp.12 %tmp.13();
C_grmn_AntPlusTestApp_source_AntPlusTestAppPowerView_mc_18_29_22_4_stop:
    }
    [ @file = "C:\grmn\AntPlusTestApp\source\AntPlusTestAppPowerView.mc"; @line = 25; @symbol_functiondef = [onLayout,25,13,21]; @symbol_param<0> = [dc,25,22,24]; @symbol_param<0>_type<0> = [Dc,25,28,30]; ]
    function onLayout(dc as Dc) as Void {
C_grmn_AntPlusTestApp_source_AntPlusTestAppPowerView_mc_25_40_27_4_start:
[ "C:\grmn\AntPlusTestApp\source\AntPlusTestAppPowerView.mc" 26 8 ]
        %tmp.1 = self;
        symbol [ setLayout %tmp.2 26 8 17 ];
        %tmp.2 = getv function %tmp.1 :setLayout;
        symbol [ Rez %tmp.4 26 18 21 ];
        %tmp.4 = getv ? :Rez;
        symbol [ Layouts %tmp.5 26 22 29 ];
        %tmp.5 = getv %tmp.4 :Layouts;
        symbol [ Power_Layout %tmp.6 26 30 42 ];
        %tmp.6 = getv function %tmp.5 :Power_Layout;
        %tmp.7 = lgetv %dc;
        symbol [ dc %tmp.7 26 43 45 ];
        %tmp.8 = invoke %tmp.5 %tmp.6(%tmp.7);
        invoke %tmp.1 %tmp.2(%tmp.8);
C_grmn_AntPlusTestApp_source_AntPlusTestAppPowerView_mc_25_40_27_4_stop:
    }
    [ @file = "C:\grmn\AntPlusTestApp\source\AntPlusTestAppPowerView.mc"; @line = 32; @symbol_functiondef = [onShow,32,13,19]; ]
    function onShow() as Void {
C_grmn_AntPlusTestApp_source_AntPlusTestAppPowerView_mc_32_30_34_4_start:
[ "C:\grmn\AntPlusTestApp\source\AntPlusTestAppPowerView.mc" 33 8 ]
        symbol [ m_antPlus %tmp.2 33 8 17 ];
        %tmp.2 = getv ? :m_antPlus;
        symbol [ startSensor %tmp.3 33 18 29 ];
        %tmp.3 = getv function %tmp.2 :startSensor;
        symbol [ POWER %tmp.5 33 30 35 ];
        %tmp.5 = getv ? :POWER;
        %tmp.6 = self;
        symbol [ self %tmp.6 33 37 41 ];
        symbol [ method %tmp.7 33 42 48 ];
        %tmp.7 = getv function %tmp.6 :method;
        %tmp.9 = const :OnTimerUpdate;
        symbol [ OnTimerUpdate %tmp.9 33 50 63 const ];
        %tmp.10 = invoke %tmp.6 %tmp.7(%tmp.9);
        invoke %tmp.2 %tmp.3(%tmp.5, %tmp.10);
C_grmn_AntPlusTestApp_source_AntPlusTestAppPowerView_mc_32_30_34_4_stop:
    }
    [ @file = "C:\grmn\AntPlusTestApp\source\AntPlusTestAppPowerView.mc"; @line = 37; @symbol_functiondef = [onUpdate,37,13,21]; @symbol_param<0> = [dc,37,22,24]; @symbol_param<0>_type<0> = [Dc,37,28,30]; ]
    function onUpdate(dc as Dc) as Void {
C_grmn_AntPlusTestApp_source_AntPlusTestAppPowerView_mc_37_40_43_4_start:
[ "C:\grmn\AntPlusTestApp\source\AntPlusTestAppPowerView.mc" 38 8 ]
        [ "C_grmn_AntPlusTestApp_source_AntPlusTestAppPowerView_mc_37_40_43_4_start" "C_grmn_AntPlusTestApp_source_AntPlusTestAppPowerView_mc_37_40_43_4_stop" ]
        %pwr_label.1 = local;
        symbol [ pwr_label %pwr_label.1 38 12 21 ];
        %tmp.1 = self;
        symbol [ self %tmp.1 38 24 28 ];
        symbol [ findDrawableById %tmp.2 38 29 45 ];
        %tmp.2 = getv function %tmp.1 :findDrawableById;
        %tmp.3 = "pwr";
        %tmp.4 = invoke %tmp.1 %tmp.2(%tmp.3);
        lputv %pwr_label.1 %tmp.4;
        symbol [ pwr_label %pwr_label.1 38 12 21 ];
[ "C:\grmn\AntPlusTestApp\source\AntPlusTestAppPowerView.mc" 39 8 ]
        %tmp.5 = lgetv %pwr_label.1;
        symbol [ pwr_label %tmp.5 39 8 17 ];
        symbol [ setText %tmp.6 39 18 25 ];
        %tmp.6 = getv function %tmp.5 :setText;
        symbol [ m_power %tmp.8 39 26 33 ];
        %tmp.8 = getv ? :m_power;
        %tmp.9 = " watts";
        %tmp.10 = add %tmp.8 %tmp.9;
        invoke %tmp.5 %tmp.6(%tmp.10);
[ "C:\grmn\AntPlusTestApp\source\AntPlusTestAppPowerView.mc" 42 8 ]
        symbol [ View %tmp.12 42 8 12 ];
        %tmp.12 = getv ? :View;
        symbol [ onUpdate %tmp.13 42 13 21 ];
        %tmp.13 = getv function %tmp.12 :onUpdate;
        %tmp.14 = lgetv %dc;
        symbol [ dc %tmp.14 42 22 24 ];
        invoke %tmp.12 %tmp.13(%tmp.14);
C_grmn_AntPlusTestApp_source_AntPlusTestAppPowerView_mc_37_40_43_4_stop:
    }
    [ @file = "C:\grmn\AntPlusTestApp\source\AntPlusTestAppPowerView.mc"; @line = 48; @symbol_functiondef = [onHide,48,13,19]; ]
    function onHide() as Void {
C_grmn_AntPlusTestApp_source_AntPlusTestAppPowerView_mc_48_30_50_4_start:
[ "C:\grmn\AntPlusTestApp\source\AntPlusTestAppPowerView.mc" 49 8 ]
        symbol [ m_antPlus %tmp.2 49 8 17 ];
        %tmp.2 = getv ? :m_antPlus;
        symbol [ stopSensor %tmp.3 49 18 28 ];
        %tmp.3 = getv function %tmp.2 :stopSensor;
        symbol [ POWER %tmp.5 49 29 34 ];
        %tmp.5 = getv ? :POWER;
        invoke %tmp.2 %tmp.3(%tmp.5);
C_grmn_AntPlusTestApp_source_AntPlusTestAppPowerView_mc_48_30_50_4_stop:
    }
}
[ @file = "C:\grmn\AntPlusTestApp\source\AntPlusTestAppPowerView.mc"; @line = 1; ]
<init> {
}
