Subversion Repositories Projects

Rev

Rev 674 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 674 Rev 750
Line 66... Line 66...
66
    connect(sb_GIER_12, SIGNAL(valueChanged(int)), this, SLOT(slot_CheckValue(int)));
66
    connect(sb_GIER_12, SIGNAL(valueChanged(int)), this, SLOT(slot_CheckValue(int)));
Line 67... Line 67...
67
 
67
 
Line 68... Line 68...
68
}
68
}
69
 
69
 
70
// Connection-Object übergeben.
70
// Connection-Object übergeben.
71
void dlg_MotorMixer::set_Objects(Input *t_Input, cSettings *t_Settings, s_Directorys t_Dir)
-
 
72
{
71
void dlg_MotorMixer::set_Objects(cSettings *t_Settings, s_Directorys t_Dir)
73
    o_Input    = t_Input;
72
{
74
    o_Settings = t_Settings;
73
    o_Settings = t_Settings;
Line 75... Line 74...
75
    s_Dir      = t_Dir;
74
    s_Dir      = t_Dir;
Line 243... Line 242...
243
 
242
 
244
// Mixer von der FC Lesen.
243
// Mixer von der FC Lesen.
245
void dlg_MotorMixer::read_Mixer()
244
void dlg_MotorMixer::read_Mixer()
246
{
245
{
247
    c_Data[0] = 0;
246
    c_Data[0] = 0;
-
 
247
//    o_Input->send_Data(HandlerMK::make_Frame('n', ADDRESS_FC, c_Data, 0).toLatin1().data(), DATA_READ_MIXER);
248
    o_Input->send_Data(HandlerMK::make_Frame('n', ADDRESS_FC, c_Data, 0).toLatin1().data(), DATA_READ_MIXER);
248
    emit sig_SendData(HandlerMK::make_Frame('n', ADDRESS_FC, c_Data, 0).toLatin1().data(), DATA_READ_MIXER);
Line 249... Line 249...
249
}
249
}
250
 
250
 
251
// Button-Slots
251
// Button-Slots
Line 258... Line 258...
258
{
258
{
259
    get_MotorData();
259
    get_MotorData();
Line 260... Line 260...
260
 
260
 
Line 261... Line 261...
261
    memcpy((unsigned char *)&c_Data, (unsigned char *)&MK_Mixer, sizeof(MK_Mixer));
261
    memcpy((unsigned char *)&c_Data, (unsigned char *)&MK_Mixer, sizeof(MK_Mixer));
-
 
262
 
262
 
263
//    o_Input->send_Data(HandlerMK::make_Frame('m', ADDRESS_FC, c_Data, sizeof(MK_Mixer)).toLatin1().data(), DATA_WRITE_MIXER);
Line 263... Line 264...
263
    o_Input->send_Data(HandlerMK::make_Frame('m', ADDRESS_FC, c_Data, sizeof(MK_Mixer)).toLatin1().data(), DATA_WRITE_MIXER);
264
    emit sig_SendData(HandlerMK::make_Frame('m', ADDRESS_FC, c_Data, sizeof(MK_Mixer)).toLatin1().data(), DATA_WRITE_MIXER);
264
}
265
}
265
 
266