RAD Studio 10.2.1 Release 1出爐了!

父親節Embarcadero捎來了一份禮物,在官方部落格上宣布RAD Studio 10.2.1 Release1可以下載了(RAD Studio 10.2.1 Released Today),主要當然是一些bug fix外,也多了一些功能。

    • Delphi Linux server performance enhancements for both RAD Server and DataSnap.

    1. Delphi and C++ compiler and linker updates that resolve issues loading packages, especially when debugging, on Windows 10 Creators Update.

    1. Support for latest versions of iOS and Xcode (iOS 10.3 and XCode 8.3.2) when targeting the iOS App Store.

    1. FireDAC support for MSSQL 2012, 2014, 2016, and ODBC Driver 13.

    1. Significant C++ linker improvements pertaining to linking larger projects.

    1. Fixes and enhancements to the Runtime Library and VCL.

    1. Additional Android enhancements around control rendering and performance, and fixes for TEdit issues with Android N.

    1. FireDAC Support for InterBase 2017 Exclusive Isolation Level and Transaction Wait Time.

    1. Changes in DataSize for fields of type ftInteger and ftLongWord to avoid using the platform-dependent LongInt and LongWord type (the change affects only 64-bit Linux and 64-bit iOs platforms), and related changes for SetFieldData and GetFieldData

    Fixes for over 140 issues reported by customers in Quality Portal.

樹莓派(Raspberry)建置Lazarus(Linux版Delphi)環境

cmd模式 arp-a
B8-27-EB是Raspberry Pi的MAC起始位址
透過putty連入(預設帳密 pi/raspberry)
sudo apt-get update 更新
sudo apt-get -y install xrdp 安裝遠端桌面
sudo apt-get update 取得遠端更新伺服器的套件檔案清單
sudo apt-get -y install fpc 安裝FreePascalComplier
sudo apt-get -y install lazarus 安裝Linux上的免費Delphi開發工具 Lazarus

餐飲POS系統的候位出單

在石二鍋看到IISTUDIO的取單叫號系統,覺得還蠻不錯的,打算這次連假也使用Delphi 10.2 Tokyo來刻一個試試。

技術上主要是搭配WebAPI以及Delphi 10.2的FMX來達成:

1 設定店別、人數與桌型,號碼起訖對應(WEB介面)

2 Delphi 撰寫iOS/Android/Win版的畫面,透過WEBAPI取得上述資料

3 候位確認時,呼叫印單程式印單

4 WEBAPI回寫,方便使用者連線確認