6.12. Generic Factory Service

RobotNET Generic Factory Service — служба предназначенная для интеграции пользовательских программных модулей в виде сервиса для обслуживания запросов. На данный момент доступно написание кода на C# (.NET Framework 3.5 и 4.5).

RobotNET Generic Factory Service (v.0.9.30834)

Usage:
factory.exe	[/start|stop|restart]|[/service:COMMAND]

Arguments:
/start			Starts the console application
/stop			Stops the console application
/restart		Restarts the console application
/service:[COMMAND]	Service command to execute
/auto:[COMMAND]		Auto Service/Console select

Service commands description:
query		Retrieves and displays the current
		service configuration
describe	Updates the service description
install		Installs a service in the SCM database
uninstall	Deletes a service from the SCM database
auto		Changes service start type to AUTO
manual		Changes service start type to MANUAL
disable		Disables the service
enable		Enables the service
recovery	Enables a recovery mode
start		Starts the service if possible
stop		Stops the service
restart		Restarts the service
dacl		Updates the service DACL to grant start, stop,
		delete, and read control access to the Guest account

Пример вывода телеметрии RobotNET Generic Factory Service:

Exploring [5205354420]...OK (1121.650 ms)!
Reply from [5205354420]: 64192 bytes, 114.664 ms.

State...                    OK                   Mon Dec 12 12:56:24 2022 +0300
Monitor...            BIDIRECT                           Uptime      0.00:21:50
Bind...                     OK

gFACTORY Calls       0.00 p Sx:   0.00 p/s (   0.00 p/s) [                  0%]

GATEWAY  Used        0.00 c (   0.00 c)/ 256.00 c
         Created     0.00 c Sx:   0.00 c/s (   0.00 c/s) [                  0%]
         Deleted     0.00 c Sx:   0.00 c/s (   0.00 c/s) [                  0%]
         Refused     0.00 c Sx:   0.00 c/s (   0.00 c/s) [                  0%]
         ~S          0.00 B Sx:   0.00 B/s (   0.00 B/s) [                  0%]
         ~R          0.00 B Sx:   0.00 B/s (   0.00 B/s) [                  0%]
         ~T          0.00 B Sx:   0.00 B/s (   0.00 B/s) [                  0%]
 
Network statistics for [5205354420]:
	Requests: Sent = 1, Received = 1, Lost = 0 (0.00% loss)
	Bytes: Sent =   28.02KB, Received =   63.59KB
	Speed: Send =  244.33KB/s, Receive =  554.62KB/s
Approximate round trip times in milli-seconds:
	Min = 114.664 ms, Max = 114.664 ms, Average = 114.664 ms