using System; using System.Collections.Generic; using System.Text; using DTS.Common.ICommunication; namespace DTS.DASLib.Command.SLICEDB { public abstract class DiagnosticsCommands : CommandBase { public enum Measurements { V1, BatteryVoltage, BatteryChargeCurrent, SliceBusCurrent, SliceBusVoltage } protected enum Commands { Reserved = 0x00, QueryOffset = 0x01, SetOffset = 0x02, QueryMultiplier = 0x03, SetMultiplier = 0x04, }; protected DiagnosticsCommands(DTS.Common.Interface.DASFactory.ICommunication sock) : base(sock) { command.Type = CommandPacket.CommandType.Diagnostics; } protected DiagnosticsCommands(DTS.Common.Interface.DASFactory.ICommunication sock, int TimeoutMillisec) : base(sock, TimeoutMillisec) { command.Type = CommandPacket.CommandType.Diagnostics; } } /* public class QueryOffset : DiagnosticsCommands { } public class SetOffset : DiagnosticsCommands { } public class QueryMultiplier : DiagnosticsCommands { } public class SetMultiplier : DiagnosticsCommands { } */ }