Canoe自动化测试panel面板

目录

一,panel

二,系统变量

三,代码


一,panel

二,系统变量

三,代码

inludes
{
  
}

variables
{
  message BCM_Lock_Command Msg_BCM_Lock_Command_0x200;
  message BCM_Window_Command Msg_BCM_Window_Command_0x201;
  message BCM_Mirror_Command Msg_BCM_Mirror_Command_0x202;
  message BCM_Light_Command Msg_BCM_Light_Command_0x203;
  message BCM_Charging_Cove_Command Msg_BCM_Charging_Cove_Command_0x204;
  message BCM_Info_Feedback Msg_BCM_Info_Feedback_0x205;
  msTimer timer_50ms_0x200;
  msTimer timer_50ms_0x201;
  msTimer timer_50ms_0x202;
  msTimer timer_50ms_0x203;
  msTimer timer_50ms_0x204;
  msTimer timer_50ms_0x205;
}

on start
{
  setTimer(timer_50ms_0x200,50);
  setTimer(timer_50ms_0x201,50);
  setTimer(timer_50ms_0x202,50);
  setTimer(timer_50ms_0x203,50);
  setTimer(timer_50ms_0x204,50);
  setTimer(timer_50ms_0x205,50);
}

on timer timer_50ms_0x200
{
  setTimer(timer_50ms_0x200,50);
  if(@sysvar::`TX::TX_BCM_Lock_Command_0x200==1)
  {
  Msg_BCM_Lock_Command_0x200.BCM_All_Central_Lock_Cmd       = @sysvar::BCM_Lock_Command_0x200::BCM_All_Central_Lock_Cmd;
  Msg_BCM_Lock_Command_0x200.BCM_Driver_Central_Lock_Cmd    = @sysvar::BCM_Lock_Command_0x200::BCM_Driver_Central_Lock_Cmd;
  Msg_BCM_Lock_Command_0x200.BCM_Passenger_Central_Lock_Cmd = @sysvar::BCM_Lock_Command_0x200::BCM_Passenger_Central_Lock_Cmd;
  Msg_BCM_Lock_Command_0x200.BCM_RL_Child_Lock_Cmd          = @sysvar::BCM_Lock_Command_0x200::BCM_RL_Child_Lock_Cmd;
  Msg_BCM_Lock_Command_0x200.BCM_RR_Child_Lock_Cmd          = @sysvar::BCM_Lock_Command_0x200::BCM_RR_Child_Lock_Cmd;
  output(Msg_BCM_Lock_Command_0x200);
  }
}

on timer timer_50ms_0x201
{
  setTimer(timer_50ms_0x201,50);
  if(@sysvar::`TX::TX_BCM_Window_Command_0x201==1)
  {
  Msg_BCM_Window_Command_0x201.BCM_FL_Window_Percentage_Cmd = @sysvar::BCM_Window_Command_0x201::BCM_FL_Window_Percentage_Cmd;
  Msg_BCM_Window_Command_0x201.BCM_FL_Window_Remote_Cmd     = @sysvar::BCM_Window_Command_0x201::BCM_FL_Window_Remote_Cmd;
  Msg_BCM_Window_Command_0x201.BCM_FL_Window_Voice_Cmd      = @sysvar::BCM_Window_Command_0x201::BCM_FL_Window_Voice_Cmd;
  Msg_BCM_Window_Command_0x201.BCM_FR_Window_Percentage_Cmd = @sysvar::BCM_Window_Command_0x201::BCM_FR_Window_Percentage_Cmd;
  Msg_BCM_Window_Command_0x201.BCM_FR_Window_Remote_Cmd     = @sysvar::BCM_Window_Command_0x201::BCM_FR_Window_Remote_Cmd;
  Msg_BCM_Window_Command_0x201.BCM_FR_Window_Voice_Cmd      = @sysvar::BCM_Window_Command_0x201::BCM_FR_Window_Voice_Cmd;
  Msg_BCM_Window_Command_0x201.BCM_RL_Window_Percentage_Cmd = @sysvar::BCM_Window_Command_0x201::BCM_RL_Window_Percentage_Cmd;
  Msg_BCM_Window_Command_0x201.BCM_RL_Window_Remote_Cmd     = @sysvar::BCM_Window_Command_0x201::BCM_RL_Window_Remote_Cmd;
  Msg_BCM_Window_Command_0x201.BCM_RL_Window_Voice_Cmd      = @sysvar::BCM_Window_Command_0x201::BCM_RL_Window_Voice_Cmd;
  Msg_BCM_Window_Command_0x201.BCM_RR_Window_Percentage_Cmd = @sysvar::BCM_Window_Command_0x201::BCM_RR_Window_Percentage_Cmd;
  Msg_BCM_Window_Command_0x201.BCM_RR_Window_Remote_Cmd     = @sysvar::BCM_Window_Command_0x201::BCM_RR_Window_Remote_Cmd;
  Msg_BCM_Window_Command_0x201.BCM_RR_Window_Voice_Cmd      = @sysvar::BCM_Window_Command_0x201::BCM_RR_Window_Voice_Cmd;
  Msg_BCM_Window_Command_0x201.BCM_Window_Enable_Cmd        = @sysvar::BCM_Window_Command_0x201::BCM_Window_Enable_Cmd;
  output(Msg_BCM_Window_Command_0x201);
  }
}

on timer timer_50ms_0x202
{
  setTimer(timer_50ms_0x202,50);
  if(@sysvar::`TX::TX_BCM_Mirror_Command_0x202==1)
  {
  Msg_BCM_Mirror_Command_0x202.BCM_FL_Indicator_Light_Cmd = @sysvar::BCM_Mirror_Command_0x202::BCM_FL_Indicator_Light_Cmd;
  Msg_BCM_Mirror_Command_0x202.BCM_FL_Mirror_Adjust_Cmd   = @sysvar::BCM_Mirror_Command_0x202::BCM_FL_Mirror_Adjust_Cmd;
  Msg_BCM_Mirror_Command_0x202.BCM_FR_Indicator_Light_Cmd = @sysvar::BCM_Mirror_Command_0x202::BCM_FR_Indicator_Light_Cmd;
  Msg_BCM_Mirror_Command_0x202.BCM_FR_Mirror_Adjust_Cmd   = @sysvar::BCM_Mirror_Command_0x202::BCM_FR_Mirror_Adjust_Cmd;
  Msg_BCM_Mirror_Command_0x202.BCM_Mirror_EC_Cmd          = @sysvar::BCM_Mirror_Command_0x202::BCM_Mirror_EC_Cmd;
  Msg_BCM_Mirror_Command_0x202.BCM_Mirror_Fold_Cmd        = @sysvar::BCM_Mirror_Command_0x202::BCM_Mirror_Fold_Cmd;
  Msg_BCM_Mirror_Command_0x202.BCM_Mirror_Heater_Cmd      = @sysvar::BCM_Mirror_Command_0x202::BCM_Mirror_Heater_Cmd;
  output(Msg_BCM_Mirror_Command_0x202);
  }
}

on timer timer_50ms_0x203
{
  setTimer(timer_50ms_0x203,50);
  if(@sysvar::`TX::TX_BCM_Light_Command_0x203==1)
  {
  Msg_BCM_Light_Command_0x203.BCM_Switch_Backlight_Cmd = @sysvar::BCM_Light_Command_0x203::BCM_Switch_Backlight_Cmd;
  Msg_BCM_Light_Command_0x203.BCM_Welcome_Light_Cmd    = @sysvar::BCM_Light_Command_0x203::BCM_Welcome_Light_Cmd;
  output(Msg_BCM_Light_Command_0x203);
  }
}

on timer timer_50ms_0x204
{
  setTimer(timer_50ms_0x204,50);
  if(@sysvar::`TX::TX_BCM_Charging_Cove_Command_0x204==1)
  {
  Msg_BCM_Charging_Cove_Command_0x204.BCM_Charging_Cover_Cmd = @sysvar::BCM_Charging_Cove_Command_0x204::BCM_Charging_Cover_Cmd;
  output(Msg_BCM_Charging_Cove_Command_0x204);
  }
}

on timer timer_50ms_0x205
{
  setTimer(timer_50ms_0x205,50);
  if(@sysvar::`TX::TX_BCM_Info_Feedback_0x205==1)
  {
  Msg_BCM_Info_Feedback_0x205.BCM_Car_Wash_Mode                = @sysvar::BCM_Info_Feedback_0x205::BCM_Car_Wash_Mode;
  Msg_BCM_Info_Feedback_0x205.BCM_Luminance_Sensor_Value       = @sysvar::BCM_Info_Feedback_0x205::BCM_Luminance_Sensor_Value;
  Msg_BCM_Info_Feedback_0x205.BCM_Power_Crank_Status           = @sysvar::BCM_Info_Feedback_0x205::BCM_Power_Crank_Status;
  Msg_BCM_Info_Feedback_0x205.BCM_Vehicle_Anti_Theft_Statu     = @sysvar::BCM_Info_Feedback_0x205::BCM_Vehicle_Anti_Theft_Statu;
  Msg_BCM_Info_Feedback_0x205.BCM_Vehicle_Crash_Signal         = @sysvar::BCM_Info_Feedback_0x205::BCM_Vehicle_Crash_Signal;
  Msg_BCM_Info_Feedback_0x205.BCM_Vehicle_Gear_Status          = @sysvar::BCM_Info_Feedback_0x205::BCM_Vehicle_Gear_Status;
  Msg_BCM_Info_Feedback_0x205.BCM_Vehicle_Speed                = @sysvar::BCM_Info_Feedback_0x205::BCM_Vehicle_Speed;
  Msg_BCM_Info_Feedback_0x205.Environment_Temperature_Feedback = @sysvar::BCM_Info_Feedback_0x205::Environment_Temperature_Feedback;
  output(Msg_BCM_Info_Feedback_0x205);
  }
}

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值