⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 unitext.h

📁 SECS I, SECS II协议通讯源码
💻 H
字号:
/*
 * Text for units
 * Each item is a pointer to a list of language strings
 * Each language has six strings, the first three are english units, the
 * second three are metric units.
 * Each group of three strings is formatted as follows:
 *   short version (status display)
 *   long version (preset modify display)
 *   SEMI version for reporting to host
 */

TEXT unfloat = { "Floating\0Floating\0Floating\0Floating\0Floating\0Floating\0",
                 "Floating\0Floating\0Floating\0Floating\0Floating\0Floating\0",
                 "Floating\0Floating\0Floating\0Floating\0Floating\0Floating\0",
                 "Floating\0Floating\0Floating\0Floating\0Floating\0Floating\0" } ;
TEXT unbool = { "Boolean\0Boolean\0Boolean\0Boolean\0Boolean\0Boolean\0",
                 "Boolean\0Boolean\0Boolean\0Boolean\0Boolean\0Boolean\0",
                 "Boolean\0Boolean\0Boolean\0Boolean\0Boolean\0Boolean\0",
                 "Boolean\0Boolean\0Boolean\0Boolean\0Boolean\0Boolean\0" } ;
TEXT unint = { "Integer\0Integer\0Integer\0Integer\0Integer\0Integer\0",
                 "Integer\0Integer\0Integer\0Integer\0Integer\0Integer\0",
                 "Integer\0Integer\0Integer\0Integer\0Integer\0Integer\0",
                 "Integer\0Integer\0Integer\0Integer\0Integer\0Integer\0" } ;
TEXT unbinary = { "Binary\0Binary\0Binary\0Binary\0Binary\0Binary\0",
                 "Binary\0Binary\0Binary\0Binary\0Binary\0Binary\0",
                 "Binary\0Binary\0Binary\0Binary\0Binary\0Binary\0",
                 "Binary\0Binary\0Binary\0Binary\0Binary\0Binary\0" } ;
TEXT unascii = { "Ascii\0Ascii\0Ascii\0Ascii\0Ascii\0Ascii\0",
                 "Ascii\0Ascii\0Ascii\0Ascii\0Ascii\0Ascii\0",
                 "Ascii\0Ascii\0Ascii\0Ascii\0Ascii\0Ascii\0",
                 "Ascii\0Ascii\0Ascii\0Ascii\0Ascii\0Ascii\0" } ;
TEXT unmode = { "Mode\0Mode\0Mode\0Mode\0Mode\0Mode\0",
                 "Mode\0Mode\0Mode\0Mode\0Mode\0Mode\0",
                 "Mode\0Mode\0Mode\0Mode\0Mode\0Mode\0",
                 "Mode\0Mode\0Mode\0Mode\0Mode\0Mode\0" } ;

TEXT unnone = { "\0none\0\0\0none\0","\0keine\0\0\0keine\0",
  "\0ninguno\0\0\0ninguno\0","\0type non sp\262cifi\262\0\0\0type non sp\262cifi\262\0" } ;

TEXT unhrmn = { "HH:MM\0hours:minutes\0min\0HH:MM\0hours:minutes\0min",
  "St:Min\0Stunden:Minuten\0min\0St:Min\0Stunden:Minuten\0min",
  "HH:MM\0horas:minutos\0min\0HH:MM\0horas:minutos\0min",
  "HH:MM\0heures:minutes\0min\0HH:MM\0heures:minutes\0min" };

TEXT unmnsec = { "MM:SS\0minutes:seconds\0min:s\0MM:SS\0minutes:seconds\0s",
  "Min:Sk\0Minuten:Sekunden\0s\0Min:Sk\0Minuten:Sekunden\0s",
  "MM:SS\0minutos:segundos\0s\0MM:SS\0minutos:segundos\0s",
  "MM:SS\0minutes:secondes\0s\0MM:SS\0minutes:secondes\0s" };

TEXT untemp = { "\305F\0degrees Fahrenheit\0degF\0\305C\0degrees Celcius\0degC",
  "\305F\0Grad Fahrenheit\0degF\0\305C\0Grad Celsius\0degC",
  "\305F\0grados Fahrenheit\0degF\0\305C\0grados Centigrados\0degC",
  "\305F\0degr\262s Fahrenheit\0degF\0\305C\0degr\262s Celcius\0degC" };

TEXT undeltatemp = { "\305F\0Fahrenheit degrees\0degF\0\305C\0Celcius degrees\0degC",
  "\305F\0Fahrenheit Grade\0degF\0\305C\0Celsius Grade\0degC",
  "\305F\0grados Fahrenheit\0degF\0\305C\0grados Centigrados\0degC",
  "\305F\0Fahrenheit degr\262s\0degF\0\305C\0Celcius degr\262s\0degC" };

TEXT unft = { "feet\0feet\0ft\0meters\0meters\0m",
  "Fuss\0Fuss\0ft\0Meter\0Meter\0m",
  "pies\0pies\0ft\0metros\0metros\0m",
  "pieds\0pieds\0ft\0m\261tres\0m\261tres\0m" } ;

TEXT unftpermin = { "ft/min\0ft/min\0ft/min\0m/min\0m/min\0m/min",
  "Fu/Min\0Fuss/min\0ft/min\0m/Min\0m/Min\0m/min",
  "ps/min\0pies/minuto\0ft/min\0mt/min\0metros/minuto\0m/min",
  "pd/min\0pieds/min\0ft/min\0m/min\0m/min\0m/min" };

TEXT unvol = { "gal.\0gallons\0Gal\0liters\0liters\0l",
  "Gall.\0Gallonen\0Gal\0Liter\0Liter\0l",
  "gal.\0galones\0Gal\0litros\0litros\0l",
  "gal.\0gallons\0Gal\0litres\0litres\0l" };

TEXT unflow = { "gpm\0gal/min\0Gal/min\0l/min\0l/min\0l/min",
  "Ga/Min\0Gal/min\0Gal/min\0l/min\0Lit/min\0l/min",
  "gl/min\0galones/minuto\0Gal/min\0lt/min\0litros/minuto\0l/min",
  "gpm\0gal/min\0Gal/min\0l/min\0l/min\0l/min" } ;

TEXT unmass = { "lbm\0lbm\0lb\0kg\0kg\0kg",
  "E Pf M\0Engl. Pfund Masse\0lb\0kg\0kg\0kg",
  "lbmasa\0libras masa\0lb\0kg\0kilogramos\0kg",
  "livres\0livres\0lb\0kg\0kg\0kg" };

TEXT unpressure = { "psi\0psi\0lb/in^2\0dBar\0dBar\0dbar",
  "E Pf Z\0Pfd. pro Quadratzoll\0lb/in^2\0dBar\0Decibar\0dbar",
  "psi\0lb/pulg/cuadrada\0lb/in^2\0dBares\0decibares\0dbar",
  "psi\0livres/poucecarr\262\0lb/in^2\0dcBar\0dcBar\0dbar" } ;

TEXT uncurrent = { "amp\0amp\0A\0amp\0amp\0A",
  "amp\0Amper\0A\0amp\0Amper\0A",
  "amp\0amperios\0A\0amp\0amperios\0A",
  "amp\0amp\0A\0amp\0amp\0A" };

TEXT unms = { "ms\0ms\0ms\0ms\0ms\0ms",
  "ms\0ms\0ms\0ms\0ms\0ms",
  "milseg\0milisegundos\0ms\0milseg\0milisegundos\0ms",
  "ms\0ms\0ms\0ms\0ms\0ms" };

TEXT unhours = { "hours\0hours\0h\0hours\0hours\0h",
  "Stunde\0Stunden\0h\0Stunde\0Stunden\0h",
  "hours\0horas\0h\0hours\0horas\0h",
  "heures\0heures\0h\0heures\0heures\0h" };

TEXT unpercent = { "%\0percent\0%\0%\0percent\0%",
  "%\0Prozent\0%\0%\0Prozent\0%",
  "%\0porcentaje\0%\0%\0porcentaje\0%",
  "%\0pourcent\0%\0%\0pourcent\0%" };

TEXT uninches = { "inches\0inches\0in\0cm\0centimeters\0cm",
  "Zoll\0Zoll\0in\0cm\0cm\0cm",
  "pulg.\0pulgadas\0in\0cm\0cent\264metros\0cm",
  "pc.\0pouces\0in\0cm\0centim\261tres\0cm" } ;

TEXT uninchpersecond = { "in/s\0in/s\0in/s\0cm/s\0cm/s",
  "Zo/Sk\0Zoll/Sek\0in/s\0cm/Sek\0cm/s",
  "pl/seg\0pulgadas/segundo\0in/s\0cent\264metros/segundo\0cm/s",
  "pc/s\0pouces/s\0in/s\0cm/s\0cm/s" };

TEXT unlbhr = { "lb/hour\0lb/hour\0lb/h\0kg/hour\0kg/hour\0kg/h",
  "2\02\0lb/h\02\02\0kg/h",
  "3\03\0lb/h\03\03\0kg/h",
  "4\04\0kg/h\04\04\0kg/h" };

TEXT unres = { "MOhms\0MOhms\0MOhm\0MOhms\0MOhms\0MOhm",
  "2\02\0MOhm\02\02\0MOhm",
  "3\03\0MOhm\03\03\0MOhm",
  "4\04\0MOhm\04\04\0MOhm" };

TEXT unsec = { "Sec\0Seconds\0s\0Sec\0Seconds\0Sec\0",
  "Sec\0Seconds\0s\0Sec\0Seconds\0Sec\0",
  "Sec\0Seconds\0s\0Sec\0Seconds\0Sec\0",
  "Sec\0Seconds\0s\0Sec\0Seconds\0Sec\0" } ;

PTEXT *unitext[] = { unfloat, unbool, unint, unbinary, unascii, unmode,
  0, 0, 0, 0,
  unnone, unhrmn, unmnsec, untemp, undeltatemp, unft, unftpermin,
  unvol, unflow, unmass, unpressure, uncurrent, unms, unhours, unpercent,
  uninches, uninchpersecond, unnone, unlbhr, unres, unsec};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -