Ejemplo n.º 1
0
 private void nmPowerOffTime_ValueChanged(object sender, EventArgs e)
 {
     Request(
         delegate { mPenCommV1.ReqSetupPenAutoShutdownTime((short)nmPowerOffTime.Value); },
         delegate { mPenCommV2.ReqSetupPenAutoShutdownTime((short)nmPowerOffTime.Value); }
         );
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Sets the value of the auto shutdown time property that if pen stay idle, shut off the pen.
 /// </summary>
 /// <param name="minute">minute of maximum idle time, staying power on (0~)</param>
 public void ReqSetupPenAutoShutdownTime(short minute)
 {
     if (IsV1Comm)
     {
         mCommV1.ReqSetupPenAutoShutdownTime(minute);
     }
     else
     {
         mCommV2.ReqSetupPenAutoShutdownTime(minute);
     }
 }