Beispiel #1
0
 /// <summary>
 /// コンストラクター
 /// </summary>
 /// <remarks>
 /// ノードのバウンディング ボックスは書き換えません。
 /// </remarks>
 /// <param name="width">表示領域の横幅(ピクセル数)</param>
 /// <param name="height">表示領域の縦幅(ピクセル数)</param>
 public LineReader(int width, int height)
 {
     this.lines = new List<Line> ();
     this.index = 0;
     this.width = width;
     this.height = height;
     this.charSize = 24;
     this.color = new Color (255, 255, 255, 255);
     this.feedMode = FeedMode.Manual;
     this.feedParams = new FeedParameters (0, 0);
     this.tick = null;
     this.tack = null;
     this.tackWait = null;
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DatabaseWorker" /> class.
 /// </summary>
 /// <param name="user">The user.</param>
 /// <param name="password">The password.</param>
 /// <param name="database">The database.</param>
 /// <param name="server">The server.</param>
 /// <param name="gpsToken">The GPS token.</param>
 /// <param name="statusToken">The status token.</param>
 /// <param name="faultToken">The fault token.</param>
 /// <param name="tripToken">The trip token.</param>
 /// <param name="exceptionToken">The exception token.</param>
 /// <param name="path">The path.</param>
 public DatabaseWorker(string user, string password, string database, string server, long?gpsToken, long?statusToken, long?faultToken, long?tripToken, long?exceptionToken, string path)
     : base(path)
 {
     feedParameters = new FeedParameters(gpsToken, statusToken, faultToken, tripToken, exceptionToken);
     feedService    = new FeedProcessor(server, database, user, password);
 }
Beispiel #3
0
        /// <summary>
        /// フィード パラメーターの変更
        /// </summary>
        /// <remarks>
        /// フィードで使用するパラメーターも一緒に指定します。
        /// </remarks>
        /// <param name="param">パラメーター</param>
        public void SetFeedParameter(FeedParameters param)
        {
            this.feedParams = param;

            RecreateTimeCounter ();
        }