{"id":18319713,"url":"https://github.com/saintzet/fiscaldevicestatusdecoder","last_synced_at":"2026-04-27T20:32:19.188Z","repository":{"id":52274174,"uuid":"519260763","full_name":"SaintZet/FiscalDeviceStatusDecoder","owner":"SaintZet","description":"Program for decode HEX response from fiscal device to Binary and transformation into a comfortable look using the documentation of this device.","archived":false,"fork":false,"pushed_at":"2023-04-14T22:23:24.000Z","size":169,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-04-16T17:20:19.401Z","etag":null,"topics":["binary","daisy","datecs","ddd","domain-driven-design","eltrade","fd","fiscal","fiscal-printer","fiscaldevices","hex","incotex","mvvm","mvvm-architecture","port","tremol","unit-testing","wpf","xaml"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SaintZet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-29T15:19:56.000Z","updated_at":"2023-03-19T16:21:18.000Z","dependencies_parsed_at":"2023-01-31T06:46:05.085Z","dependency_job_id":null,"html_url":"https://github.com/SaintZet/FiscalDeviceStatusDecoder","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaintZet%2FFiscalDeviceStatusDecoder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaintZet%2FFiscalDeviceStatusDecoder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaintZet%2FFiscalDeviceStatusDecoder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaintZet%2FFiscalDeviceStatusDecoder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SaintZet","download_url":"https://codeload.github.com/SaintZet/FiscalDeviceStatusDecoder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223221163,"owners_count":17108514,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["binary","daisy","datecs","ddd","domain-driven-design","eltrade","fd","fiscal","fiscal-printer","fiscaldevices","hex","incotex","mvvm","mvvm-architecture","port","tremol","unit-testing","wpf","xaml"],"created_at":"2024-11-05T18:14:03.571Z","updated_at":"2026-04-27T20:32:19.183Z","avatar_url":"https://github.com/SaintZet.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- ABOUT THE PROJECT --\u003e\n## About The Project\n\u003ca name=\"readme-top\"\u003e\u003c/a\u003e\n\u003cimg src=\"Screenshot.png\" width=\"400\" /\u003e\n\nThis application will help you decode the response from the fiscal device.\n\nHow:\n* It accepts numbers in HEX format as input.\u003cbr /\u003e \nRemoves all invalid characters. Removes numbers less than **127**.\u003cbr /\u003e\nFor example: *04H 80H 80H C0H 80H 80H B8H 05H* \u003e *80 80 C0 80 80 B8*.\n* Converts to bytes *80 80 C0 80 80 B8 FF FF* \u003e *10000000 10000000 11000000 10000000 10000000 10111000*.\n* Parse on existing \u003ca href=\"#add-documentation\"\u003edocumentation\u003c/a\u003e.\n\nOf course, you will have to make changes to the program if you are interested in other groups of \u003ca href=\"#add-target-devices-to-application-process\"\u003efiscal devices\u003c/a\u003e or other \u003ca href=\"#add-manufacturer\"\u003emanufacturers\u003c/a\u003e.\n\n\u003c!-- GETTING STARTED --\u003e\n## Getting Started\n\n### Dependencies\n\n.NET 6.0 Runtime\n\n### Installing\n\n#### Add manufacturer\n\n\nCreate new Manufacturer in Domain/Manufacturer.\n  ```csharp\n  public sealed class *YourManufacturer* : BaseManufacturer\n  {\n      ...\n  }\n  ```\n\n#### Add documentation\n\nAdd new line in property **AllModels**. Find at Domain/Manufacturer/*YourManufacturer*.cs\n  ```csharp\n    public override Dictionary\u003c(string[], Country), Dictionary\u003c(int, int), string\u003e\u003e? AllModels =\u003e new()\n    {\n        {(new string[] { \"DP-05\", \"DP-25\", \"DP-35\", \"WP-50\", \"DP-150\" }, Country.BG), Document1! },\n        {(new string[] { \"YourModel1\", \"YourModel2\", \"YourModel3\" }, Country.YourCountry), YourDocument! },\n        ...\n    };\n  ```\n  P.S. Example for document you can find in *BaseManufacturer.cs* \u003cbr /\u003e \n  P.P.S. Usually in documantation from manufacturer FD first Bit from left have name 0.7, but we are call it 0.0\n  \n#### Add target devices to application process\n\nAdd new line in method **InitializeDevices**. Find at Application/MainViewModel.cs\n  ```csharp\n    private static List\u003cIDeviceModels\u003e InitializeDevices() =\u003e new List\u003cIDeviceModels\u003e()\n        {\n            new DeviceModels(Datecs.Instance, 6 , Country.BG , new string[] { \"DP-05\", \"DP-25\", \"DP-35\", \"WP-50\", \"DP-150\" }),\n            new DeviceModels(YourManufacturer.Instance, 6, Country.YourCountry, new string[] { \"YourModel1\" }),\n            ...\n        };\n  ```\n  \n### Portable version\n\nIf u wanna create portable version(only  .exe file) use this CMD line for build in project directory.\n  ```\ndotnet publish -p:PublishSingleFile=true -r win-x64 -c Release --self-contained false\n  ```\n  \n## Authors\n\nChepets Serhii \u003cbr /\u003e \nContacts: [LinkedIn](https://www.linkedin.com/in/serhii-chepets-412b46223/) / [GitHub](https://github.com/SaintZet) / [Telegram](https://t.me/SaintZet)\n\n## Version History\n\n* v1.0.0\n    * Removes all invalid characters in input field .\n    * Removes HEX numbers less than 127(DEC).\n    * Converts HEX to bytes.\n    * Parse on existing documentation.\n    * Error messages when trying to decode invalid values for specific fiscal machine.\n\n## License\n\nThis project is unlicensed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaintzet%2Ffiscaldevicestatusdecoder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaintzet%2Ffiscaldevicestatusdecoder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaintzet%2Ffiscaldevicestatusdecoder/lists"}