srfedgdfgh

This commit is contained in:
Hukuta committed 2026-03-31 14:11:07 +09:00
1 parent 2883956264
commit 4a0ac97c24
9 files changed
+225 -5

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
namespace CartriX.Share;
public class Cartridge
{
public int Id { get; set; }
public string Model { get; set; } = string.Empty;
public decimal Price { get; set; }
public int ManufacturerDeclaredYield { get; set; }
}
@@ -0,0 +1,20 @@
syntax = "proto3";
option csharp_namespace = "CartriX.Share.Grpc";
service PrinterMonitor {
rpc SendStats (PrinterStatsRequest) returns (PrinterStatsResponse);
}
message PrinterStatsRequest {
int32 printerId = 1;
string printerName = 2;
int32 pageCount = 3;
int32 tonerPercent = 4;
string source = 5;
}
message PrinterStatsResponse {
bool success = 1;
string message = 2;
}