namespace RobotNet.Script.Expressions; /// /// Quản lý các thuộc tính của một phần tử trong bản đồ. /// public record ElementProperties { /// /// Gets or sets a value indicating whether the resource is currently open. /// public bool IsOpen { get; set; } /// /// Gets a dictionary that maps string keys to boolean values. /// public IDictionary Bool { get; } /// /// Gets a dictionary that maps string keys to double values. /// public IDictionary Double { get; } /// /// Gets a dictionary that maps string keys to integer values. /// public IDictionary Int { get; } /// /// Gets a dictionary that maps string keys to string values. /// public IDictionary String { get; } /// /// /// /// /// /// /// /// public ElementProperties(bool isOpen, IDictionary dbool, IDictionary ddouble, IDictionary dint, IDictionary dstring) { IsOpen = isOpen; Bool = dbool; Double = ddouble; Int = dint; String = dstring; } }