//------------------------------------------------------------------------------ // // This code was generated by a tool. // Runtime Version:4.0.30319.34209 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ namespace SystemTemperatureStatusWindow.SystemTemperatureService { using System.Runtime.Serialization; using System; [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] [System.Runtime.Serialization.DataContractAttribute(Name="Device", Namespace="http://schemas.datacontract.org/2004/07/SystemTemperatureService")] [System.SerializableAttribute()] public partial class Device : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { [System.NonSerializedAttribute()] private System.Runtime.Serialization.ExtensionDataObject extensionDataField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string IdField; [System.Runtime.Serialization.OptionalFieldAttribute()] private double TemperatureField; [System.Runtime.Serialization.OptionalFieldAttribute()] private SystemTemperatureStatusWindow.SystemTemperatureService.DeviceType TypeField; [global::System.ComponentModel.BrowsableAttribute(false)] public System.Runtime.Serialization.ExtensionDataObject ExtensionData { get { return this.extensionDataField; } set { this.extensionDataField = value; } } [System.Runtime.Serialization.DataMemberAttribute()] public string Id { get { return this.IdField; } set { if ((object.ReferenceEquals(this.IdField, value) != true)) { this.IdField = value; this.RaisePropertyChanged("Id"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public double Temperature { get { return this.TemperatureField; } set { if ((this.TemperatureField.Equals(value) != true)) { this.TemperatureField = value; this.RaisePropertyChanged("Temperature"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public SystemTemperatureStatusWindow.SystemTemperatureService.DeviceType Type { get { return this.TypeField; } set { if ((this.TypeField.Equals(value) != true)) { this.TypeField = value; this.RaisePropertyChanged("Type"); } } } public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; protected void RaisePropertyChanged(string propertyName) { System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; if ((propertyChanged != null)) { propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] [System.Runtime.Serialization.DataContractAttribute(Name="DeviceType", Namespace="http://schemas.datacontract.org/2004/07/SystemTemperatureService")] public enum DeviceType : int { [System.Runtime.Serialization.EnumMemberAttribute()] Cpu = 0, [System.Runtime.Serialization.EnumMemberAttribute()] Gpu = 1, [System.Runtime.Serialization.EnumMemberAttribute()] Hdd = 2, } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ServiceModel.ServiceContractAttribute(ConfigurationName="SystemTemperatureService.ISystemTemperatureService")] public interface ISystemTemperatureService { [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISystemTemperatureService/GetDeviceList", ReplyAction="http://tempuri.org/ISystemTemperatureService/GetDeviceListResponse")] System.Collections.Generic.List GetDeviceList(); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISystemTemperatureService/GetDeviceList", ReplyAction="http://tempuri.org/ISystemTemperatureService/GetDeviceListResponse")] System.Threading.Tasks.Task> GetDeviceListAsync(); } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public interface ISystemTemperatureServiceChannel : SystemTemperatureStatusWindow.SystemTemperatureService.ISystemTemperatureService, System.ServiceModel.IClientChannel { } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public partial class SystemTemperatureServiceClient : System.ServiceModel.ClientBase, SystemTemperatureStatusWindow.SystemTemperatureService.ISystemTemperatureService { public SystemTemperatureServiceClient() { } public SystemTemperatureServiceClient(string endpointConfigurationName) : base(endpointConfigurationName) { } public SystemTemperatureServiceClient(string endpointConfigurationName, string remoteAddress) : base(endpointConfigurationName, remoteAddress) { } public SystemTemperatureServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : base(endpointConfigurationName, remoteAddress) { } public SystemTemperatureServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : base(binding, remoteAddress) { } public System.Collections.Generic.List GetDeviceList() { return base.Channel.GetDeviceList(); } public System.Threading.Tasks.Task> GetDeviceListAsync() { return base.Channel.GetDeviceListAsync(); } } }