EBox 3310时间 [英] EBox 3310 time

查看:74
本文介绍了EBox 3310时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我正在为ebox 3310开发一个客户端应用程序。在该应用程序中,我想将特定实例中设备显示的确切时间发送到我的TCP服务器用于测试目的。但是我的目标设备(ebox)现在显示的时间不正确。请
帮助我解决这个问题。

I am developing one client application for ebox 3310. In that application, I  want to send the exact time displayed by the device at specific instance to my TCP server for testing purpose. But my target device(ebox) is showing incorrect time now. Please help me with this problem.

此外,我应该如何将时间用于我的客户端程序。(C#中的托管代码应用程序)

Also, how should I get that time into my client program.(Managed code application in C#)

推荐答案

在您的设备中显示"正确"的时间,您需要先正确设置它(例如使用日期和时间控制面板)。为了使您的设置在引导期间保持不变,设备必须有一些备用设备的电池
RTC否则,在下一次启动时,时钟将恢复到某个默认值(假设1月1日,2000 @ 00.00)。

In oreder for your device to show the 'correct' time you need first to correctly set it (for example using the date&time control panel). In order for your settings to be persistent across boots the device must have some battery which backs up the device RTC otherwise, at the following boot, the clock will be back to some default value (let's say january 1st, 2000 @ 00.00).

有关c#编程,请参阅
http://msdn.microsoft.com/en-us//library/system.datetime.now.aspx

For c# programming see http://msdn.microsoft.com/en-us//library/system.datetime.now.aspx


这篇关于EBox 3310时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆