public static MidInterpreter UsePLCUserDataMessages(this MidInterpreter midInterpreter, IEnumerable <Type> mids) { if (!IsValid(mids, typeof(PLCUserData.IPLCUserData))) { throw new ArgumentException($"Types should inherit Mid class and must implement IPLCUserData interface"); } midInterpreter.UseTemplate <PLCUserData.PLCUserDataMessages>(mids); return(midInterpreter); }
public static MidInterpreter UseMultiSpindleMessages(this MidInterpreter midInterpreter, IEnumerable <Type> mids) { if (!IsValid(mids, typeof(MultiSpindle.IMultiSpindle))) { throw new ArgumentException($"Types should inherit Mid class and implement IMultiSpindle interface"); } midInterpreter.UseTemplate <MultiSpindle.MultiSpindleMessages>(mids); return(midInterpreter); }
public static MidInterpreter UseAutomaticManualModeMessages(this MidInterpreter midInterpreter, IEnumerable <Type> mids) { if (!IsValid(mids, typeof(AutomaticManualMode.IAutomaticManualMode))) { throw new ArgumentException($"Types should inherit Mid class and must implement IAutomaticManualMode interface"); } midInterpreter.UseTemplate <AutomaticManualMode.AutomaticManualModeMessages>(mids); return(midInterpreter); }
public static MidInterpreter UseVinMessages(this MidInterpreter midInterpreter, IEnumerable <Type> mids) { if (!IsValid(mids, typeof(Vin.IVin))) { throw new ArgumentException($"Types should inherit Mid class and must implement IVin interface"); } midInterpreter.UseTemplate <Vin.VinMessages>(mids); return(midInterpreter); }
public static MidInterpreter UseApplicationToolLocationSystemMessages(this MidInterpreter midInterpreter, IEnumerable <Type> mids) { if (!IsValid(mids, typeof(ApplicationToolLocationSystem.IApplicationToolLocationSystem))) { throw new ArgumentException($"Types should inherit Mid class and must implement IApplicationToolLocationSystem interface"); } midInterpreter.UseTemplate <ApplicationToolLocationSystem.ApplicationToolLocationSystemMessages>(mids); return(midInterpreter); }
public static MidInterpreter UseAdvancedJobMessages(this MidInterpreter midInterpreter, IEnumerable <Type> mids) { if (!IsValid(mids, typeof(Job.Advanced.IAdvancedJob))) { throw new ArgumentException($"Types should inherit Mid class and must implement IAdvancedJob interface"); } midInterpreter.UseTemplate <Job.Advanced.AdvancedJobMessages>(mids); return(midInterpreter); }
public static MidInterpreter UseOpenProtocolCommandsDisabledMessages(this MidInterpreter midInterpreter, IEnumerable <Type> mids) { if (!IsValid(mids, typeof(OpenProtocolCommandsDisabled.IOpenProtocolCommandsDisabled))) { throw new ArgumentException($"Types should inherit Mid class and must implement IOpenProtocolCommandsDisabled interface"); } midInterpreter.UseTemplate <OpenProtocolCommandsDisabled.OpenProtocolCommandsDisabledMessages>(mids); return(midInterpreter); }
public static MidInterpreter UseAlarmMessages(this MidInterpreter midInterpreter, IEnumerable <Type> mids) { if (mids.Any()) { if (!IsValid(mids, typeof(Alarm.IAlarm))) { throw new ArgumentException($"Types should inherit Mid class and must implement IAlarm interface"); } midInterpreter.UseTemplate <Alarm.AlarmMessages>(mids); } return(midInterpreter); }
public static MidInterpreter UseApplicationSelectorMessages(this MidInterpreter midInterpreter, InterpreterMode mode = InterpreterMode.Both) { midInterpreter.UseTemplate <ApplicationSelector.ApplicationSelectorMessages>(mode); return(midInterpreter); }
public static MidInterpreter UseAutomaticManualModeMessages(this MidInterpreter midInterpreter, InterpreterMode mode = InterpreterMode.Both) { midInterpreter.UseTemplate <AutomaticManualMode.AutomaticManualModeMessages>(mode); return(midInterpreter); }
public static MidInterpreter UseAlarmMessages(this MidInterpreter midInterpreter, InterpreterMode mode = InterpreterMode.Both) { midInterpreter.UseTemplate <Alarm.AlarmMessages>(mode); return(midInterpreter); }
public static MidInterpreter UseTighteningMessages(this MidInterpreter midInterpreter, InterpreterMode mode = InterpreterMode.Both) { midInterpreter.UseTemplate <Tightening.TighteningMessages>(mode); return(midInterpreter); }
public static MidInterpreter UseUserInterfaceMessages(this MidInterpreter midInterpreter, InterpreterMode mode = InterpreterMode.Both) { midInterpreter.UseTemplate <UserInterface.UserInterfaceMessages>(mode); return(midInterpreter); }
public static MidInterpreter UseResultMessages(this MidInterpreter midInterpreter, InterpreterMode mode = InterpreterMode.Both) { midInterpreter.UseTemplate <Result.ResultMessages>(mode); return(midInterpreter); }
public static MidInterpreter UseStatisticMessages(this MidInterpreter midInterpreter, InterpreterMode mode = InterpreterMode.Both) { midInterpreter.UseTemplate <Statistic.StatisticMessages>(mode); return(midInterpreter); }
public static MidInterpreter UseCommunicationMessages(this MidInterpreter midInterpreter, InterpreterMode mode = InterpreterMode.Both) { midInterpreter.UseTemplate <Communication.CommunicationMessages>(mode); return(midInterpreter); }
public static MidInterpreter UsePowerMACSMessages(this MidInterpreter midInterpreter, InterpreterMode mode = InterpreterMode.Both) { midInterpreter.UseTemplate <PowerMACS.PowerMACSMessages>(mode); return(midInterpreter); }
public static MidInterpreter UseParameterSetMessages(this MidInterpreter midInterpreter, InterpreterMode mode = InterpreterMode.Both) { midInterpreter.UseTemplate <ParameterSet.ParameterSetMessages>(mode); return(midInterpreter); }
public static MidInterpreter UsePLCUserDataMessages(this MidInterpreter midInterpreter, InterpreterMode mode = InterpreterMode.Both) { midInterpreter.UseTemplate <PLCUserData.PLCUserDataMessages>(mode); return(midInterpreter); }
public static MidInterpreter UseApplicationToolLocationSystemMessages(this MidInterpreter midInterpreter, InterpreterMode mode = InterpreterMode.Both) { midInterpreter.UseTemplate <ApplicationToolLocationSystem.ApplicationToolLocationSystemMessages>(mode); return(midInterpreter); }
public static MidInterpreter UseOpenProtocolCommandsDisabledMessages(this MidInterpreter midInterpreter, InterpreterMode mode = InterpreterMode.Both) { midInterpreter.UseTemplate <OpenProtocolCommandsDisabled.OpenProtocolCommandsDisabledMessages>(mode); return(midInterpreter); }
public static MidInterpreter UseAdvancedJobMessages(this MidInterpreter midInterpreter, InterpreterMode mode = InterpreterMode.Both) { midInterpreter.UseTemplate <Job.Advanced.AdvancedJobMessages>(mode); return(midInterpreter); }
public static MidInterpreter UseMultiSpindleMessages(this MidInterpreter midInterpreter, InterpreterMode mode = InterpreterMode.Both) { midInterpreter.UseTemplate <MultiSpindle.MultiSpindleMessages>(mode); return(midInterpreter); }
public static MidInterpreter UseMultipleIdentifiersMessages(this MidInterpreter midInterpreter, InterpreterMode mode = InterpreterMode.Both) { midInterpreter.UseTemplate <MultipleIdentifiers.MultipleIdentifierMessages>(mode); return(midInterpreter); }