68,9 → 68,8 |
} |
|
// Connection-Object übergeben. |
void dlg_MotorMixer::set_Objects(Input *t_Input, cSettings *t_Settings, s_Directorys t_Dir) |
void dlg_MotorMixer::set_Objects(cSettings *t_Settings, s_Directorys t_Dir) |
{ |
o_Input = t_Input; |
o_Settings = t_Settings; |
s_Dir = t_Dir; |
} |
245,7 → 244,8 |
void dlg_MotorMixer::read_Mixer() |
{ |
c_Data[0] = 0; |
o_Input->send_Data(HandlerMK::make_Frame('n', ADDRESS_FC, c_Data, 0).toLatin1().data(), DATA_READ_MIXER); |
// o_Input->send_Data(HandlerMK::make_Frame('n', ADDRESS_FC, c_Data, 0).toLatin1().data(), DATA_READ_MIXER); |
emit sig_SendData(HandlerMK::make_Frame('n', ADDRESS_FC, c_Data, 0).toLatin1().data(), DATA_READ_MIXER); |
} |
|
// Button-Slots |
260,7 → 260,8 |
|
memcpy((unsigned char *)&c_Data, (unsigned char *)&MK_Mixer, sizeof(MK_Mixer)); |
|
o_Input->send_Data(HandlerMK::make_Frame('m', ADDRESS_FC, c_Data, sizeof(MK_Mixer)).toLatin1().data(), DATA_WRITE_MIXER); |
// o_Input->send_Data(HandlerMK::make_Frame('m', ADDRESS_FC, c_Data, sizeof(MK_Mixer)).toLatin1().data(), DATA_WRITE_MIXER); |
emit sig_SendData(HandlerMK::make_Frame('m', ADDRESS_FC, c_Data, sizeof(MK_Mixer)).toLatin1().data(), DATA_WRITE_MIXER); |
} |
|
void dlg_MotorMixer::slot_pb_LOAD() |