
The information contained here are property of DIGITAX Automotive Electronics Italy, and extremely confidential. Any disclosure, copying, distribution to third
party is strictly prohibited.
46
//increase light intesity
if
(_dimVal < 32 && !cbAuto.Checked)
{
+;
tbDimVal.Text = _dimVal.ToString();
_aitp.AITPSetDimmerValue(_dimVal);
}
}
void
DiimerSample_Closing(
object
sender,
CancelEventArgs
e)
{
//release aitp
_aitp.AITPRelease();
}
private
void
btAskLight_Click(
object
sender,
EventArgs
e)
{
_aitp.AITPAskLightIntensity();
}
private
void
btAskDimmer_Click(
object
sender,
EventArgs
e)
{
_aitp.AITPAskDimmerValueAndTable();
}
private
void
cbAuto_CheckStateChanged(
object
sender,
EventArgs
e)
{
if
(cbAuto.Checked)
{
//set auto dimmer -> value 33
_aitp.AITPSetDimmerValue((
byte
)33);
}
else
{
_aitp.AITPSetDimmerValue(_dimVal);
}
}
}
}
Содержание 4GMCU
Страница 1: ...4GMCU Technical Manual V 1 3...
Страница 11: ...11 Technical Views 4GMCU...
Страница 63: ......