syntax = "proto3"; import "stationLayoutGraphics.proto"; package ibpGraphicData; message IBPGraphicStorage { graphicData.Canvas canvas = 1; repeated IBPButton ibpButtons = 2; repeated IbpAlarm ibpAlarms = 3; repeated IbpKey ibpKeys = 4; repeated IbpArrow ibpArrows = 5; repeated IBPText IBPTexts = 6; } message IBPButton { enum IbpButtonColor { gray = 0; red = 1; green = 2; blue = 3; yellow = 4; } graphicData.CommonInfo common = 1; string code = 2; IbpButtonColor color = 3; bool isSelfReset = 4; } message IBPText { graphicData.CommonInfo common = 1; string code = 2; string content = 3; string color = 4; int32 fontSize = 5; } message IbpAlarm { graphicData.CommonInfo common = 1; string code = 2; } message IbpKey { graphicData.CommonInfo common = 1; string code = 2; } message Point { // x坐标 float x = 1; // y坐标 float y = 2; } message IbpArrow { graphicData.CommonInfo common = 1; string code = 2; repeated Point points = 3; }