Ejemplo n.º 1
0
 /// <summary>
 /// 设置系统时间
 /// </summary>
 public static void SetCurrentTime()
 {
     byte[] package = BleProtocol.GetUpdateTimePackage();
     EventClass.GetInstance().WriteCommand(package);
     RecordLog.GetInstance().WriteLog(Level.Info, "设置时间行为结束");
 }
Ejemplo n.º 2
0
        private void btSetTime_Click(object sender, EventArgs e)
        {
            var package = BleProtocol.GetUpdateTimePackage();

            WriteCommand(package);
        }